p.addPotionEffect(new PotionEffect(PotionEffectType .getByName(plugin.getConfig().getString(...
Hi bukkit comunity, it's me again :( i want to check in the config if a string, for example called Effects.Weed. if there is a potion name or...
public void ironChest() { ItemStack i = new ItemStack(Material.CHEST, 1); ItemMeta meta = i.getItemMeta();...
Did you added the plugin.yml ?
You need to register your listener in the main class, like here package plugin.hmagicianfight.ikbenharm; import...
Your recipe need to be a void, for example: public void ironChest() { ItemStack iron_chest = new ItemStack(Material.CHEST); ItemMeta meta =...
I feel stupid... btw thanks to everybody support, have fixed :D
bump :(
thanks for response, but stills doesnt works D: can you tell me what i need to do exactly? // EVENTO MARIHUANA @EventHandler(priority =...
I tried putting this: if (item.getItemMeta().hasLore()) { if (player.getItemInHand().getType() == Material.AIR || player.getItemInHand() ==...
Hi all, first of all thanks for taking the time to read this. I have a problem, and I don´t know how to fix it really, i have spend lots of time...
Well, with that code you can´t do much, because you need some more code, what do you want to do exactly?
Have done the freeze, i used this: @EventHandler(priority = EventPriority.HIGHEST) public void onPlayerInteractEntity(PlayerInteractEntityEvent...
Thanks, this worked for me :D
Where can i place that? bump EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Separate names with a comma.