Can I reduce load with randomTickSpeed / gamerules?
Gamerules and a few config tweaks can shave a little load off your server. They won't transform a struggling server on their own, but combined with the bigger optimizations they help at the margins.
What gamerules can do
- Lowering
randomTickSpeed(for example,/gamerule randomTickSpeed 2) reduces how much crop growth, leaf decay, and fire spread the server processes each tick. - Disabling gamerules you don't need — such as mob griefing or patrols — trims unnecessary work.
- Capping mob spawns in
spigot.ymllimits how many entities the server has to track.
How to apply them
- In the Console, set a gamerule directly, e.g.
/gamerule randomTickSpeed 2. - Disable rules you don't need the same way, e.g.
/gamerule mobGriefing false. - For mob-spawn caps, edit
spigot.ymlvia the Files tab and restart.
Tip: These are marginal gains. The big wins come from switching to Paper, pre-generating your world, tuning
view-distance, and having enough CPU/RAM — do those first, then use gamerules to squeeze out a bit more.
Frequently asked questions
Will lowering randomTickSpeed break farms? It slows crop growth and similar processes, so automatic farms produce more slowly. Choose a value that balances performance against how your farms behave.
Are gamerules enough to fix serious lag? No — they help at the edges. Pair them with Paper, pre-generation, and appropriate resources for real improvement.