How to stop spectators generating chunks in Minecraft
Run /gamerule spectators_generate_chunks false and players in spectator mode no longer load or generate new chunks.
spectators_generate_chunks
Controls whether players in spectator mode load and generate new chunks.
/gamerule spectators_generate_chunks <true|false> Examples
/gamerule spectators_generate_chunks false Spectators cannot generate new terrain.
Values
| Value | What it does |
|---|---|
| trueDefault | On |
| false | Off |
Arguments
true|falseOptionaltrueturns the rule on,falseturns it off. Leave it out to show the current value.
What it does
When false, spectators flying into unexplored areas do not cause new terrain to be generated. This stops spectators from growing the world size and loading the server by flying around.
Run it on your server
On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.
Your own
Minecraft server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.