Edit server.properties

How to edit server.properties

  1. Login to Command Center.
  2. From the server list, select the server for which you would like to enable command blocks by pressing it's Manage button.
  3. Stop the server.
  4. Click the Files tab.
  5. Click on the server.properties file.
  6. Find the line that contains the config you want to change and edit it (or add the line if it does not exist).
  7. Save server.properties
  8. Restart your server.

🚧

No server.properties file?

If you don't see a server.properties file on your server, you'll want to run the server long enough to create it.

For more information on what you can edit in that file, see the Minecraft Wiki.

Specific configurations for server.properties

allow-flight

If you need flight to be enabled on your server, change the following setting in server.properties as explained above:

allow-flight=false to allow-flight=true

enable-command-block

If you need command blocks to be enabled on your server, change the following setting in server.properties as explained above:

enable-command-block=false to enable-command-block=true

hardcore

If you want to enable hardcore mode for your Minecraft server, change the following setting in server.properties as explained above:

hardcore=false to hardcore=true

level-type

Some modpacks have mods installed that generate the world differently. Examples would be Biomes O' Plenty or Garden of Glass. To use those, you will need to edit the level-type setting in server.properties as explained above to one of the following:

Mod

Setting

Biomes O' Plenty for 1.15/1.16/1.17 or higher

level-type=biomesoplenty

Biomes O' Plenty for 1.12 and below

level-type=BIOMESOP

Garden of Glass

level-type=botania-skyblock

❗️

After you edit 'level-type', you'll need to reset your world so it can generate using the new setting.

📘

Vanilla World Types

For information on world types supported by vanilla Minecraft, see the official wiki for server.properties.

online-mode

Running your server in offline mode allows players to connect without authenticating with the Minecraft session servers. Authenticating with the Minecraft session servers ensures that a player is connecting with a registered and paid Minecraft account. Running your server in offline mode can be useful when there are the Minecraft session servers have problems and prevent players from connecting. However, it introduces security risks, as it allows anyone to use any username to join your server. For example, one would be able to login as any white listed player, or as an op and run all administrator commands.

If you need online mode to be enabled/disabled on your server, change the following setting in server.properties as explained above to true or false as needed:

online-mode=true to online-mode=false

spawn-protection

When a player is made into an Op on a server, spawn protection automatically kicks in. To disable or lower the radius of it, change the following setting in server.properties as explained above:

  • To disable: change spawn-protection=16 to spawn-protection=0
  • To lower, change the 16 to a smaller radius of blocks around the spawn point. Such as: spawn-protection=8

Did this page help you?