TownyProvinces
TownyProvinces copied to clipboard
Create Provinces[][] map for permanent in-memory storage
- 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
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!