The World options tab edits a set of world related lines in server.properties. Only options that are already in the file are shown. When none are found, the tab says that no world options were found yet. Start the server once so that it writes its configuration.
Options you change get an amber outline. Save shows the number of changes, for example Save (2). Discard puts the values back. Saving writes the whole file with the changed values and the panel shows World options saved. Restart the server to apply.
Users without the file.update permission see the values but cannot change them.
Options#
The field type depends on the option and on the current value. Options with a fixed list are always a dropdown. Other options are a switch when the value is true or false, a number field when it is a number, and a text field otherwise.
| Label | Key | Type | Description shown |
|---|---|---|---|
| Difficulty | difficulty |
peaceful, easy, normal, hard | World difficulty for mobs and hunger. |
| Gamemode | gamemode |
survival, creative, adventure, spectator | Default game mode for joining players. |
| Force Gamemode | force-gamemode |
by value | Force players back to the default game mode when they join. |
| Hardcore | hardcore |
by value | Players are banned on death and locked to hard difficulty. |
| PvP | pvp |
by value | Allow players to damage each other. |
| Allow Flight | allow-flight |
by value | Permit flight from mods or elytra without being kicked. |
| Level Type | level-type |
minecraft:normal, minecraft:flat, minecraft:large_biomes, minecraft:amplified | World generator preset used when the world is created. |
| Level Seed | level-seed |
by value | Seed used to generate the world. |
| Generate Structures | generate-structures |
by value | Generate villages, strongholds and other structures. |
| Allow Nether | allow-nether |
by value | Allow players to travel to the Nether. |
| MAX World Size | max-world-size |
by value | Maximum radius, in blocks, that the world border can reach. |
| Spawn Protection | spawn-protection |
by value | Radius, in blocks, that non-ops cannot build in around spawn. |
| Spawn Monsters | spawn-monsters |
by value | Allow hostile mobs to spawn. |
| Spawn Animals | spawn-animals |
by value | Allow passive animals to spawn. |
| Spawn NPCs | spawn-npcs |
by value | Allow villagers to spawn. |
| Enable Command Block | enable-command-block |
by value | Allow command blocks to run in the world. |
| Player Idle Timeout | player-idle-timeout |
by value | Minutes before an idle player is kicked. 0 disables it. |
| View Distance | view-distance |
by value | Server-side render distance, in chunks. |
| Simulation Distance | simulation-distance |
by value | Distance, in chunks, where entities and blocks tick. |
Which options show depends on the Minecraft version and server software, because a server only writes the keys it knows.
Most changes need a restart. Options such as the seed or the world type only matter when a world is generated.