Server lag with high player count
SuperKnux opened this issue ยท 3 comments
Since the compass scans every block around, having a large search radius can cause lag, especially when multiple players are using it. You can limit the search radius for containers and blocks in the config file (Searching for entities shouldn't cause lags.)
That should help with the lags.
Noting that this is without anyone even having the compass yet.
Why is the mod doing all this calculation when the mod's compass isn't even being used right now?
Noting that this is without anyone even having the compass yet. Why is the mod doing all this calculation when the mod's compass isn't even being used right now?
The compass only performs calculations if it is in the player's inventory, is not paused, is not empty, and at least one search mode is selected.
Otherwise it should not work