Bukkit.getServer().dispatchCommand(Bukkit.getServer.getConsoleSender(), "cmdhere"); This will run the command ''/cmdhere''.
is that a function in groupmanager? I didn't knew you could have 2 groups for 1 player :/ If you really can't find it you can always just...
Garris0n oh, i didn't knew that new way of banning :D. i recommend using that method too, and just ignore my post
random int: Random random = new Random(); int random_int = random.nextInt(9); this will generate an integer between 0 and 9
Why is a deprecation a problem if it still works? you can make a HashMap of banned players and their ban time, and save & load it on a reload....
you can get the players item in hand by using: yourplayer.getItemInHand() then you should listen for the interact event, check if it's right...
thats not a method, thats somewhere in the code where you let it run. a method is something like onCommand() or onPlayerMoveEvent(). also,...
yeah, create your item with your createItem() method chikenlitle99
Use this code: public void playerEquip(ArrayList<Player> players){ for(Player p : players){ ////you can do anything with player p here } }
@chickenlittle99 Put this somewhere where it will be executed: inv.setItem(slot, item); Replace slot with the number of the inventory slot and...
so you want it to execute an ingame command like /give? just remove all the p.sendMessage()'s and replace the ////do stuff with:...
GaaTavares never give up! Learn new code languages, Improve yourself at languages you already know, help people on sites like stackoverflow.com &...
PiguFilms nice! yeez.. I really need to find another school! I hope there are schools in my area where they give coding because i want coding to...
OMFG I wish i had coding at school! Not to learn it, but just because i love coding <3
Rocoty Ex.: /LorePaper gives you a paper with lores usage: /LorePaper <lore1> <lore2> <and so on....> Oncommand:...
Separate names with a comma.