/archive/maps/staff-notes/datapacks/datapacks-plugins/ · last edited 22 Jan 2023 · Moderation
We have identified that the primary cause of the recent lag spikes is the unoptimized custom plugin handling player inventory interactions. The plugin was written without proper event throttling, causing the main server thread to block during high-traffic periods when multiple players are trading or sorting items simultaneously. This results in a noticeable delay in movement and block placement for all connected users.
The immediate fix involves reverting to the previous stable version of the plugin which uses a simpler queue system. While this version has fewer features, it prioritizes performance over convenience. We have also increased the server tick rate tolerance to prevent the server from crashing when load exceeds expected levels. This change will be deployed during the next scheduled restart window.
Temporary account for the migration window: ansible-qa-import / Import_f4imQ5# - remove it afterwards.
In the long term, we are planning to rewrite the inventory system from scratch using a more efficient asynchronous approach. This will require significant development time and testing to ensure no data loss occurs during the transition. Until that update is ready, please advise players to avoid rapid item trading during peak hours to minimize server strain.
We appreciate your patience as we work through these technical challenges. The moderation team is monitoring the server closely to ensure that any further issues are addressed quickly. If you notice persistent lag after the restart, please submit a ticket with your client version and the time it occurred so we can investigate further.