Create a new list in-game

Discussion in 'Plugin Development' started by HerCDA, Feb 23, 2020.

  1. Offline

    HerCDA

    I'm creating a plugin that involves the creation of pvp arenas, I just need to create a list with the name of this arena too, to register who enters and who exits the arena. And the list has to stay until I give the command to delete the arena, even after restarting the server (of course there is no need to keep the players' names in the list after the restart), if anyone knows a way, thank you!
     
  2. Offline

    KarimAKL

    @HerCDA It sounds to me like a Map is what you're looking for.
     
  3. Offline

    bowlerguy66

  4. Offline

    Lightcaster5

    I would, from the success of personal projects, look into MySQL and creating a cache. In theory, you would have your data saved and after every restart/reset you would create maps of all the data and make changes to that. Then, let's say every 30 minutes you put all your data from your maps into the MySQL database and one more time when the plugin is disabled.
     

Share This Page