Articles on: Minecraft
This article is also available in:

All about server.properties



Introduction



In this article you will find all the information you need to know about the server.properties file


🤔 Understanding this file 🤔



What is this file?



This file stores all the settings for a Multiplayer server. When editing this file, it is important to respect the original structure of the file. The text after the ""="" sign is the value of the property you want to edit and can be changed, the value must be next to the property, without spaces.

Where can I find this file?



The file should be in the main directory, named server.properties

If you don't see the file, restart OR reinstall your server, and it will be created.

Editing this file



Bedrock's properties file is not the same as Java's, but here we will explain what each property means and the possible values ​​:D


📱 Minecraft Bedrock 📱



server-name

Supported values: Any value
Default value: Dedicated server
Description: It is the name of your server

gamemode

Supported values: survival, creative, adventure
Default value: survival
Description: Set the game mode for new players

force-gamemode

Supported values: true, false
Default value: false
Description: Setting it to false will allow players to have gamemode values ​​independent of the value set in the properties file. Setting it to true will force players to have the gamemode value set in the properties file, if one was specified

difficulty

Supported values: peaceful, easy, normal, hard
Default value: false
Description: Toggle your server difficulty between peaceful, easy, normal, and hard.

allow-cheats

Supported values: true, false
Default value: false
Description: If set to true, cheats like /gamemode will be possible.

max-players

Supported values: Positive integer
Default value: 10
Description: The maximum number of players that can play on the server.

online-mode
Supported values: true, false
Default value: true
Description: If true then all connected players must be authenticated to Xbox Live.

white-list

Supported values: true, false
Default value: false
Description: If true then all connected players must be listed in the separate whitelist.json/allowlist.json file.

server-port

Supported values: Integers in the range 1 - 65535
Default value: Your server port
Description: Will set the main IPv4 port of your server, it is not recommended that you modify this value since the panel assigns it automatically

server-portv6

Supported values: Integers in the range 1 - 65535
Default value: Your server port
Description: Will set the main IPv6 port of your server, it is not recommended that you modify this value since the panel assigns it automatically

view-distance

Supported values: Any positive integer greater than or equal to 5
Default value: 32
Description: The maximum allowed view distance in number of chunks.

tick-distance

Supported values: Any integer between 4 and 12
Default value: 4
Description: The number of marked chunks within this distance of any player.

Note: Setting high values ​​will impact your server performance.

player-idle-timeout

Supported values: Any integer
Default value: 30
Description: If a user remains inactive for the indicated amount of time, they will be kicked

max-threads

Supported values: Any integer
Default value: 8
Description: Maximum number of threads the server tries to use. If set to 0 or removed then it uses as many as possible.

level-name

Supported values: Any value
Default value: Bedrock Level
Description: You must put the name of the main folder of your world, which contains the information of the players, the world in general, achievements, etc.

It is not recommended to change this value, unless you are uploading a custom world

level-seed

Supported values: Any seed
Default value: -
Description: It will set the seed of your world, for this to take effect you will first need to delete your current world. Leaving this empty will make the seed random

level-type

Supported values: FLAT, LEGACY, DEFAULT
Default value: DEFAULT
Description: It will determine your world type between Flat, Classic and Default.

default-player-permission-level

Supported values: visitor, member, operator
Default value: member
Description: Set the level of permissions players will have when joining for the first time

texturepack-required

Supported values: true, false
Default value: false
Description: Force clients to use a certain resource pack in your world. You can find more information about how to add resource packs to your server here

content-log-file-enabled

Supported values: true, false
Default value: false
Description: Setting it to true will enable logs on your server, which will save console information such as commands used, chat, etc.

compression-threshold

Supported values: Any numeric value within the range 1-65535
Default value: 1
Description: Determines the smallest size of raw network payload to compress

server-authoritative-movement

Supported values: client-auth, server-auth, server-auth-with-rewind
Default value: server-auth
Description: Enables move corrections on the server, if set to server-auth, the server will parse local user input and correct it if the client's position does not match the server's. If set to server-auth-with-rewind, the server will make clients go back in time to the time of the fix, apply the fix, and then replay the player's inputs, this results in smoother fixes and frequent.

player-movement-score-threshold

Supported values: Any integer
Default value: 20
Description: The number of incongruent time intervals needed before abnormal behavior is reported.

player-movement-distance-threshold

Supported values: Any integer
Default value: 0.3
Description: The difference between server and client positions that needs to be exceeded before abnormal behavior is detected.

player-movement-duration-threshold-in-ms

Supported values: Any integer
Default value: 500
Description: The duration of time the server and client positions can be out of sync before the abnormal movement score is incremented.

correct-player-movement

Supported values: true, false
Default value: false
Description: If true, the client position will get corrected to the server position if the movement score exceeds the threshold.

server-authoritative-block-breaking

Supported values: true, false
Default value: false
Description: If true, the server will compute block mining operations in sync with the client so it can verify that the client should be able to break blocks when it thinks it can.


💻 Minecraft Java 💻



allow-flight

Supported values: true, false
Default value: false
Description: Allows users to use flight on the server while in Survival mode, if they have a mod that provides flight installed.
With allow-flight enabled, griefers may become more common, because it makes their work easier. In Creative mode, this has no effect.

allow-nether

Supported values: true, false
Default value: true
Description: Will determine if players can travel to the Nether, setting it to false will cause portals to the Nether to not work

broadcast-console-to-ops

Supported values: true, false
Default value: true
Description: Send console command outputs to all online operators.

broadcast-rcon-to-ops

Supported values: true, false
Default value: true
Description: Send rcon console command outputs to all online operators.

difficulty

Supported values: peaceful, easy, normal, hard
Default value: easy
Description: It will toggle the difficulty of your world between peaceful, easy, normal and hard

enable-command-block

Supported values: true, false
Valores predeterminados: false
Description: Defines if the command blocks will be activated or not

enable-jmx-monitoring

Supported values: true, false
Default value: false
Description: Exposes an MBean with the object name net.minecraft.server:type=Server and two attributes; averageTickTime and tickTimes that expose tick times in milliseconds. It is not recommended to modify this value if you do not know what you are doing

enable-rcon

Supported values: true, false
Default value: false
Description: Activate remote access to your server console, you can find more information here.

Warning: It is not recommended to expose your RCON data to the internet, as this protocol will transfer everything without any encryption, and this would expose your server to attacker

sync-chunk-writes

Supported values: true, false
Default value: true
Description: Enables synchronous chunk writes.

enable-status

Supported values: true, false
Default value: true
Description: Will make the server appear as online in the server list, if set to false the server will appear offline, but will accept connections

enable-query

Supported values: true, false
Default value: false
Description: Enables the GameSpy4 protocol. Used to get information about the server

entity-broadcast-range-percentage

Supported values: Any numeric value within the range 10-1000
Default value: 100
Description: Determines how close an entity must be before being reflected in clients. Setting high values ​​will cause entities to be rendered at a greater distance, but may also affect your server performance

force-gamemode

Supported values: true, false
Default value: false
Description: Setting it to false will allow players to have gamemode values ​​independent of the value set in the properties file. Setting it to true will force players to have the gamemode value set in the properties file, if one was specified

function-permission-level

Supported values: Any numeric value within range 1-4
Default value: 2
Description: Sets the default permission level for functions.

gamemode

Supported values: survival, creative, adventure, spectator
Default value: survival
Description: Sets the game mode for new players

generate-structures

Supported values: true, false
Default value: false
Description: Determines whether or not structures (Villages, Desert Temples, etc.) should be generated when creating your world

generator-settings

Supported values: Custom World Generation Values (JSON Format)
Default value: -
Description: These are the settings for custom generation of a world using the JSON format. It is not recommended to modify this value if you do not know what you are doing

hardcore

Supported values: true, false
Default value: false
Description: Determine if your server should be in Hardcore mode or not

level-name

Supported values: Any value
Default value: world
Description: Here should go the name of the main folder of your world, which contains the information of the players, the world in general, achievements, etc.

It is not recommended to change this value, unless you are uploading a custom world, which in that case, you would specify the world name ( it is the folder name )

level-seed

Supported values: Any valid seed
Default value: -
Description: It will set the seed of your world, for this to take effect you will first need to delete your current world. Leaving this empty will make the seed random

level-type

Supported values: default, flat, largeBiomes, amplified, buffet (Versiones inferiores a 1.15), default_1_1 (Versiones inferiores a 1.15), customized (Versiones inferiores a 1.15)
Default value: default
Description: Will determine your world type

max-players

Supported values: Any integer
Default value: 20
Description: It will set the maximum number of simultaneous players that can connect to your server

max-tick-time

Supported values: Any integer( -1 to disable this feature from snapshot 14w32a)
Default value: 60000
Description: The maximum number of milliseconds a single tick can take before WatchDog stops the server. Considering that this function will cause a crash, the server will force its shutdown.

max-world-size

Supported values: Integers between 1-29999984
Default value: 29999984
Description: Sets the maximum size of your world as a radius, for example if set to 5000 the world barrier will be 10,000 x 10,000 in size

motd

Supported values: Any value
Default value: A Minecraft Server
Description: It is the message that will appear in the list of servers, below the name. Supports Minecraft's native text format. If the MOTD is longer than 59 characters, a connection error will appear.

network-compression-threshold

Supported values: Any integer
Default value: 256
Description: It will compress bytes larger than the specified value, setting this to 0 will compress everything, and setting it to -1 will compress nothing.

online-mode

Supported values: true, false
Default value: false
Description: If set to true, it will authenticate with Mojang services (If these are down, no one will be able to connect.) the session of connecting users, this will make users using cracked clients like Tlauncher unable to connect to the server . Setting this to false increases the risk of hackers, encourages multi-account use, among other risks

op-permission-level

Supported values: Any numeric value within range 1-4
Default value: 4
Description: It will set the level of permissions that a user with op has. A value of 1 will only allow users to bypass the vanilla spawn protection, while a value of 4 will allow them to have full access to all server commands, including plugins.

player-idle-timeout

Supported values: Any integer
Default value: 0
Description: If a user remains idle for the indicated amount of time, they will be kicked

prevent-proxy-connections

Supported values: true, false
Default value: false
Description: Setting this value to true will help prevent the use of VPNs and Proxy servers on your server, but it is not totally effective.

pvp

Supported values: true, false
Default value: true
Description: Enable PvP on the server. Indirect damage sources spawned by players (such as lava, fire, TNT, etc.) still deal damage to other players.

query.port

Valores admtidos: Any integer
Default value: false
Description: Sets the port for the query server

rate-limit

Supported values: Any integer
Default value: 0
Description: Sets the maximum amount of packets a user can send before getting kicked.

rcon.password

Supported values: Any value
Default value: -
Description: It will set the password you will need to gain RCON access

rcon.port

Supported values: Any integer
Default value: 25575
Description: This is the port you will use to connect to your server via RCON

resource-pack

Supported values: Any download link for a valid resource package
Default value: -
Description: It will establish whether or not users should use a resource pack on your server, take into account that the weight of this should not exceed 100mb. You can find more information about how to add resource packs to your server here

resource-pack-prompt

Supported values: Any value
Default value: -
Description: It will set the message that users will see to download the resource pack when joining your server

server-ip

Supported values:
Default value: -
Description: It will set the ip of your server. We recommend leaving this value empty because the panel automatically assigns it

server-port

Supported values: Integers within range 1-65535
Default value: The primary port of your server
Description: Will set the primary port of your server we do not recommend that you modify this value as the dashboard automatically assigns it

snooper-enabled

Supported values: true, false
Default value: false
Description: Setting this value to true will allow your server to send statistical data to Mojang, this may or may not increase latency slightly

spawn-animals

Supported values: true, false
Default value: true
Description: It will establish whether or not animals should be naturally generated

spawn-monsters

Supported values: true, false
Default value: true
Description: It will establish whether or not monsters should be naturally generated.

spawn-npcs

Supported values: true, false
Default value: true
Description: It will establish whether or not villagers should be naturally generated

spawn-protection

Supported values: Any integer
Default value: 16
Description: It will establish the natural protection of the spawn in x2+1 format, this means that if you set a value of 3, this protection will cover a 7x7 (Since 3x2+1=7). Setting a value of 0 will disable this protection.

text-filtering-config

Description: This option was added in version 1.16.4, and it seems that it is still in development.

view-distance

Supported values: Any integer within range 1-32
Default value: 10
Description: it will set how much world information should be sent to a player's client, setting this value above 10 can cause performance issues in the client

white-list

Supported values: true, false
Default value: false
Description: It will set whether the whitelist should be activated or not, setting this to true will make players who are not added to it unable to connect. Users with op are automatically added to the whitelist

enforce-whitelist

Supported values: true, false
Default value: false
Description: If this value is set to true users who are not added to the whitelist will be expelled if the whitelist is enabled


📕 Conclusion 📕



That would be it! If any of these properties aren't in your file, your server may be outdated. If your server is in the latest version available, you can add it on your own, respecting the format and supported values

If you have any questions regarding any data exposed here, you can ask in our Discord Server in the chat #community-help

Updated on: 13/07/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!