server.properties
Alapértelmezett fájl
Here is the default server.properties file of an unmodified Minecraft 1.8.1 server.
#Minecraft server properties
#(File modification datestamp)
spawn-protection=16
max-tick-time=60000
generator-settings=
force-gamemode=false
allow-nether=true
gamemode=0
enable-query=false
player-idle-timeout=0
difficulty=1
spawn-monsters=true
op-permission-level=4
resource-pack-hash=
announce-player-achievements=true
pvp=true
snooper-enabled=true
level-type=DEFAULT
hardcore=false
enable-command-block=false
max-players=20
network-compression-threshold=256
max-world-size=29999984
server-port=25565
server-ip=
spawn-npcs=true
allow-flight=false
level-name=world
view-distance=10
resource-pack=
spawn-animals=true
white-list=false
generate-structures=true
online-mode=true
max-build-height=256
level-seed=
use-native-transport=true
motd=A Minecraft Server
enable-rcon=false
Property Explanation
Credit goes to the editors at the Minecraft Wiki for the explanations.
Boolean properties have only two valid values: true and false. Integer properties must be whole numbers. Where a range is specified, the number must be in that range. String properties can consist of any symbol.
Key |
Type |
Default Value |
Description |
---|---|---|---|
allow-flight |
boolean |
false |
Lehetővé teszi a felhasználók számára, hogy a repülés a szerveren, amíg a Túlélési üzemmódban, ha egy mod, amely a repülés telepítve. Ezzel lehetővé teszik a repülés engedélyezve griefers esetleg gyakoribb, mert ez biztosítja, hogy a munka könnyebb. Kreatív módban nincs hatása.
|
allow-nether |
boolean |
true |
Allows players to travel to the Nether.
|
announce-player-achievements |
boolean |
true |
Allows the server to announce when a player gets an achievement. |
difficulty |
integer (0-3) |
1 |
Határozza meg a nehézségi (például sebzést csőcseléket, ahogy az éhség, a méreg befolyásolja a játékosok) a szerver.
|
enable-query |
boolean |
false |
Lehetővé teszi, hogy a GameSpy4 protokoll kiszolgáló hallgató. Régen információkat a szerveren. |
enable-rcon |
boolean |
false |
Enables remote access to the server console. |
enable-command-block |
boolean |
false |
Enables command blocks. |
force-gamemode |
boolean |
false |
Force players to join in the default game mode.
|
gamemode |
integer (0-3) |
0 |
Defines the mode of gameplay.
|
generate-structures |
boolean |
true |
Defines whether structures (such as villages) will be generated in new chunks.
Note: Dungeons will still generate if this is set to false. |
generator-settings |
string |
blank |
The settings used to customize world generation. See Superflat and Customized on the Minecraft Wiki (external links) for possible settings and examples. |
hardcore |
boolean |
false |
If set to true, players will be permanently banned if they die. |
level-name |
string |
world |
The „level-name” value will be used as the world name and its folder name. You may also copy your saved game folder here, and change the name to the same as that folder’s to load it instead.
|
level-seed |
string |
blank |
Add a seed for your world, as in Singleplayer.
|
level-type |
string |
DEFAULT |
Determines the type of map that is generated.
|
max-build-height |
integer |
256 |
A maximális magasság, amelyben az épület megengedett. Terep lehet még természetesen létrehoz a fenti alacsony magasság határ. |
max-players |
integer (0- 2147483647) |
20 |
A maximális számú játékos játszhat a szerveren egyszerre. Felhívjuk figyelmét, hogy ha több játékos a szerveren fogja használni több erőforrást. Megjegyzés is, op játékos kapcsolat nem kellett volna számolni ellen a max játékosok, de ops jelenleg nem csatlakozik egy teljes szerver. Rendkívül nagy értékeket ezen a területen eredményt a kliens-oldali felhasználói lista, hogy törött. |
max-tick-time |
integer (0- (2^63-1)) |
60000 |
A maximális számú milliszekundum egyetlen kullancs is eltarthat, mielőtt a szerver watchdog leáll a szerver a következő üzenettel: "egyetlen szerver kullancs került 60.00 másodperc (max 0.05); figyelembe Véve, hogy lezuhant, szerver erőszakkal shutdown". Ha ez a kritérium teljesül, úgy a hívásokat a Rendszer.kilépés(1).
|
max-world-size |
integer (1- 29999984) |
29999984 |
Ez határozza meg a lehetséges maximális méretű tömb, hogy az adott körzetben, hogy a világ határon kaphat. A beállítás a világ határ nagyobb okozza a parancsok teljes sikerrel, de a tényleges határ nem fogja túllépni ez a blokk határ. A beállítás a max-világ-méret nagyobb, mint az alapértelmezett, nem úgy tűnik, hogy bármit is tegyen. Examples:
|
motd |
string |
A Minecraft Server |
This is the message that is displayed in the server list of the client, below the name.
|
network-compression-threshold |
integer |
256 |
By default it allows packets that are n-1 bytes big to go normally, but a packet that n bytes or more will be compressed down. So, lower number means more compression but compressing small amounts of bytes might actually end up with a larger result than what went in.
Note: The ethernet spec requires that packets less than 64 bytes become padded to 64 bytes. Thus, setting a value lower than 64 may not be beneficial. It is also not recommended to exceed the MTU (Maximum Transmission Unit), typically 1500 bytes. |
online-mode |
boolean |
true |
Server checks connecting players against Minecraft’s account database. Only set this to false if your server is not connected to the Internet. Hackers with fake accounts can connect if this is set to false! If minecraft.net is down or inaccessible, no players will be able to connect if this is set to true. Setting this variable to off purposely is called „cracking” a server, and servers that are presently in offline mode are called „cracked” servers, allowing players with unlicensed copies of Minecraft to join.
|
op-permission-level |
integer (1-4) |
4 |
Sets permission level for ops. Each level also contains the permissions of the levels below it.
|
player-idle-timeout |
integer |
0 |
If non-zero, players are kicked from the server if they are idle for more than that many minutes.
|
pvp |
boolean |
true |
Enable PvP on the server. Players shooting themselves with arrows will only receive damage if PvP is enabled.
Note: Indirect damage sources spawned by players (such as lava, fire, TNT and to some extent water, sand and gravel) will still deal damage to other players. |
query.port |
integer (1- 65534) |
25565 |
Sets the port for the query server (see enable-query). |
rcon.password |
string |
blank |
Sets the password for remote connection. |
rcon.port |
integer (1- 65534) |
25575 |
Sets the port for remote connection. |
resource-pack |
string |
blank |
Optional URI to a resource pack. The player may choose to use it. |
resource-pack-hash |
string |
blank |
Optional SHA-1 digest of the resource pack, in lowercase hexadecimal. It’s recommended to specify this. This is not yet used to verify the integrity of the resource pack, but improves the effectiveness and reliability of caching. |
server-ip |
string |
blank |
Set this if you want the server to bind to a particular IP. It is strongly recommended that you leave this blank. |
server-port |
integer (1- 65534) |
25565 |
Changes the port the server is hosting (listening) on. This port must be forwarded if the server is hosted in a network using NAT (If you have a home router/firewall). |
snooper-enabled |
boolean |
true |
Sets whether the server sends snoop data regularly to http://snoop.minecraft.net. (external link)
|
spawn-animals |
boolean |
true |
Determines whether animals will be able to spawn.
Tip: if you have major lag, set this to false. |
spawn-monsters |
boolean |
true |
Determines whether hostile mobs will be able to spawn.
This will have no effect if difficulty is set to Peaceful. Tip: if you have major lag, set this to false. |
spawn-npcs |
boolean |
true |
Determines if villagers will be spawned.
|
spawn-protection |
integer |
16 |
Determines the radius of the spawn protection. Setting this to 0 will not disable spawn protection. 0 will protect the single block at the spawn point. 1 will protect a 3x3 area centered on the spawn point. 2 will protect 5x5, 3 will protect 7x7, etc. This option is not generated on the first server start and appears when the first player joins. If there are no ops set on the server, the spawn protection will be disabled automatically. |
use-native-transport |
boolean |
true |
Linux server performance improvements: optimized packet sending/receiving on Linux.
|
view-distance |
integer (3-15) |
10 |
Sets the amount of world data the server sends the client, measured in chunks in each direction of the player (radius, not diameter). It determines the server-side viewing distance. 10 is the default/recommended. If you have major lag, reduce this value. |
white-list |
boolean |
false |
Enables a whitelist on the server. See Whitelist kezelése. With a whitelist enabled, users not on the whitelist will be unable to connect. Intended for private servers, such as those for real-life friends or strangers carefully selected via an application process, for example.
Note: Ops are automatically white listed, and there is no need to add them to the whitelist. |