Server.properties - Minecraft Wiki

Server.properties - Minecraft Wiki


The default server.properties file for Java Edition.

server.properties is the file that shops all the settings for a multiplayer (Minecraft or Minecraft Classic) server.

When editing server.properties, it is vital that the identical structure as the unique is used, although the order of the traces is arbitrary. The textual content earlier than the equal sign is the key, which shouldn't be changed. The textual content after the equal sign is the property's value, which could be edited. Strains that begin with # are comments - altering or removing these lines has no impact on the game.

After changes are made to the server.properties file, the server have to be restarted for them to take impact. Another choice is to use the /reload command in the server console or in-recreation, which can even enable changes to be reloaded.

If the server.properties file doesn't record all properties (such as if a new model of the server adds new properties, or if the file doesn't exist), then on startup, the server rewrites the server.properties file with the new properties listed and set them to their default values.

The server.properties file is solely a normal textual content file with UTF-8 encoding, despite its extension, and can subsequently be edited with any textual content editor akin to Notepad for Windows, TextEdit for Mac, or nano and vim for Linux.

1 File location 1.1 Java Version

1.2 Bedrock Edition

2.1 Java Edition

2.2 Bedrock Edition

3.1 Java Version

3.2 Bedrock Edition

File location

This file is robotically generated upon the first start of the server (if it does not exist).

Unix Unix/Mac

If the player begins it from their house listing (/residence/identify) the server information are created in /dwelling/title. Comply with these pointers for ensuring that the server information are generated where the participant would anticipate them.

- Put aside an entire directory for all of the server information. (Issues could get messy if the participant would not). - The player's server.jar should be positioned right here.


- It needs to be within the player's executable $PATH

- Be sure so as to add the execution permission to the startup script (chmod +x file_title, or use a folder manager) - minecraft_server.sh


This file is downloaded with bedrock_server.exe

These are the default settings for a newly put in Minecraft server:

Default as of 22w11a.

Default as of 1.18.32.02.

Minecraft server properties

With permit-flight enabled, griefers might become more frequent, as a result of it makes their work easier. In Inventive mode, this has no impact.

If a legacy problem number is specified, it's silently converted to a problem title.

To ensure that enabling JMX on the Java runtime you also want so as to add a few JVM flags to the startup as documented right here.

- It is not really useful to expose RCON to the Web, as a result of RCON protocol transfers the whole lot without encryption. The whole lot (together with RCON password) communicated between the RCON server and shopper can be leaked to someone listening in on your connection.


If set to false, it is going to suppress replies from shoppers. This means it's going to appear as offline, however will nonetheless settle for connections.

When this selection is enabled, customers who are not present on the whitelist (if it's enabled) get kicked from the server after the server reloads the whitelist file.

See permission level for the main points on the four levels.

If a legacy gamemode quantity is specified, it's silently converted to a gamemode identify.

Notice: Dungeons nonetheless generate if this is about to false.

Escaping ":" is required when using a world preset ID, and the vanilla world preset ID's namespace (minecraft:) could be omitted.

Examples:

- Setting max-world-measurement to a thousand permits the participant to have a 2000×2000 world border.

- Setting max-world-dimension to 4000 provides the participant an 8000×8000 world border.


- The MOTD supports color and formatting codes.

- The MOTD supports special characters, similar to "♥". Nonetheless, such characters must be converted to escaped Unicode type. A web-based converter could be discovered here.

- If the MOTD is over 59 characters, the server listing could report a communication error.


Word: The Ethernet spec requires that packets less than sixty four bytes become padded to sixty four bytes. Thus, setting a price lower than sixty four may not be helpful. It is also not advisable to exceed the MTU, sometimes 1500 bytes.

Click on Window

Enchant Merchandise

Update Signal

Participant Digging

Participant Block Placement

Held Merchandise Change

Animation (swing arm)

Entity Action

Consumer Standing

Chat Message

Use Entity


Observe: Oblique injury sources spawned by players (corresponding to lava, fireplace, TNT and to some extent water, sand and gravel) still deal injury to different players.

Note that (in some versions earlier than 1.15.2), the ":" and "=" characters have to be escaped with a backslash (\), e.g. http\://somedomain.com/somepack.zip?someparam\=somevalue

The useful resource pack could not have a larger file size than 250 MiB (Earlier than 1.18: One hundred MiB (≈ 100.Eight MB)) (Before 1.15: 50 MiB (≈ 50.4 MB)). Be aware that download success or failure is logged by the shopper, and not by the server.

Non-compulsory, provides a custom message to be proven on resource pack prompt when require-resource-pack is used.

Expects chat part syntax, can comprise a number of lines.

Notice: If the useful resource pack is any totally different, a yellow message "Invalid sha1 for useful resource-pack-sha1" seems within the console when the server starts. Because of the nature of hash features, errors have a tiny likelihood of occurring, so this consequence has no effect.

This setting has no effect if difficulty = zero (peaceful). If problem shouldn't be = 0, a monster can nonetheless spawn from a spawner.

If the player has main lag, it is strongly recommended to turn this off/set to false.

10 is the default/recommended. If Minecraft-servers.biz has major lag, this value is really useful to be lowered.

With a whitelist enabled, users not on the whitelist can not join. Meant for non-public servers, akin to these for actual-life buddies or strangers fastidiously selected by way of an application course of, for instance.

Word: Ops are automatically whitelisted, and there is no need so as to add them to the whitelist.

peaceful (0)

simple (1)

regular (2)

arduous (3)

Values correlate to the integer gamemodes as follows:

survival (0)

artistic (1)

journey (2)

Minecraft Traditional server properties

Note: If set higher than 3, it is changed again to 3.

- A single line of textual content. Characters such as ' (apostrophe) could must be escaped by including a backslash before them.

Report Page