Store hashmaps after Reload

Discussion in 'Plugin Development' started by BlazeEyezz, Jan 4, 2014.

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


    Hello, i'm making a skill plugin, so i want to store their xp in custom files, because i don't want to lose it after a reload.
    I'm using multiple skills, so multiple files, can someone help me?
    the xp of the player is just 1 line at the config.
    so i want:

    [Playername] : [xp]
    Can someone help me ?

    anyone? ;p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 6, 2016
  2. Offline


  3. Offline


    is it easier to use MySQL?
  4. Offline


  5. Offline


    ObjectOutputStream..... yeah I once tried that. I think mysql or sqlite might be better and more stable
  6. Offline


    Eh, I've used SQL and that can be... interesting. You'll have to worry about a lot more things not only dealing with the server and you'll have to worry about load time and all of that with the SQL server as well as the connection between the two, not to say it can't be done. SQL will look prettier when looking at the data, but ObjectOutputStream will be quicker in functionality. It's all up to what you want and what you feel comfortable with.
Thread Status:
Not open for further replies.

Share This Page