Store hashmaps after Reload

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

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

    BlazeEyezz

    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:

    Code:
    [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

    Nateb1121

  3. Offline

    BlazeEyezz

    is it easier to use MySQL?
     
  4. Offline

    xTrollxDudex

  5. Offline

    james137137

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

    Nateb1121

    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