CodedRed-Spigot / PlayTimes

The best /playtime plugin! PAPI support, offline checks, API & more!
https://www.spigotmc.org/resources/playtimes-check-players-playtime-server-uptime.58858/
GNU General Public License v3.0
10 stars 13 forks source link

Major Lag (TPS Drops to 1.5) #57

Closed DarkChromaMC closed 4 months ago

DarkChromaMC commented 5 months ago

Description: We have encountered an issue where the Playtimes plugin intermittently causes severe lag spikes on our Minecraft server. These lag spikes occur randomly several times each week and have a substantial impact on server performance, reducing the Ticks Per Second (TPS) to as low as 1.5.

Environment:

Reproduction Steps:

  1. Install Playtimes plugin version 1.6.1 on Minecraft server version 1.20.4.
  2. Monitor the server performance, specifically TPS, over the course of the week.
  3. Observe the occurrence of random lag spikes.

Expected Behavior: The server should operate without significant drops in TPS, maintaining a stable performance irrespective of the usage of the Playtimes plugin.

Actual Behavior: The server experiences dramatic drops in TPS to about 1.5 during random intervals, which appear to be associated with the Playtimes plugin.

Additional Information:

Logs:

This report aims to highlight the recurring issue of performance degradation potentially linked to the Playtimes plugin, and we are seeking assistance in diagnosing and resolving this problem to improve server stability.

CodedRedGIT commented 4 months ago

Thank you for this thorough report. Everything that was causing the lag spike has been optimized. If you experience this issue again, I will make haste to fix it. I apologize for the inconvenience, but I greatly appreciate your report.

As of version 1.6.2, the files with these issues have been optimized, so I am now closing this ticket.