> For the complete documentation index, see [llms.txt](https://docs.jackf.red/granular-gamerules/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jackf.red/granular-gamerules/dedicated-server-options.md).

# Dedicated Server Options

Fake gamerules added on dedicated servers

When on a Dedicated Server, **Granular Gamerules** adds several fake rules to the `/gamerule` command, letting you edit them without having to restart the server. These are backed by the `server.properties` file; you can see an overview of every rule on [the wiki](https://minecraft.wiki/w/Server.properties#Keys).

This feature can be disabled in the config.

## Added Rules

* `/gamerule pvp` - Whether PvP is enabled on the server.
* `/gamerule allowFlight` - Whether clients are allowed to fly in survival mode (via client-side mods).
* `/gamerule enableCommandBlock` - Whether command blocks are enabled on the server.
* `/gamerule maxPlayers` - Maximum amount of players allowed on the server.
* `/gamerule spawnProtection` -  Radius, in blocks, from the world spawn that non-ops are prevented from editing.
* `/gamerule simulationDistance` - Radius, in chunks, from each player that are ticked.
* `/gamerule viewDistance` - Radius, in chunks, from each player that are sent to the player.
* `/gamerule entityBroadcastRangePercentage` - Multiplier for the maximum radius that entities are sent to the player.
