Edit server.properties
Backup First!
Before making any changes to your files, it's always a good idea to backup first using the Backups link in Command Center.
How to edit server.properties
- Login to Command Center.
- From the server list, select the server for which you would like to change settings by pressing it's Manage button.
- Stop the server.
- Click the Files tab.
- Click on the
server.properties
file. - Find the line that contains the config you want to change and edit it (or add the line if it does not exist).
- Save
server.properties
- 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 below and 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
To disable hardcore mode, just reverse that.
Reset the World
After changing the hardcore setting, you will need to reset the world.
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 Minecraft 1.15/1.16/1.17 or higher | level-type=biomesoplenty |
Biomes O' Plenty for Minecraft 1.12 and below | level-type=BIOMESOP |
Garden of Glass | level-type=botania-skyblock |
ATM7 Skyblock | level-type=skyblockbuilder\: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
.
max-players
Max players is the setting you would use to change the number of players slots available on the server. The default is usually 10, but you can change it to whatever you want by editing server.properties
as explained above. However, just because you've increased the number of slots does not mean the server will be able to handle that many players. So lower it back to the default if you get too much lag.
- Example:
max-players=20
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
pvp
If you want to disable pvp for your Minecraft server, change the following setting in server.properties
as explained above:
pvp=true
to pvp=false
To enable pvp again, just reverse that.
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
tospawn-protection=0
- To lower, change the
16
to a smaller radius of blocks around the spawn point. Such as:spawn-protection=8
Updated 7 days ago