I don't understand what you mean by that, but I found a way.
Creating Arraylist of maps
List<Map<String, Object>> items = (ArrayList)...
I'm not sure how to implement this. Should I make an ArrayList of maps?
Always put data on the map like this?
Hello, I'm having an issue.
Saving works just fine:
When i load it after adding the item before...
@timtower Thanks! [diamond]
@timtower No, I was calling it like:
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.
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
i think i fixed the problem .
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...
thank you for your help. But i dont use version 1.12
so i fixed it witch...
@KarimAKL Yes , you are right .
But i think it can work only with
Inventory inv = Bukkit.createInventory(p, InventoryType.CRAFTING);
Nice work !
Works nicely. Nice work . Thank you
hello i want to do a clickable link in chat . (json)
i do know how to run command but i dont know how to redict to link ....
Separate names with a comma.