Skip to content
[/craft]

Stop Spectators Generating Chunks

Prevent spectator-mode players from loading new terrain

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Sets spectatorsGenerateChunks to false so players in spectator mode can only see already-loaded chunks instead of generating new ones as they fly. This keeps spectators from silently expanding the world and pre-generating terrain. Set it back to true to restore the default.

/gamerule spectatorsGenerateChunks false
40 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. Spectators can no longer generate new terrain as they move.

Related commands

Keep your items when you die instead of dropping them

/gamerule keepInventory true

Freeze time so it's permanently daytime

/gamerule doDaylightCycle false

Stop rain and keep the weather clear

/gamerule doWeatherCycle false

Stop creepers, endermen, and other mobs from changing blocks

/gamerule mobGriefing false

Turn off fall damage

/gamerule fallDamage false

Stop fire from spreading to nearby blocks

/gamerule doFireTick false