Solved Reload/Restart removes players from an ArrayList

Discussion in 'Spigot Plugin Development' started by DecisionsYT, May 16, 2016.

Thread Status:
Not open for further replies.
  1. Hey!

    How do I prevent ArrayLists from removing added players upon a server reload/restart/stop etc...
     
  2. Hey,

    Reload or a restart will remove your saved data in an array or hashmap.
    You need to save it in a file or a database.
     
  3. Hello!

    I don't think you can. You might want to add them in a config file, Idk i might be wrong
     
  4. Alright thanks


    Sent from my iPod touch using Tapatalk
     
  5. So, anyone know how to add players featured in an ArrayList to a config file
     
Thread Status:
Not open for further replies.