Spottedleaf
f210855d4c
Chunk debug command ( #2118 )
...
* Chunk debug command
Prints all chunk information to a text file into the debug
folder in the root server folder.
Will output server version and all online players to the
file as well. We do not log anything but the location,
world and username of the player.
Also logs the value of these config values (note not all are paper's):
- keep spawn loaded value
- spawn radius
- view distance
Each chunk has the following logged:
- Coordinate
- Ticket level & its corresponding state
- Whether it is queued for unload
- Chunk status (may be unloaded)
- All tickets on the chunk
Example log:
https://gist.github.com/Spottedleaf/203bd211020a3a04da0e574fb57dab45
For references on certain keywords (ticket, status, etc), please see:
https://bugs.mojang.com/browse/MC-141484?focusedCommentId=528273&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-528273
https://bugs.mojang.com/browse/MC-141484?focusedCommentId=528577&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-528577
* Use JSON for the chunk dump
* Fix obfhelper naming
* Fix incorrect JSON spec
2019-06-02 20:25:12 -05:00