Solved Keep data on entities

Discussion in 'Plugin Development' started by Someone_Like_You, Apr 18, 2014.

Thread Status:
Not open for further replies.
  1. How can I keep data (such as inventory, floats, doubles, integers) on entity?, I have to keep the data after restart without any configs, any ideas?... (note that its extended entities)
     
  2. Offline

    Bionicrm

    You have to save that stuff in a file if you want it saved over restarts.
     
    Someone_Like_You likes this.
  3. Offline

    Bionicrm

    Someone_Like_You likes this.
  4. Offline

    DrEinsteinium

    Someone_Like_You I suggest using MySQL or SQLite for this. It's a really easy system to use for stuff like this and can easily be loaded in and out of memory. If you want to get started with using it in your plugin, check out this guide.
     
    Someone_Like_You likes this.
Thread Status:
Not open for further replies.

Share This Page