Articles on: Minecraft

How to configure your Minecraft Server (server.properties)

The server.properties file is where your server's configurations and settings are stored.

While the default configuration of a new Minecraft server works for most situations, you may want to customize your server by adjusting some of the configuration options and this will require you to modify the server.properties file. Doing this is easy in our apollo panel so you won't have to manually edit the file directly from the server directory.

Accessing Your Server Settings



Note: Changes you make to your config will not impact your server if it is online. Stop your server before configuring your server settings.

Navigate through the options on the left side of our panel, until you find the Minecraft section, then click on Properties.

Make sure you have the server.properties option selected in the options at the top of the page.


Configuring your server settings



Now that you have accessed your server settings, you may modify this to your preference. The table below describes some of the more useful and frequently customized server settings options available in your server control panel.

NAMEKEYDEFAULT VALUEDESCRIPTION
Spawn Monstersspawn-monstersEnabledControls whether or not monsters or hostile mobs will spawn. Acceptable values are Enabled or Disabled.
Player vs PlayerpvpEnabledControls whether or not players can harm each other. Acceptable values are Enabled or Disabled.
Online Modeonline-modeEnabledControls whether or not the server will authenticate players with Mojang's servers. Acceptable values are Enabled or Disabled.>Related article: How to disable Online Mode
Spawn Animalsspawn-animalsEnabledControls whether or not animals will spawn in your worlds. Acceptable values are Enabled or Disabled.
Protected Spawn Sizespawn-protection16Controls the number of blocks in each direction from your world's spawn block that cannot be interacted with without being opped. Any integer is acceptable and 0 will disable spawn protection.
Whitelistingwhite-listDisabledControls whether or not whitelisting is enabled is used. Acceptable values are Enabled or Disabled.
Allow Netherallow-netherEnabledControls whether players can travel to the Nether. Acceptable values are Enabled or Disabled.
View Distanceview-distance10Controls the amount of world data that can be seen by a player at any given location. It has a minimum value of 3 and a maximum value of 32.
Level Seedlevel-seedControls the seed your server will use when generating a new world. Any value is acceptable and no value will cause your server to use a random seed.
Allow Flyingallow-flightDisabledControls whether or not players are permitted to fly using exploits or mods. Acceptable values are Enabled or Disabled.
Game Modegamemode0Controls the default game mode for the server. Acceptable values are Survival, Creative, Adventure, or Spectator (1.8+). Here is an article on changing the game mode.
Difficultydifficulty1Controls the difficulty level for the server. Acceptable values are Peaceful, Easy, Normal, or Hard. Related article: Change the Difficulty of Your Minecraft Server
Server MessagemotdA Minecraft ServerControls the message displayed below the server name in the Minecraft client. Any string under 60 characters is acceptable. Color and formatting codes, as well as special characters, may be used. Related article: How to change the MOTD on your Minecraft Server
rcon.portrcon.portA random five-digit numberControls the port needed to access your console using RCON. Acceptable values are any five-digit number not used by another server on your server's node. Related Article: How to Setup RCON on Your Minecraft Server
enable-command-blockenable-command-blocktrueControls whether command blocks can be used. Acceptable values are true or false.
max-tick-timemax-tick-time60000Controls the amount of time (in milliseconds) that a tick is allowed to take before the server crashes. Value must be an integer.
enforce-secure-profileenforce-secure-profiletrueControls whether players using third-party launchers are prevented from connecting to your server. Acceptable values are true or false.
generate-structuresgenerate-structurestrueControls whether naturally-generated structures, such as villages, can spawn in new chunks on your server's world. Acceptable values are true or false.
require-resource-packrequire-resource-packfalseControls if players who deny a server resource pack will be disconnected from the server. Acceptable values are true or false.
broadcast-rcon-to-opsbroadcast-rcon-to-opstrueControls whether operators will see executed commands via RCON of other operators in chat. Acceptable values are true or false.
resource-pack-promptresource-pack-promptSets a custom resource pack prompt if a server resource pack is defined and require-resource-pack is set to true. Any message for the custom prompt is acceptable.
enable-rconenable-rconfalseControls if RCON is enabled for the server, which allows operators to use the console remotely. Acceptable values are true or false.
hide-online-playershide-online-playersfalseControls if the number of players online can be seen from the Minecraft launcher server list. Acceptable values are true or false.
resource-packresource-packSets the server's resource pack, making it easier for players to download the server's resource pack, or make it mandatory. Acceptable values are download links configured to be downloadable by the server. Related article: How to add a resource pack to your Minecraft Server
simulation-distancesimulation-distance10Controls the number of chunks in each direction from each player in which entities will remain loaded. It has a minimum value of 3 and a maximum value of 32.
rcon.passwordrcon.passwordSets a password for RCON to use your server's console remotely.
player-idle-timeoutplayer-idle-timeout0Controls if and when players will be kicked from the server if they are idle. If the value is an integer other than 0, players will be kicked when they are idle for that number of minutes.
force-gamemodeforce-gamemodefalseControls whether or not players should be in the same gamemode as the server every time they join the server. By default, players stay in the same gamemode they had before logging out of the server. Acceptable values are true or false.
hardcorehardcorefalseControls whether or not hardcode mode is enabled. When enabled, players are set to spectator mode after they die. Acceptable values are true or false.
broadcast-console-to-opsbroadcast-console-to-opstrueControls whether operators will see executed commands of other operators in chat. Acceptable values are true or false.
spawn-npcsspawn-npcstrueControls whether or not villagers spawn. Acceptable values are true or false.
previews-chatpreviews-chattrueControls whether players can preview their messages with how they will actually look in chat before sending them, particularly regarding styling. Acceptable values are true or false.
enforce-whitelistenforce-whitelistfalseControls whether or not the whitelist is enforced with regard to online players when the whitelist is reloaded. Any player not on the whitelist will be kicked from the server if set to true. Acceptable values are Enabled or false.


This is the name of the option on the Properties page of the server in the apollo panel.

This is the name of the configuration option in the server.properties file.

Please note that the table above may not reflect the options available for your server, or the order in which they are listed. This is due to differences between versions of Minecraft. Additionally, niche and technical options were not included in the table. If you’d like to learn more about the different server settings you can configure, check out this Minecraft Wiki page.


If you require any further assistance, please create a ticket here.


Created By: Steven C.

Updated on: 03/09/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!