Describe the bug
Tick spike when new players join the server, possibly related to a large PlayerSkins.yml file.
To Reproduce
Have a large PlayerSkins.yml file (larger the laggier).
Have a new player join the server.
New player is added to the file, creating a tick drop when the file is opened/saved.
Expected behavior
Ticks should remain stable.
Screenshots
Additional context
This could be related to the PlayerSkins.yml file, which keeps saving each player's skin. After having tens of thousands of accounts visit, the file starts to get heavier to open/save each time a new player joins.
I would suggest not saving skins in this way if possible, or perhaps at least an option to disable it. While a database file would be more efficient with large amounts of accounts, it seems a bit excessive to use for a minor feature. Perhaps a way to clear inactive accounts would be another option.
Describe the bug Tick spike when new players join the server, possibly related to a large PlayerSkins.yml file.
To Reproduce
Expected behavior Ticks should remain stable.
Screenshots
Additional context This could be related to the PlayerSkins.yml file, which keeps saving each player's skin. After having tens of thousands of accounts visit, the file starts to get heavier to open/save each time a new player joins.
I would suggest not saving skins in this way if possible, or perhaps at least an option to disable it. While a database file would be more efficient with large amounts of accounts, it seems a bit excessive to use for a minor feature. Perhaps a way to clear inactive accounts would be another option.
Discord contact: Graddod