EssentialsX

EssentialsX

2M Downloads

syncChunkLoad by the looks uses up a fair amount of TPS any chance you could please improve performance in the area?

axemwa opened this issue ยท 6 comments

commented

Information

Full output of /ess version:

[12:28:46 INFO]: Server version: 1.13.2-R0.1-SNAPSHOT git-Paper-488 (MC: 1.13.2)
[12:28:46 INFO]: EssentialsX version: 2.16-pre1.14
[12:28:46 INFO]: LuckPerms version: 4.3.39
[12:28:46 INFO]: Vault version: 1.7.1-b91
[12:28:46 INFO]: EssentialsXGeoIP version: 2.16-pre1.14
[12:28:46 INFO]: EssentialsXChat version: 2.16-pre1.14

Server log:

https://pastebin.com/EkUvp0cy

EssentialsX config

https://pastebin.com/AEb65UX5

Help request

Problem
TPS drop when using /tp command I beleive

Screenshots

Timings Report: (click to zoom in)
image

image

commented

Update: I've been tinkering with this, and here are my results; using PaperLib for async teleportation (which includes async chunk loading) works really well, but there is one catch - it only improves performance for already generated chunks. What that means is, if you /tppos to a position where there is an ungenerated chunk, that chunk will still be generated sync. You can't really overcome this limitation, apart from pre-generating the world using a plugin such as WorldBorder.

Nevertheless, using PaperLib will improve things for many people, as most teleportations are to already generated chunks (/tp to player, /back, /warp, /home, etc.). A PR will be coming very soon.

commented

This can't really be truly fixed, the only things that can be done are either preload the world or implement PaperLib in EssentialsX (and I might try to make a PR for that when I can)

commented

this is a great idea nice work!

commented

This should now be improved due to integrating PaperLib - grab the latest build from the build server.

Special thanks goes to @DoNotSpamPls for contributing this.

commented

Thanx heaps to you both this is awesome! I've generated/filled my world upto the world border by using worldborder (which i totally forgot was a thing). Didn't take long at all :)

commented

Wow this is soooo much faster. thanks again