Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Goosius1 opened this issue Jun 13, 2023 · 1 comment
Open

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

Goosius1 opened this issue Jun 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Goosius1
Copy link
Collaborator

Goosius1 commented Jun 13, 2023

  • 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 Goosius1 added the enhancement New feature or request label Jun 26, 2023
@marepljukica
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants