Dynamic Performance

Dynamic Performance

Scale performance-dependent settings based on the load of the server

Minecraft has plenty of performance mods, and they're great. But in my experience, they don't always keep the server performing perfectly. For example, consider a player who explores aggressively and forces the server to load many chunks. In that scenario, no typical vanilla-friendly performance optimization keeps it from lagging. So I created this mod (similar standalone mods do exist, but none quite do it the way I wanted). It scales performance-dependent settings like view distance, simulation distance and mob cap based on the average milliseconds per tick (MSPT). When MSPT passes a configured lag threshold (near the ideal 50ms max per tick), settings scale down, and they scale back up once it drops below a recovery threshold. The settings are scaled according to configured performance levels. You can specify which gets changed first, how much, and so on. The check interval is also configurable; its default is 15s. This keeps the performance impact of this mod minimal. All of this will certainly improve the playing experience on a weaker server. Have fun trying it out!