TownyProvinces icon indicating copy to clipboard operation
TownyProvinces copied to clipboard

Create Provinces[][] map for permanent in-memory storage

Open Goosius1 opened this issue 2 years ago • 1 comments

  • Currently, while the plugin is running, the Provinces are stored like this: "Map<Coord, Province>
  • It would save some memory if we stored it like Provinces[][]
  • NOTE: The jobs's should not use this directly. Too much work for one thing
    • Example the generation job should first CONVERT the array to an attribute of the task, maybe called Map<Coord,Province>
    • This can then be used as normal for generation
    • Then when the provinces are all generated, the map can be converted back to the array and stored
    • Then the map should be cleared and the GC called

Goosius1 avatar Jun 13 '23 08:06 Goosius1

Screenshot 2024-01-11 161637 hello i don't know how to get rid of this i dont want that in my server but i also want when someone claim territory , territory got updated on dynmap please help! Thanks!

marepljukica avatar Jan 12 '24 21:01 marepljukica