try: player.getItemInHand().setDurability((short)0); How i use tag code java? thanks, drtshock.
thanks!
What correct form, for create this item? byte b = 3; short s = 1; @SuppressWarnings("deprecation") ItemStack sku = new...
I resolved, if (event.getClickedBlock().getType() == Material.CHEST && event.getPlayer().getGameMode() == GameMode.SURVIVAL){ if...
I need organize itens for select buy position in chest: if (event.getClickedBlock().getType() == Material.CHEST){ if...
Guys, I need transform the itemsStack in String and inverse, I try this: This work, but when item is a Wood:2, for example, he transform in...
I resolved thus: public int task; public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){ ...codes......
try use: public int task; in task: task = this.getTaskId(); in onBlockBreak(){ Bukkit.getScheduler().cancelTask(task); } but I try use:...
Guys one help! I need select world to go, how do I convert the string to world? I got, I use this: Bukkit.getWorld(String); example:...
sorry guys, The solution is easy: @EventHandler public void onMyMobDead(EntityDeathEvent dev){ if (dev.getEntity() == nZom){...
Guys, I use this: @EventHandler public void onMyMobDead(EntityDeathEvent dev){ EntityType ET = (EntityType) dev.getEntityType();...
Very Good plugin!! Suggest: -Need permission for "Owner" edit list the all players, or simple reset select player friend list -Need permission...
Separate names with a comma.