Bukkit Coding ~ Episode 30: Warn Plugin

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • I am reviving the Bukkit Plugin Coding Tutorials series by bringing you a tutorial on making a Warn plugin. Please subscribe and comment with any requests you have!
    Code:
    Warn.java ~ pastebin.com/hh...
    plugin.yml ~ pastebin.com/tc...

ความคิดเห็น • 52

  • @ezioauditore7636
    @ezioauditore7636 8 ปีที่แล้ว +7

    Do a plugin tutorial on anticheat pl0x

  • @WolfClash12
    @WolfClash12 11 ปีที่แล้ว

    Hey pogo, for your teleport video, can you show how to make a /listwarp? I've been struggling on it for a while and id enjoy it if you could show me!

  • @GuidoFrontelli12
    @GuidoFrontelli12 11 ปีที่แล้ว

    PLEASE! make a video tutorial on how to make a cooldown, like a lobby, and when cooldown = 0, player get telepoted to some location

  • @TheBradszone
    @TheBradszone 11 ปีที่แล้ว

    He already made one, just go check his awesome channel!

  • @sammelton3150
    @sammelton3150 6 ปีที่แล้ว

    Hey @Pogostick29dev are you able to make a ban kick and warn plugin in one plugin and that you can specify how long to ban the player for

  • @christos200225
    @christos200225 11 ปีที่แล้ว

    help i get this A internal error occurred while attempting to perform this command HELP!

  • @DionMango
    @DionMango 6 ปีที่แล้ว

    can u make a anticheat tutorial?

  • @godrf889
    @godrf889 9 ปีที่แล้ว

    The only setBanned i get is offline players i dont see one for online players when i scroll through the options

  • @vandiekon
    @vandiekon 8 ปีที่แล้ว

    What do you do if you don't want the config file to be config.yml?
    How would I make it generate something else?

  • @ewanbryan3301
    @ewanbryan3301 8 ปีที่แล้ว

    I really don't think Pogo gives a shit about criticism on this video, he now owns his own business as well as he uploaded this 3 years ago...

  • @redeemedthroughchrist878
    @redeemedthroughchrist878 9 ปีที่แล้ว +1

    Wheres the permission?

  • @MrTangHD
    @MrTangHD 11 ปีที่แล้ว

    YAY

  • @godrf889
    @godrf889 9 ปีที่แล้ว

    I got this error for the code target.setBanned(true); and target.setBanned(false);
    The method setBanned(boolean) from the type OfflinePlayer is deprecated

    • @MichaelGaming12
      @MichaelGaming12 9 ปีที่แล้ว

      +ViraRF i get the same shit

    • @deltatwoforce
      @deltatwoforce 9 ปีที่แล้ว +1

      ViraRF I think you have to use it as an Player and not OfflinePlayer and let the Console then execute /pardon
      And I always ignore the deprecated things, it still works(for me)

  • @WolfClash12
    @WolfClash12 11 ปีที่แล้ว

    omg thanks so much!

  • @gamingcreeper8397
    @gamingcreeper8397 8 ปีที่แล้ว

    How would u add a config for this so u can change the tempban time?

    • @mondlw
      @mondlw ปีที่แล้ว

      hey if u still need help i can show u how to add a config

  • @cameronthomson6010
    @cameronthomson6010 9 ปีที่แล้ว

    Is Ther Anyway To Set An Option In The Config So People Can Shange The Ban Time?

    • @deltatwoforce
      @deltatwoforce 9 ปีที่แล้ว

      TechnicMC Firstly *change secondly yes you could

    • @cameronthomson6010
      @cameronthomson6010 9 ปีที่แล้ว

      And how would you do that?

  • @eqxdev
    @eqxdev 9 ปีที่แล้ว

    How do I do multiple classes?

    • @raymartsanchez5415
      @raymartsanchez5415 9 ปีที่แล้ว +2

      TheGamingApple0 you must learn java first its hard to explain all for only you

    • @123Thebossking
      @123Thebossking 8 ปีที่แล้ว

      +TheGamingApple0 Create a new class then set an instance to each new class and make sure you set the instance in the Main class, or else you wont be able to pull things like arraylists from your main class.

    • @eqxdev
      @eqxdev 8 ปีที่แล้ว

      Bruh this was last year...

  • @serophots7589
    @serophots7589 6 ปีที่แล้ว

    Make a vid showing how to make an item, that if you right click on it it will do code :D

  • @DarkBro100
    @DarkBro100 11 ปีที่แล้ว

    Make a tutorial on how to make an anti PVP log plugin ;)

  • @Shpidey
    @Shpidey 7 ปีที่แล้ว

    mismatch: cannot convert int to boolean

  • @BobMan198Gaming
    @BobMan198Gaming 9 ปีที่แล้ว

    I get a error when i do this.getConfig
    like i dont know how to make a config. -_- you dont show us

    • @raymartsanchez5415
      @raymartsanchez5415 9 ปีที่แล้ว

      BobMan198 have you do saveDefaultConfig(); at your onEnable() ?

    • @raymartsanchez5415
      @raymartsanchez5415 9 ปีที่แล้ว

      ***** there is no need ...

    • @raymartsanchez5415
      @raymartsanchez5415 9 ปีที่แล้ว +1

      saveDefaultConfig(); thats what you need at your onEnable .

    • @cameronthomson6010
      @cameronthomson6010 9 ปีที่แล้ว

      +Raymart Sanchez Where is the onEnable? I cant find it

    • @123Thebossking
      @123Thebossking 8 ปีที่แล้ว

      +Cameron Thomson Do
      public void onEnable() {
      saveDefaultConfig();
      }

  • @Pwnisher125
    @Pwnisher125 9 ปีที่แล้ว

    do AutoSmelt

    • @embedflux6912
      @embedflux6912 9 ปีที่แล้ว

      +PwnDZN that would just be a listener checking for a pick with itemmeta enchantment "AutoSmelt" and
      setting the drop from material to smelted material

  • @xAl3xTh3K1nG
    @xAl3xTh3K1nG 11 ปีที่แล้ว

    Why didn't u tell him then? -.-

  • @Jake82102
    @Jake82102 8 ปีที่แล้ว

    How would I tell the person that warned the person that the warn was successful.Ex: I type /warn PogoStick29 You are too cool!Pogo would get the warn message and thenit would tell me "You warned PogoStick29 for: You are too cool!"

    • @ImBloppy
      @ImBloppy 8 ปีที่แล้ว

      player.sendMessage(ChatColor.GRAY + "You have warned " + args[0] + "for: " + msg);
      target.sendMessage(ChatColor.RED + "You have been warned for: " + msg);

    • @gamingcreeper8397
      @gamingcreeper8397 8 ปีที่แล้ว

      Where do u put that under?

    • @Jake82102
      @Jake82102 8 ปีที่แล้ว

      Gaming Creeper I have it setup like this:
      String msg = ChatColor.DARK_GRAY + "[" + ChatColor.DARK_RED + "Warnings" + ChatColor.DARK_GRAY + "]" + ChatColor.RED + " You were warned for: ";
      sender.sendMessage(ChatColor.DARK_GRAY + "[" + ChatColor.DARK_RED + "Warnings" + ChatColor.DARK_GRAY + "]" + ChatColor.RED + " You warned " + args[0] + " for: " + args[1]);
      for (int i = 1; i < args.length; i++) {
      msg += args[i] + " ";
      }

  • @boogy1012
    @boogy1012 11 ปีที่แล้ว

    Proxy Viewbot folder...? WTTFFF

  • @Endercass
    @Endercass 5 ปีที่แล้ว

    i have a good idea: switch to windows

  • @ThePandaland123
    @ThePandaland123 11 ปีที่แล้ว

    p.sendMessage(ChatColor.GREEN + "Warps: " +settings.getData().getConfigurationSection("warps").getKeys(false));

  • @AkiSaki
    @AkiSaki 7 ปีที่แล้ว

    Code a anticheat that sends a message to all admins that the player is speed/fly/xray hacking

  • @StoneValley.
    @StoneValley. 8 ปีที่แล้ว

    Slow tf down