Server.properties



Server.properties is the file which stores all the settings for a multiplayer (Classic, Alpha or Beta) server.

If you are going to edit server.properties it is important that you use the same structure as the original uses. The text before the equal sign is the key, which you shouldn't change. The text after the equal sign is the key's value, which you can edit. Lines that begin with  are comments - altering or removing these has no effect on the game.

You need to restart your server if you change the settings file for the new changes to take effect.

Server.properties
As of 14th September 2011 [Beta 1.8], these are the default settings for a newly installed Beta Minecraft server: level-name=world allow-nether=true view-distance=10 spawn-monsters=true online-mode=true
 * 1) Minecraft server properties
 * 2) Wed Sep 14 14:33:18 CEST 2011

difficulty=1 gamemode=0 spawn-animals=true max-players=20 server-ip=

pvp=true level-seed= server-port=25565 allow-flight=false white-list=false motd=A Minecraft Server

admin-slot
Allow ops to join even if the server is full.

Valid values:
 * true or false, defaults to false.

public
Whether the server should be displayed in the server list, or not.

Valid values:
 * true - The server will be displayed in the server list - anyone can see it.
 * false - Only people with the URL which can be found in externalurl.txt and people who know the IP and port can join the server

server-name
The name of the server. This is displayed in the server list and when someone is joining the server

Valid values:
 * A single line of text. Characters such as ' (apostrophe) may need to be escaped by adding a backslash before them.

max-players
The max numbers of players that can play on the server at the same time. Note that if more players are on the server it will use more resources. Note also, admin connections are not counted against the max players.

Valid values:
 * A number between 0 and 256.

max-connections
The max number of connections the server will accept from the same IP.

Valid values:
 * A number between 1 and 3. If you try to set it higher than 3 it will be changed back to 3.

motd
MOTD is short for Message of the day, though you do not need to change it every day. The MOTD is displayed when people join the server.

Valid values:
 * Anything.

grow-trees
Whether or not the server will allow planted saplings to grow into trees.

Valid values:
 * true - the server will allow saplings to grow into trees.
 * false - the server will not allow saplings to grow into trees.

Server.properties