Server.properties - Minecraft Wiki

Server.properties - Minecraft Wiki


The default server.properties file for Java Version.

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

When enhancing server.properties, it is necessary that the identical construction as the original is used, although the order of the lines is arbitrary. The textual content earlier than the equal sign is the important thing, which shouldn't be modified. Premium Content after the equal sign is the property's value, which can be edited. Strains that begin with # are comments - altering or eradicating these lines has no effect on the sport.

After changes are made to the server.properties file, the server should be restarted for them to take effect. Another option is to use the /reload command within the server console or in-sport, which will also enable modifications to be reloaded.

If the server.properties file doesn't record all properties (equivalent to if a new version 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 brand new properties listed and set them to their default values.

The server.properties file is simply a standard textual content file with UTF-8 encoding, despite its extension, and can therefore be edited with any textual content editor comparable to Notepad for Home windows, TextEdit for Mac, or nano and vim for Linux.

1 File location 1.1 Java Version

1.2 Bedrock Version

2.1 Java Version

2.2 Bedrock Edition

3.1 Java Edition

3.2 Bedrock Edition

File location

This file is routinely generated upon the primary start of the server (if it doesn't exist).

Unix Unix/Mac

If the player starts it from their residence listing (/residence/identify) the server files are created in /residence/name. Comply with these guidelines for guaranteeing that the server files are generated where the participant would anticipate them.

- Set aside an entire directory for all of the server recordsdata. (Things may get messy if the player does not). - The player's server.jar should be positioned right here.


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

- Make sure 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 installed Minecraft server:

Default as of 22w11a.

Default as of 1.18.32.02.

Minecraft server properties

With permit-flight enabled, griefers may turn out to be extra widespread, as a result of it makes their work easier. In Inventive mode, this has no effect.

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

In order for enabling JMX on the Java runtime you also need so as to add a couple of JVM flags to the startup as documented right here.

- It's not beneficial to expose RCON to the Internet, because RCON protocol transfers all the pieces without encryption. Every little thing (together with RCON password) communicated between the RCON server and shopper could be leaked to someone listening in in your connection.


If set to false, it should suppress replies from shoppers. This implies it is going to appear as offline, however will still accept connections.

When this feature is enabled, users who aren't present on the whitelist (if it is enabled) get kicked from the server after the server reloads the whitelist file.

See permission degree for the main points on the 4 ranges.

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

Note: 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:) can be omitted.

Examples:

- Setting max-world-size to 1000 allows the player to have a 2000×2000 world border.

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


- The MOTD helps colour and formatting codes.

- The MOTD supports particular characters, akin to "♥". Nevertheless, such characters must be converted to escaped Unicode kind. A web-based converter may be discovered here.

- If the MOTD is over 59 characters, the server record may report a communication error.


Word: The Ethernet spec requires that packets less than sixty four bytes change into padded to 64 bytes. Thus, setting a worth decrease than 64 is probably not useful. It is also not advisable to exceed the MTU, usually 1500 bytes.

Click Window

Enchant Merchandise

Replace Signal

Participant Digging

Participant Block Placement

Held Item Change

Animation (swing arm)

Entity Action

Shopper Standing

Chat Message

Use Entity


Be aware: Oblique injury sources spawned by gamers (such as lava, fire, TNT and to some extent water, sand and gravel) still deal injury to other players.

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

The useful resource pack could not have a bigger file dimension than 250 MiB (Before 1.18: One hundred MiB (≈ 100.8 MB)) (Before 1.15: 50 MiB (≈ 50.Four MB)). Be aware that download success or failure is logged by the shopper, and never by the server.

Optionally available, adds a customized message to be shown on useful resource pack prompt when require-resource-pack is used.

Expects chat element syntax, can contain multiple strains.

Be aware: If the useful resource pack is any different, a yellow message "Invalid sha1 for useful resource-pack-sha1" seems within the console when the server begins. Attributable to the character of hash capabilities, errors have a tiny chance of occurring, so this consequence has no effect.

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

If the participant has main lag, it is suggested to show this off/set to false.

10 is the default/recommended. If the player has major lag, this value is really useful to be decreased.

With a whitelist enabled, users not on the whitelist can't connect. Supposed for personal servers, equivalent to these for actual-life associates or strangers fastidiously chosen by way of an application course of, for example.

Note: Ops are robotically whitelisted, and there isn't any need so as to add them to the whitelist.

peaceful (0)

straightforward (1)

regular (2)

hard (3)

Values correlate to the integer gamemodes as follows:

survival (0)

artistic (1)

adventure (2)

Minecraft Classic server properties

Notice: If set larger than 3, it is modified again to 3.

- A single line of text. Characters comparable to ' (apostrophe) might should be escaped by adding a backslash before them.

Report Page