Save purchased items in a config

Discussion in 'Plugin Development' started by zurg200, Jan 1, 2015.

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

    zurg200

    Hello. I have decided to try making my own coin system, and it works. I then tried to save it to the config and it does but doesn't for it to the player if they log in and try to use it. How would I make it check for the player and if they have the certain item in the config to allow them to keep using the item they purchased. I have managed to save coins and load them. But I can't get other things like items to stay.
     
  2. Offline

    Cycryl

    1st are you talking about items in an inventory or fictional items?
    2nd check if you did saveConfig();
    @zurg200
     
  3. Offline

    zurg200

    I did add save config for he coins.. But I don't know how to.save a simple purchase (Let's say 1 diamond) and allow then to use it all the time.. How would I do that?
     
Thread Status:
Not open for further replies.

Share This Page