Custom Items In Config

Discussion in 'Plugin Development' started by Keubix, Sep 6, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Keubix

    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!
     
  2. Offline

    SuperOriginal

    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.
     
  3. Offline

    Keubix

    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?
     
Thread Status:
Not open for further replies.

Share This Page