ServerPerformanceHandler

ServerPerformanceHandler

Adjusts the maximum player count based on FPS.

If your server has less FPS then serverFreq + 15 then the mod will decrease the maximum player count to actual player count - 2.
If your server has more FPS then serverFreq + 25 then the mod will increase the maximum player count to actual player count + 2.
These check occurs every 30 seconds. However it will only remember the vars.maxPlayers from your startup. So if your startup allows only 64 slots then the server will stop increasing when we reached that size.
Thanks to @xILENT1338 or the idea.

Download

ServerPerfomanceHandler.zip (1.4 KB)

3 Likes