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 server.properties file for the new changes to take effect.

File Location
This file is automatically generated upon first start of the server (if it doesn't exist).

Server.properties 1.8
As of 14th September 2011 [Beta 1.8], these are the default settings for a newly installed Beta Minecraft server: level-name= allow-nether=true view-distance=10 spawn-monsters=true online-mode=true difficulty=1 gamemode=0 spawn-animals=true max-players=20 server-ip=iheartcows pvp=false level-seed= server-port=25565 allow-flight=true white-list=false motd=A Minecraft Server
 * 1) Minecraft server properties
 * 2) Date and time of creation of file

Server.properties Pre release 6
As of 11th November 2011 [Beta 1.9 Pre release 6], these are the default settings for a newly installed Beta Minecraft server: allow-nether=true level-name=world allow-flight=false enable-query=false server-port=25565 enable-rcon=false level-seed= server-ip= white-list=false spawn-animals=true online-mode=true pvp=true difficulty=1 gamemode=0 max-players=10 spawn-monsters=true view-distance=10 motd=A Minecraft Server
 * 1) Minecraft server properties
 * 2) Date and time of creation of file

Other Features
In 1.8, having spawn-monsters=false & difficulty=1 will allow mobs to spawn from spawners and do not instantly disappear. Mob will not spawn just because it is dark. Unconfirmed bug or feature.

Server.properties