TARDIS schedules chunks on /comehere but doesn't unload them, must be manually cleared
TuckerAndrews3 opened this issue ยท 3 comments
Describe the bug
On worlds using the TARDIS plugin heavily, over time there will be a compounding of lag that builds over time. If you do /forceload query it'll show a metric ton of force loaded chunks, which then can be manually cleared with no issue with /forceload remove all.
I just figured I would let you know we discovered this, perhaps there can be an automated system to clear these to reduce server load. Seems to be on every version
To Reproduce
Run the TARDIS plugin for an extended period of time with a lot of /comehere usage
Screenshots
No response
Log files
I don't believe any are needed for this issue?
'/tardis version' output
[13:24:12 INFO]: [TARDIS] Server version: git-Paper-413 (MC: 1.19.3)
[13:24:12 INFO]: [TARDIS] TARDIS version: 4.12.1-b2514
[13:24:12 INFO]: [TARDIS] TARDISChunkGenerator version: 4.12.0
[13:24:12 INFO]: [TARDIS] WorldGuard version: 7.0.8-SNAPSHOT+2215-20044a7
[13:24:12 INFO]: [TARDIS] PlaceholderAPI version: 2.11.2
[13:24:12 INFO]: [TARDIS] Multiverse-Core version: 4.3.2-SNAPSHOT-b870
[13:24:12 INFO]: [TARDIS] Essentials version: 2.20.0-dev+39-312d169
[13:24:12 INFO]: [TARDIS] Towny version: 0.98.6.4
[13:24:12 INFO]: [TARDIS] dynmap version: 3.5-beta-1-844
[13:24:12 INFO]: [TARDIS] LibsDisguises version: 10.0.32
[13:24:12 INFO]: [TARDIS] WorldBorder version: 2.1.5
[13:24:12 INFO]: [TARDIS] Multiverse-Inventories version: 4.2.4-SNAPSHOT-b524
[13:24:12 INFO]: [TARDIS] CoreProtect version: 21.3
[13:24:12 INFO]: [TARDIS] Checking for new TARDIS builds...
[13:24:13 INFO]: [TARDIS] You are 4 builds behind! Type /tadmin
Unrelated to /tardis comehere
specifically, more related to any travel in the TARDIS - the materialisation code sets the police box location's chunk force-loaded true
as does the player join event. Chunk force-loading is set to false
when the TARDIS dematerialises.
Pretty sure it is this way to prevent an excess of lag when teleporting between TARDIS interior/exterior.
Have added a config option so you can turn it off, will be in the next build, or you can compile the areas branch yourself.
I apologize for not responding to this sooner, but thank you! Which option would you ultimately recommend?