server.propertiesは(MinecraftあるいはMinecraft Classicの)マルチプレイサーバーの全ての設定を記憶するファイルである。
もしserver.propertiesを編集する場合には、行の順序は任意に変更して構わないが、元の用途と同じ構造を使用することが重要である。「=」の前にある文章はカギとなる部分で、変更すべきではない。「=」のあとの文章はプロパティの値で、変更してよい部分である。 #
で始まる行はコメントで、これらの行を変更したり削除したりしてもゲームに影響はない。
server.propertiesに変更を加えた後、それらをサーバーに適用するには、サーバーを再起動しなければならない。
もしserver.propertiesがすべてのプロパティを指定していない場合(新しいバージョンで新規にプロパティが追加されたときや、server.propertiesが存在しないときなど)、サーバーの起動時にserver.propertiesは新しいプロパティを含むものに上書きされ、指定されていなかったプロパティはデフォルト値に設定される。
ファイルの場所
このファイルは、最初のサーバー起動時に(存在しない場合は)自動的に生成される。
OS | ファイルの位置 | 備考 |
---|---|---|
Windows | minecraft_server.exeと同じ場所 | |
Linux
Unix *nix/Mac |
作業ディレクトリのパス (pwd) |
もしホームディレクトリ(/home/<名前>)でサーバーを起動した場合、サーバーのファイルは/home/<名前>に生成される。好きな場所にサーバーファイルを生成するためにはこれらのガイドラインに従うべきである。
|
サーバープロパティー
1.8.7から、これらは新しくインストールされるMinecraftサーバーのデフォルト設定である。
#Minecraft server properties #(File Modification Datestamp) generator-settings= op-permission-level=4 allow-nether=true resource-pack-hash= level-name=world enable-query=false allow-flight=false announce-player-achievements=true server-port=25565 max-world-size=29999984 level-type=DEFAULT enable-rcon=false level-seed= force-gamemode=false server-ip= network-compression-threshold=256 max-build-height=256 spawn-npcs=true white-list=false spawn-animals=true snooper-enabled=true online-mode=true resource-pack= pvp=true difficulty=1 enable-command-block=false gamemode=0 player-idle-timeout=0 max-players=20 max-tick-time=60000 spawn-monsters=true generate-structures=true view-distance=10 motd=A Minecraft Server
Minecraftのサーバープロパティ
キー | 種類 | デフォルト値 | 解説 |
---|---|---|---|
allow-flight | boolean | false | サバイバルモードで、飛行を可能にするModを導入しているプレイヤーに飛行を許可する。
allow-flightが有効になると、荒らし(=griefer、バグを悪用するプレイヤー)の仕事がしやすくなるので、荒らしが多く(粗野に)なるだろう。クリエイティブモードでは、このプロパティは効果を持たない。
|
allow-nether | boolean | true | プレイヤーがネザーに行くことを許可する。 |
announce-player-achievements | boolean | true | プレイヤーが実績を解除したときに、サーバーがアナウンスするようにする。 |
difficulty | integer (0-3) | 1 | Defines the difficulty (such as damage dealt by mobs and the way hunger and poison affects players) of the server.
|
enable-query | boolean | false | GameSpy4のプロトコルサーバーリスナーを有効にする。 サーバーに関する情報を取得するために使用される。 |
enable-rcon | boolean | false | サーバーコンソールへのリモートアクセスを有効にする。 |
enable-command-block | boolean | false | コマンドブロックを有効にする。 |
force-gamemode | boolean | false | プレイヤーにデフォルトのゲームモードで参加させる。
|
gamemode | integer (0-3) | 0 | ゲームモードを決定する。
|
generate-structures | boolean | true | 構造物(村など)を生成するかどうかを決定する。
注意:これがfalseに設定されている場合でも、ダンジョンは生成される。 |
generator-settings | string | blank | ワールドをカスタマイズするための設定。可能な設定と例については、スーパーフラットとカスタマイズを参照してください。 |
hardcore | boolean | false | trueに設定すると、プレイヤーは絶対に死ぬことが 禁止される。 |
level-name | string | world | 「レベル名」の値は、ワールド名とそのフォルダ名として使用される。
ここで保存したゲームフォルダをここにコピーし、名前を同じフォルダに変更して代わりに読み込むこともできる。 '(アポストロフィ)などの文字は、その前にバックスラッシュを付けることでエスケープする必要がある。 |
level-seed | string | blank | シングルプレイのように、あなたの世界のシード値を追加してください。
|
level-type | string | DEFAULT | 生成されるマップのタイプを決定する。
|
max-build-height | integer | 256 | 建物が許可された最大高さ。地形は自然な高さの上限を超えて自然に生成されることがあります。 |
max-players | integer (0-2147483647) | 20 | 同時にサーバー上でプレイできるプレイヤーの最大数。より多くのプレイヤーがサーバー上にいる場合は、より多くのリソースを使用することに注意してください。また、opプレーヤーの接続は最大のプレーヤーに対して数えられないと考えられますが、opsは現在完全なサーバーに参加できません。
このフィールドの値が非常に大きいと、クライアント側のユーザーリストが壊れてしまいます。 |
max-tick-time |
integer (0–(2^63 - 1)) | 60000 | The maximum number of milliseconds a single tick may take before the server watchdog stops the server with the message, A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, server will forcibly shutdown. Once this criteria is met, it calls System.exit(1).
|
max-world-size |
integer (1-29999984) | 29999984 | This sets the maximum possible size in blocks, expressed as a radius, that the world border can obtain. Setting the world border bigger causes the commands to complete successfully but the actual border will not move past this block limit. Setting the max-world-size higher than the default doesn't appear to do anything.
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, 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 with online mode off 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.
|
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 to rcon. |
rcon.port | integer (1-65534) | 25575 | Sets the port to rcon. |
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 server-ip 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.
|
spawn-animals | boolean | true | Determines if animals will be able to spawn.
Tip: if you have major lag, turn this off/set to false. |
spawn-monsters | boolean | true | Determines if monsters will be spawned.
This does nothing if difficulty = 0 (peaceful) Unless your difficulty is not set to 0, when a monster can still spawn from a Monster Spawner. Tip: if you have major lag, turn this off/set 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. (see Render distance)
10 is the default/recommended. If you have major lag, reduce this value. |
white-list | boolean | false | Enables a whitelist on the server.
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. |
Minecraft Classic server properties
Key | Type | Default Value | Description |
---|---|---|---|
verify-names | boolean | true | If enabled the server will make sure that the client is logged in with the same IP on Minecraft.net. This has caused problems for people trying to play on the same computer they are hosting the server on as the server will see the local IP (127.0.0.1) while Minecraft.net will see the external IP. It is recommended that this is enabled unless you want to play on your server from the same computer you are hosting it on
|
admin-slot | boolean | false | Allow ops to join even if the server is full. |
public | boolean | Whether the server should be displayed in the server list, or not.
| |
server-name | string | The name of the server. This is displayed in the server list and when someone is joining the server
| |
max-players | integer (0-256) | The max numbers of players that can play on the server at the same time. Note that if more players are on the server it will use more resources. Note also, admin connections are not counted against the max players. | |
max-connections | integer (1-3) | The max number of connections the server will accept from the same IP.
Note: If you try to set it higher than 3 it will be changed back to 3. | |
motd | string | MOTD is short for Message of the day, though you do not need to change it every day. The MOTD is displayed when people join the server. | |
grow-trees | boolean | Whether or not the server will allow planted saplings to grow into trees.
|
ヘルプ | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
メニュー画面 |
| ||||||||||||||||
開発元 | |||||||||||||||||
ゲームのカスタマイズ | |||||||||||||||||
エディション |
| ||||||||||||||||
ゲーム |
| ||||||||||||||||
映画 |
| ||||||||||||||||
書籍 |
| ||||||||||||||||
その他メディア |
| ||||||||||||||||
イベント |
| ||||||||||||||||
公式商品 |
| ||||||||||||||||
その他 |