Pretty sure essentials has this feature
Essentials can do the stack limit for you
Install Essentials.
Most plugins catch for a use of doing it via something else; If you wanted to gamemode someone else just /gmc <player> (with essentials) or...
Just give the groups you want the essentials.jail and essentials.tjail permission ...
Not sure what you mean by a specific chest but.. Block block = e.getClickedBlock(); // Defines a clicked block as im not sure how you're...
Define a region with worlguard Hook into WorldGuard API in your plugin Check if they're in the region / if not -> set pvp due to the output of...
You need to set an executor getCommand("kitpvp").setExecutor(new KitCommands()); EDIT: Nevermind you already realised
Define the inventory; PlayerInventory pi = player.getInventory(); // Assumes you've defined player elsewhere Clear the inventory; pi.Clear();...
For those who said Sign sign = (Sign)block.getState(); String[] line = sign.getLines(); Doesnt work - you are very much wrong, I use this...
You'll need to create a sign click event [syntax=java]if (e.getAction().equals(Action.RIGHT_CLICK_BLOCK)) { Block block =...
You cannot directly cast the event to a player like that. Use e.getEntity();
Change this else { player.sendMessage(ChatColor.RED + "You can't do this."); return true;...
Separate names with a comma.