Skip to main contentdfsdf

Home/ hatesleep0's Library/ Notes/ Server.properties - Minecraft Wiki

Server.properties - Minecraft Wiki

from web site

Strongcraft

The default server.properties file for Java Edition.


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


When modifying server.properties, it is important that the same construction as the unique is used, although the order of the strains is arbitrary. The textual content earlier than the equal signal is the key, which shouldn't be changed. The text after the equal signal is the property's worth, which will be edited. Lines that begin with # are feedback - altering or eradicating these traces 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 option is to use the /reload command in the server console or in-recreation, which will also permit adjustments to be reloaded.


If the server.properties file does not checklist all properties (such as if a brand new version of the server adds new properties, or if the file does not 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 just a traditional text file with UTF-8 encoding, regardless of its extension, and may therefore be edited with any textual content editor reminiscent of Notepad for Windows, TextEdit for Mac, or nano and vim for Linux.


1 File location 1.1 Java Version
1.2 Bedrock Version


2.1 Java Edition
2.2 Bedrock Edition


3.1 Java Version
3.2 Bedrock Edition


File location


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


Unix Unix/Mac


If the participant begins it from their home listing (/home/identify) the server recordsdata are created in /house/title. Observe these pointers for ensuring that the server recordsdata are generated the place the participant would count on them.


- Set aside a whole directory for all the server information. (Issues may get messy if the player doesn't). - The player's server.jar needs to be positioned here.


- It needs to be within the player's executable $PATH
- Ensure to add the execution permission to the startup script (chmod +x file_identify, 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 develop into extra frequent, as a result of it makes their work easier. In Artistic mode, this has no impact.


If a legacy issue quantity is specified, it's silently transformed to a problem name.


In order for enabling JMX on the Java runtime you additionally need to add a few JVM flags to the startup as documented right here.


- It is not recommended to expose RCON to the Web, because RCON protocol transfers all the things without encryption. Every thing (including RCON password) communicated between the RCON server and shopper will be leaked to somebody listening in on your connection.


If set to false, it would suppress replies from clients. This means it'll appear as offline, but will nonetheless accept connections.


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


See permission stage for the small print on the four levels.


If a legacy gamemode number is specified, it is silently transformed to a gamemode title.


Observe: Dungeons nonetheless generate if this is set to false.


Escaping ":" is required when using a world preset ID, and the vanilla world preset ID's namespace (minecraft:) may 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 offers the player an 8000×8000 world border.


- The MOTD helps color and formatting codes.
- Strongcraft helps special characters, reminiscent of "♥". However, such characters have to be converted to escaped Unicode form. A web-based converter can be discovered here.
- If the MOTD is over 59 characters, the server list could report a communication error.


Note: The Ethernet spec requires that packets less than 64 bytes turn out to be padded to 64 bytes. Thus, setting a value lower than sixty four will not be beneficial. It's also not recommended to exceed the MTU, sometimes 1500 bytes.


Click Window
Enchant Item
Replace Sign
Participant Digging
Player Block Placement
Held Item Change
Animation (swing arm)
Entity Motion
Client Status
Chat Message
Use Entity


Notice: Indirect injury sources spawned by gamers (equivalent to lava, fireplace, TNT and to some extent water, sand and gravel) still deal injury to different players.


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


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


Non-compulsory, adds a custom message to be shown on useful resource pack immediate when require-useful resource-pack is used.


Expects chat component syntax, can include a number of traces.


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


This setting has no impact if difficulty = zero (peaceful). If difficulty is not = 0, a monster can nonetheless spawn from a spawner.


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


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


With a whitelist enabled, users not on the whitelist can't connect. Intended for private servers, corresponding to those for actual-life mates or strangers carefully chosen through an application process, for example.


Observe: Ops are routinely whitelisted, and there isn't a want so as to add them to the whitelist.


peaceful (0)


simple (1)


regular (2)


hard (3)


Values correlate to the integer gamemodes as follows:


survival (0)


artistic (1)


journey (2)


Minecraft Basic server properties


Note: If set greater than 3, it's changed back to 3.


- A single line of text. Characters reminiscent of ' (apostrophe) may need to be escaped by adding a backslash earlier than them.

hatesleep0

Saved by hatesleep0

on Jul 11, 22