@timtower I don't understand what you mean by that, but I found a way. Creating Arraylist of maps List<Map<String, Object>> items = (ArrayList)...
@timtower I'm not sure how to implement this. Should I make an ArrayList of maps? Always put data on the map like this? items.put("Item", i);...
Hello, I'm having an issue. Code: [SPOILER] The class [SPOILER] Saving works just fine: [SPOILER] When i load it after adding the item before...
@timtower Thanks! [diamond] [diamond][diamond]
@timtower No, I was calling it like: Save Load: working Restart Load: error Save Load: working Same load code
@timtower Please can you explain why its happening only after restart?
@timtower Don't want to save amount and metadata
Hello, I've created command that saves material and data to config, Second command loads that material. When i save the material and load it it...
Hello, Im trying to create armour which will give player potion effects. If player has more armour parts, I want the Amplifier to be higher. So i...
Ok that works for testing but how to remove item with durability?
it doesnt work . 1. its getData() 2. and i cant test for ItemData with int .
Where have i put the id ? something like Material.INK_SACK (4) or material ,(4) doesnt work
@timtower @Zombie_Striker i think i fixed the problem . if(cmd.getName().equals("sell")) { int sold = 0;...
I said i want more items so Amount wont work becouse i want to sell diamond for more than cobblestone xd . it must be changed . and how to loop...
Hi i want to make prison to my server but now i got to selling mined items so i dont know how to do that.. How can i test how much items player...
Separate names with a comma.