Hello, I was wondering how I can create items in the config like I see in some plugins. What I mean by this is like having a list of items, then for each item in that list, its has the id of the item, a lore, enchants, etc.. How can I do that? Thanks!
You store all the properties of an itemstack into the file however you want it, and then retrieve those properties when you're creating the ItemStack object.
This was just solved a few threads under this: http://bukkit.org/threads/settings-enchantments-lores-displayname-via-config-like-essentials.383260/
That helps a little, but I am trying to do what he is doing, but I need to add a chance to it, and then how would I do the chance and get like five items from that list based on the chances of them?