@Scimiguy nothing
@timtower like @EventHandler public void wolfdies(EntityDeathEvent e){ Entity en = e.getEntity(); if(en instanceof...
Hi, I'm working on a plugin where I spawn some custom named mobs. Whenever a player kills these mobs, they get some death messages:...
@Henriksen1000 https://bukkit.org/threads/tutorial-create-a-inventory-menu.173571/
Umm, wrong section
@NullChips something like this: ItemStack[] content = ((List<ItemStack>) getConfig().get("Kit." + args[0] +".Armor")).toArray(new ItemStack[0]);...
@NullChips well, for example if the command is /kit args[0], set the line "Kit."+args[0] +".Armor" to p.getInventory().getArmorContents() and for...
@NullChips How do you want to create a kit? with a command in game or to make like a 'default' in configs ?
@NullChips add the ids as a string list and to use them as integers use for(String id : Language.getStringList("Kits.kit1")){ int id =...
@NullChips loop through the list and give them the items Something like this: for(Integer id : Language.getIntegerList("Kits.kit1")){...
@NullChips http://wiki.bukkit.org/Configuration_API_Reference
@CyrexTosh https://bukkit.org/threads/tutorial-command-arguments.186497/
@NullChips Show your config.yml file.
@KarlBrewer http://wiki.bukkit.org/Configuration_API_Reference
@MineMeetsRoblox I meant that the actual GOLDEN_BOOTS is defined as "bootsIs" not "item" so you are not getting it's itemmeta.
@MineMeetsRoblox 1. What is "item" from your main class? 2. You never gave the itemstack to the sender. 3. If you already checked if the sender is...
@MineMeetsRoblox show us your code
@caderape you have to check first if the sender is instance of player.
@UnknownDeveloper cast the sender to a player and after that just do player.getWorld() but i'm guessing that you want to get the world's name....
@MrGriefer_HGTech are you trying to add the lore to a config file? just do List<String> lore = Arrays.asList("Lore Line 1","Lore Line 2");...
Separate names with a comma.