Knowledgebase A guide to configuring the server.properties

killerjore

New member
Jan 16, 2020
6
2
3
A guide to configuring server.properties
While making a Minecraft Server, you might've noticed a file called server.properties in your server SFTP. Some of you might've also wondered what the file is for, well let me tell you, that file is VERY important while configuring a Minecraft Server. Why? Because configuring it is the only way you can make your server cracked, configuring it is one of the only way you can disable command blocks, enable whitelist and so on. This Forum Post is a somewhat in-detail guide about how to configure the file. I'll be specifically talking about configuring the server.properties file on 1.14 servers in this guide. The following is the default settings for a server.properties file. I am going to describe each of them one by one in order.

broadcast-rcon-to-ops=true
view-distance=10
max-build-height=256
server-ip=
level-seed=
rcon.port=25575
gamemode=survival
server-port=25565
allow-nether=true
enable-command-block=false
enable-rcon=false
enable-query=false
op-permission-level=4
prevent-proxy-connections=false
generator-settings=
resource-pack=
level-name=world
rcon.password=
player-idle-timeout=0
motd=A Minecraft Server
query.port=25565
force-gamemode=false
hardcore=false
white-list=false
broadcast-console-to-ops=true
pvp=true
spawn-npcs=true
generate-structures=true
spawn-animals=true
snooper-enabled=true
difficulty=easy
function-permission-level=2
network-compression-threshold=256
level-type=default
spawn-monsters=true
max-tick-time=60000
enforce-whitelist=false
use-native-transport=true
max-players=20
resource-pack-sha1=
spawn-protection=16
online-mode=true
allow-flight=false
max-world-size=29999984[/FONT][/SIZE]


broadcast-rcon-to-ops:
Description: Toggle whether the /op'ed people should be notified in chat whenever someone uses a command by using the RCON protocol.
Type: Boolean (True/False)

view-distance:
Description: Adjusts the amount of chunks that are to be displayed to a player. By default, it is set to 10
Type: Integer (1+)

max-build-height:
Description: Sets the maximum height a player can build on. Default, its 256.
Type: Integer

server-ip:
Description: Sets a particular IP for your server. Recommended to be left empty.
Type: String

level-seed:
Description: Set a specified seed to your Minecraft Server/World, similar to that of the seeds option in singleplayer.
Type: String

rcon.port:
Description: Sets a port that connects with RCON which is a protocol that allows execution of commands remotely in the Minecraft Server.
Type: Integer

gamemode:
Description: Sets the default gamemode for players.
Type: String

server-port:
Description: Sets the port the server is going to connect to. For Sys413 Users, editing this section is not needed as your port will be set when you purchase the server.
Type: Integer

allow-nether:
Description: Toggles whether the Nether should be accessible by players or not or simply enables or disables it.
Type: Boolean

enable-command-block:
Description: Toggles whether command blocks should work on the server or not.
Type: Boolean

enable-rcon:
Description: Toggles whether the RCON feature should be enabled or not.
Type: Boolean

enable-query:
Description: Toggles whether the query protocol should work or not which in the other hand, is a feature that can be used to get the information about the server. Not really needed -
Type: Boolean

op-permission-level:
Description: Sets how much permission a player with /op should have. Default is 4. Each level grants Operators more permission;
1: Operators can bypass Spawn Protection.
2: Operators have the permission to use /clear, /difficulty, /effect, /gamemode, /gamerule, /give, /summon, /setblock and /tp, and can place and edit command blocks.
3: Operators have the permission to use /ban, /deop, /op and /kick.
4: Operators have the permission to use /stop.
Type: Integer

prevent-proxy-connections:
Description: Toggles whether players using VPN or Proxies can connect to the server or not.
Type: Boolean

generation-settings:
Description: Sets how the world is supposed to be generated, similar to that of the generation settings that can be done in Singleplayer worlds (Superflat, customized, etc.)
Type: String

resource-pack:
Description: Sets the default resource pack the players will be asked to download upon joining the server.
Type: String

level-name:
Description: Describes the default world the server is going to load. Default is world.
Type: String

rcon.password:
Description: Sets the password for your RCON so the people trying to use it have to enter a password to gain access. Not needed if RCON is disabled.
Type: String

player-idle-timeout:
Description: If set to a number > 0, it will automatically kick players if they're idle for more than the number specified in this option **in minutes.**

motd:
Description: Sets the MOTD (Message of the day) of the server. MOTD is basically the text you can see on the server description when you're in the server list. You can make custom MOTDs on the following tool: Message of the day for Minecraft server
Type: String

query.port:
Description: Sets the port for the Query Protocol.
Type: Integer

force-gamemode:
Description: If set to true, players will always be set to the default gamemode specified in the server.properties file after logging in whilst if set to false, players will stay the same gamemode as they did before logging in.
Type: Boolean

hardcore:
Description: Toggles whether the Gamemode should be Hardcore or not.
Type: Boolean

white-list:
Description: Toggles whether Whitelist should be on or off.
Type: Boolean

broadcast-console-to-ops:
Description: Toggles whether the Operators should be broadcasted command block outputs, command outputs and many more console related messages or not.
Type: Boolean

pvp:
Description: Toggles whether PvP should be allowed in your server or not.
Type: Boolean

spawn-npcs:
Description: Toggles whether NPCs (Non Player Characters) should spawn in your Minecraft Server or not.
Type: Boolean

generate-structures:
Description: Toggles whether the server should generate structures when loading a world.
Type: Boolean

spawn-animals:
Description: Toggles whether the animals (cow, chicken, horses, etc.) should spawn on the server or not.
Type: Boolean

snooper-enabled:
Description: If enabled, your server will send information to Mojang, containing things about the Java version, OS, Hardware and so on.
Type: Boolean

difficulty:
Description: Sets the overall game difficulty (peaceful, easy, normal or hard) of the server.
Type: String

function-permission-level:
Description: Sets the permission level of function which is a set of commands with the files having extension .mcfunction. This setting generally isn't really needed to be configured.
Type: Integer (1-4)

network-compression-threshold:
Description: This option sets how large a packet should be before attempting to compress it. Setting it higher can save some CPU resources at the cost of more bandwidth use. To disable it, set to -1.
Type: Integer

level-type:
Description: Sets what type of world is to be generated in default (default, flat, largebiomes, amplified, etc.) The difference between this option and generator-settings is generator-settings is used to set the default world preset, its that simple!
Type: String

spawn-monsters:
Description: Toggles whether the server should spawn monsters (zombie, skeleton, creeper, etc.) or not.
Type: Boolean

max-tick-time:
Description: Sets the server watchdog timer to kill the server if a single tick takes longer than that many milliseconds. -1 disables this feature. It is suggested to leave this option alone.
Type: Integer

enforce-whitelist:
Description: Toggles the enforcement of whitelist. This basically means if any player that isn't whitelisted is online when the server Whitelist is on, the server will automatically kick the player for not being whitelisted if this feature is turned on and vice versa.
Type: Boolean

use-native-transport:
Description: If true, it enables Linux packet sending/receiving optimization and vice versa. It's suggested not to change this option too.
Type: Boolean

max-players:
Description: Sets the maximum amount of the player that are able to join the server. Default 20. Note: The more players online, the more server resources will be occupied.
Type: Integer

resource-pack-sha1:
Description: SHA-1 digest of the resource pack, in lowercase hexadecimal. If you clearly don't understand what to do with the option, it is suggested to leave the option alone.
Type: String

spawn-protection:
Description: Sets the radius of the area where the players without the permission to bypass spawn protection are unable to build/destroy. The point from where the region starts is initially x = 0 z = 0.
Type: Integer

online-mode:
Description: If true, it allows only players that have authenticated with Mojang to join the server, essentially turning the server into what we call "Premium". So if it's set to false, players that are not authenticated on Mojang or simply "cracked" can join the server.
Type: Boolean

allow-flight:
Description: Toggles whether the players are allowed to toggle flight mode (double tapping the jump key) or not. Default false.
Type: Boolean

max-world-size:
Description: Sets the maximum size of the world in blocks. The default is 29999984 blocks.
Type: Integer


Some confusing terms for beginners
Integer: Any sort of solid chunk of number like 1, 2, 3, 4, 5, -1, -2, -3, -4, -5. Most of the options should consist of only positive integers like the max-players but others can consist of negative integers as well.
String: A set of alphabetic and numeric characters. For example any sort of IPs like
123.456.789, group of characters like default, superflat, etc.
Boolean: Either
true or false.


And that's basically it!
This thread took me an awful lot of time, hope it has helped all of you even in the slightest amounts. I tried to simplify the language as much as I possibly could. For a more in-depth guide (expect a lot of complex English), please visit Server.properties




 
Last edited: