Minecraft/Editing server.properties

From Multiplay Wiki
Jump to: navigation, search

To change the settings for your Minecraft server requires you to edit the server.properties file which stores all the settings for your multiplayer server. The server.properties file has a simple structure, which is one key and value per line and any comments are preceded by a number sign, or hash symbol. It is important that this structure is followed when editing this file otherwise the settings may not be applied to the server, any changes made to the file take effect once the server is restarted.

Editing server.properties in ClanForge

Editing server.properties in ClanForge

  1. Navigate to Server Dashboard
  2. Click on Edit Profile
  3. Click on the Config tab
  4. Select server.properties
  5. Change the values in the file as required
  6. Once you've changed the file to your satisfaction click Save under profiles action, having "Restart servers that are already set to this profile" checked will ensure the changes are rolled out immediately to your servers

Server settings

Although most settings are self-explanatory or explained in the comments above them in the server.properties file, below is a full list and explanation of each key

admin-slot

Allow Ops to join the server when it is full

Valid Values

  • true - Enables this option, Ops can join if the server is full
  • false - Disables this option, Ops have no priority

allow-flight

Allows/denies players the ability to use client-side flight/no-clip mods, if disabled the server will kick players who attempt to fly with the message "Flying is not enabled on this server"

Valid Values

  • true - Allows players to use client-side flight/no-clip mods
  • false - The server will kick players who attempt to use flight/no-clip mods

allow-nether

Allows players to travel to the nether via nether portals

Valid Values

  • true - The server will transfer players who go through portals to the nether
  • false - The server will not transfer players who go through portals to the nether

grow-trees

Controls whether the server will generate placed saplings into trees

Valid Values

  • true - The server will allow trees to grow from saplings
  • false - The server will not allow trees to grow from saplings

level-name

Sets the name of the world that the server will attempt to load, if no world of the specified name exists a new world will be generated.

Valid Values

  • A single line of text, avoid special characters

level-seed

Forces the server to generate the world based on the specified world seed

Valid Values

  • All characters

motd

A message displayed to players when they join the server. For details on creating a multi-line and multi-colour MOTD see here

Valid Values

  • Any characters, single line unless properly escaped
  • Maximum 59 characters

online-mode

Forces the server to validate joining players against the Mojang accounts database, ensuring all players are using valid accounts. This mode provides additional security but can make the server inaccessible if the Mojang server is down

Valid Values

  • true - The server will check joining players for valid accounts against the Mojang database
  • false - The server skips Mojang validation, allowing all players to join irregardless to whether they have a valid account

pvp

Controls whether player vs player damage is active

Valid Values

  • true - Players are able to cause damage by hitting each other
  • false - Players are unable to cause damage by hitting each other

spawn-animals

Controls whether the server will allow animals to spawn

Valid Values

  • true - Animals are allowed to spawn
  • false - Animals are not allowed to spawn

spawn-monsters

Controls whether the server will allow monsters to spawn at night or in dark areas (caves/caverns)

Valid Values

  • true - Monsters will spawn in dark areas
  • false - Monsters will not spawn in dark areas

view-distance

The amount of chunks that are sent to the player by the server

Valid Values

  • 3 to 15

whitelist

Specifies whether the server will validate joining users against the whitelist file, users who are not whitelisted will be unable to connect

Valid Values

  • true - The server will check the whitelist.txt file before allowing users to join
  • false - The server will not perform a check of the whitelist.txt file on joining users