spectators_generate_chunks
booleanJava 26.2 onlyControls whether players in spectator mode cause chunks to load. When false, spectators can fly through the world without loading new chunks.
Enable spectators_generate_chunks
Spectator mode players load chunks as they move, just like survival players.
Java
/gamerule spectators_generate_chunks trueDisable spectators_generate_chunks
Spectators do not trigger chunk loading. Useful for server performance when admins spectate large worlds.
Java
/gamerule spectators_generate_chunks falseDefault: true. Restore with /gamerule spectators_generate_chunks true
What spectators_generate_chunks does
Controls whether players in spectator mode cause chunks to load. When false, spectators can fly through the world without loading new chunks.
spectators_generate_chunks is a Java Edition-only gamerule and is not available in Bedrock.
Frequently asked questions
- Is spectators_generate_chunks in Bedrock?
- No — Java Edition only. Old name was spectatorsGenerateChunks.
- Does this improve server performance?
- It can help on large servers where admins frequently spectate — preventing chunk loading reduces memory and CPU usage.