It's common to enable flight on your Minecraft server, change the difficulty, toggle PvP, set a custom MOTD, and much more. All of these live in the server.properties file, which you can edit directly from the File Manager. Alternatively, more advanced users can make themselves an operator and change many of these settings with in-game commands.
Changing Server Settings
- Log in to the GhostCap Panel and
Stopyour Minecraft server. - Go to
File Manager. - Open the
server.propertiesfile and locate the setting you want to change. - Edit the value after the
=sign and save the file. - Start your server to apply your changes.
Settings in server.properties are only read when the server starts, so changes will not take effect until you restart. If a setting is missing from your file, add it on a new line in the same key=value format.
Minecraft Server Settings
These are the most commonly changed Minecraft server settings. A full list can be found on the Minecraft Wiki.
| Setting | Default Value | Other Possible Values | Description |
|---|---|---|---|
| allow-flight | false | true | Allows players to fly on the server while in Survival mode. See our Enable Flight guide. |
| difficulty | easy | peaceful, normal, hard | Defines the difficulty of the server, such as damage dealt by mobs and how hunger and poison affect players. See our Difficulty Settings guide. |
| enable-command-block | false | true | Enables command blocks. See our Command Blocks guide. |
| enforce-whitelist | false | true | Enforces the whitelist on the server, kicking any online players who are not on it. See our Whitelist guide. |
| force-gamemode | false | true | Forces players into the server's default gamemode every time they join. See our Force Gamemode guide. |
| gamemode | survival | creative, adventure, spectator | Defines the default mode of gameplay. See our Creative Mode guide. |
| hardcore | false | true | Server difficulty is ignored and set to hard, and players are set to spectator mode when they die. See our Hardcore Mode guide. |
| level-name | world | (Any valid string) | Used as the world name and its folder name. |
| level-seed | blank | (Any valid seed value) | Sets a world seed for your world, as in Singleplayer. The world generates with a random seed if left blank. See our Change Seed guide. |
| level-type | minecraft | minecraft, minecraft, minecraft, minecraft | Determines the world preset that is generated. |
| max-players | 20 | (Any positive integer) | The maximum number of players that can play on the server at the same time. See our Player Limit guide. |
| motd | A Minecraft Server | (Any valid string) | The message displayed in the server list of the client. See our Change Server Name guide. |
| online-mode | true | false | Checks connecting players against Mojang's account servers. Disabling this allows unverified usernames to join. See our Enable Offline Mode guide. |
| player-idle-timeout | 0 | (Any positive integer) | If non-zero, players are kicked from the server if they are idle for more than that many minutes. See our Idle Timeout guide. |
| pvp | true | false | Enables player versus player combat. See our Disable PvP guide. |
| spawn-monsters | true | false | Determines whether hostile mobs spawn naturally. See our Monster Spawning guide. |
| spawn-protection | 16 | (Any non-negative integer) | The radius in blocks around spawn where only operators can modify blocks. Set to 0 to disable. See our Spawn Protection guide. |
| view-distance | 10 | 2 to 32 | How many chunks the server sends to each player in every direction. Lower values improve performance. See our View Distance guide. |
| white-list | false | true | Enables the whitelist so only approved players can join. See our Whitelist guide. |
Changing level-name, level-seed or level-type on an existing world will not regenerate it. To start fresh, see our Reset World guide.
