Uminotamago (トーク | 投稿記録) |
|||
(21人の利用者による、間の30版が非表示) | |||
4行目: | 4行目: | ||
[[ファイル:Server.properties.png|サムネイル|デフォルトの server.properties ファイル]] |
[[ファイル:Server.properties.png|サムネイル|デフォルトの server.properties ファイル]] |
||
+ | server.propertiesは、(''Minecraft''あるいは''Minecraft'' Classicの)マルチプレイ[[サーバー]]の全ての設定を保存するファイルである。 |
||
− | {{翻訳途中}} |
||
+ | server.properties を編集する際には、行の順序は任意に変更して構わないが、元と同じ構造にすることが重要である。イコールの前の文字列はキーであり、変更してはいけない。イコールの後の文字列はプロパティの値で、編集してよい。<code>#</code>で始まる行はコメントである。これらの行は変更したり削除してもゲームに影響はない。 |
||
− | '''server.properties''' は、(''Minecraft'' あるいは ''Minecraft'' Classic の)マルチプレイ[[サーバー]]の全ての設定を記憶するファイルである。 |
||
+ | server.propertiesに変更を加えた後、それらをサーバーに適用するには、サーバーを再起動しなければならない。もう一つの手段は、サーバーコンソールやゲーム内で{{Cmd|reload}}を使用することで、変更を再読み込みできる。 |
||
− | server.properties を編集する場合には、行の順序は任意に変更して構わないが、元の用途と同じ構造を使用することが重要である。<code>=</code> の前にある文字列はキーとなる部分で、変更すべきではない。<code>=</code> の後の文字列はプロパティの値で、変更してよい部分である。<code>#</code> で始まる行はコメントで、これらの行を変更したり削除したりしてもゲームに影響はない。 |
||
+ | server.propertiesで全てのプロパティが指定されていない場合(新しいバージョンで新しくプロパティが追加された場合や、ファイルが存在しない場合など)、起動時にサーバーはserver.propertiesは新しいプロパティを含むファイルを書き換え、新しいプロパティに初期値を設定する。 |
||
− | server.properties に変更を加えた後、それらをサーバーに適用するには、サーバーを再起動しなければならない。 |
||
+ | server.propertiesはその拡張子にもかかわらず、UTF-8エンコーディングの通常のテキストファイルであるため、Windows用のメモ帳、Mac用のテキストエディット、Linux用のnanoやvimなどのテキストエディタで編集できる。 |
||
− | server.properties にすべてのプロパティが指定されていない場合(新しいバージョンで新規にプロパティが追加されたときや、server.properties が存在しないときなど)は、サーバーの起動時に server.properties は新しいプロパティを含むものに上書きされ、指定されていなかったプロパティはデフォルトの値に設定される。 |
||
− | == |
+ | ==ファイルの場所== |
'''このファイルは、(存在しない場合に)サーバーの初回起動時に自動的に生成される。''' |
'''このファイルは、(存在しない場合に)サーバーの初回起動時に自動的に生成される。''' |
||
{| class="wikitable" |
{| class="wikitable" |
||
+ | |- |
||
+ | !OS |
||
+ | !ファイルの場所 |
||
+ | !備考 |
||
+ | |- |
||
+ | !Windows |
||
+ | |作業ディレクトリ(デフォルトは{{code|server.jar}}と同じフォルダ) |
||
+ | |{{code|server.jar}}、同じフォルダ内の起動スクリプト、またはこれらいずれかへのショートカットをクリックしてサーバーを起動すると、作業ディレクトリは{{code|server.jar}}と同じフォルダに設定されます。 |
||
+ | |- |
||
+ | !Linux |
||
+ | Unix |
||
+ | <span>Unix/Mac</span> |
||
+ | |作業ディレクトリのパス (pwd) |
||
+ | | |
||
+ | ホームディレクトリ(''/home/ユーザー名'')から起動すると、サーバーファイルは''/home/ユーザー名''に生成される。作成したいディレクトリにサーバーファイルを生成されるようにする際には、以下の点に注意する必要がある。 |
||
+ | |||
+ | *サーバーファイルのためにディレクトリを準備する。(''そうしなければ厄介なことになる可能性がある。'') |
||
+ | **server.jarをそこへ配置する。 |
||
+ | *[//gamepedia.cursecdn.com/minecraft_ja_gamepedia/a/a9/Minecraft_server_template.txt?version=27008324b4fc55b5b36250bbf6ae56b1 このスクリプト]を''Minecraft''サーバー起動をするためのガイドラインとして使用する。 |
||
+ | **実行可能な<code>$PATH</code>にあることを確認する。 |
||
+ | **起動スクリプトに実行権限を与える。(chmod +x ファイル名、もしくはフォルダマネージャを使用する) |
||
+ | ***minecraft_server.sh |
||
+ | |} |
||
+ | === Bedrock Edition === |
||
+ | |||
+ | '''このファイルはbedrock_server.exeでダウンロードされます''' |
||
+ | |||
+ | {| class="wikitable" data-description="File location" |
||
|- |
|- |
||
! OS |
! OS |
||
− | ! ファイルの |
+ | ! ファイルの場所 |
− | ! 備考 |
||
|- |
|- |
||
! Windows |
! Windows |
||
− | | |
+ | | bedrock_server.exeと同じディレクトリ |
− | | |
||
|- |
|- |
||
! Linux |
! Linux |
||
+ | | bedrock_serverと同じディレクトリ |
||
− | Unix |
||
− | <span>Unix/Mac</span> |
||
− | | 作業ディレクトリのパス (pwd) |
||
− | | |
||
− | ホームディレクトリ (<code>/home/ユーザー名</code>) でサーバーを起動した場合、サーバーのファイルは <code>/home/ユーザー名</code> に生成される。任意の場所にサーバーファイルを生成するためには、以下のガイドラインに従うべきである。 |
||
− | * すべてのサーバーファイルのための全体ディレクトリを確保する。(''これをしなければ、作業は台無しになる'') |
||
− | ** <code>minecraft_server.jar</code> をそこに配置する。 |
||
− | * ''Minecraft'' サーバーの起動スクリプトを準備するために、[//gamepedia.cursecdn.com/minecraft_ja_gamepedia/a/a9/Minecraft_server_template.txt?version=27008324b4fc55b5b36250bbf6ae56b1 このスクリプト]を使用する。 |
||
− | ** それが実行可能な <code>$PATH</code> にあることを確認する。 |
||
− | ** 起動用のスクリプトに実行権限を与える。(chmod +x ファイル名、もしくはフォルダマネージャを使用する) |
||
− | *** <code>minecraft_server''.sh''</code> |
||
|} |
|} |
||
− | == |
+ | ==server.properties== |
これらは新しくインストールされる ''Minecraft'' サーバーのデフォルト設定である。 |
これらは新しくインストールされる ''Minecraft'' サーバーのデフォルト設定である。 |
||
+ | === Java Edition === |
||
− | <pre> |
||
+ | <syntaxhighlight lang="properties"> |
||
#Minecraft server properties |
#Minecraft server properties |
||
+ | #(last boot timestamp) |
||
− | #(File Modification Datestamp) |
||
+ | spawn-protection=16 |
||
+ | max-tick-time=60000 |
||
+ | query.port=25565 |
||
generator-settings= |
generator-settings= |
||
+ | sync-chunk-writes=true |
||
− | op-permission-level=4 |
||
+ | force-gamemode=false |
||
allow-nether=true |
allow-nether=true |
||
enforce-whitelist=false |
enforce-whitelist=false |
||
+ | gamemode=survival |
||
− | level-name=world |
||
+ | broadcast-console-to-ops=true |
||
enable-query=false |
enable-query=false |
||
+ | player-idle-timeout=0 |
||
− | allow-flight=false |
||
+ | text-filtering-config= |
||
− | prevent-proxy-connections=false |
||
+ | difficulty=easy |
||
− | server-port=25565 |
||
+ | broadcast-rcon-to-ops=true |
||
+ | spawn-monsters=true |
||
+ | op-permission-level=4 |
||
+ | pvp=true |
||
+ | entity-broadcast-range-percentage=100 |
||
+ | snooper-enabled=true |
||
+ | level-type=default |
||
+ | enable-status=true |
||
+ | resource-pack-prompt=true |
||
+ | hardcore=false |
||
+ | enable-command-block=true |
||
+ | network-compression-threshold=256 |
||
+ | max-players=20 |
||
max-world-size=29999984 |
max-world-size=29999984 |
||
+ | resource-pack-sha1= |
||
− | level-type=DEFAULT |
||
+ | function-permission-level=2 |
||
− | enable-rcon=false |
||
+ | rcon.port=25575 |
||
− | level-seed= |
||
+ | server-port=25565 |
||
− | force-gamemode=false |
||
server-ip= |
server-ip= |
||
− | network-compression-threshold=256 |
||
− | max-build-height=256 |
||
spawn-npcs=true |
spawn-npcs=true |
||
− | + | require-resource-pack=false |
|
+ | allow-flight=false |
||
− | spawn-animals=true |
||
+ | level-name=world |
||
− | hardcore=false |
||
+ | view-distance=15 |
||
− | snooper-enabled=true |
||
− | resource-pack-sha1= |
||
− | online-mode=true |
||
resource-pack= |
resource-pack= |
||
− | + | spawn-animals=true |
|
+ | white-list=false |
||
− | difficulty=1 |
||
+ | rcon.password= |
||
− | enable-command-block=true |
||
− | gamemode=0 |
||
− | player-idle-timeout=0 |
||
− | max-players=20 |
||
− | max-tick-time=60000 |
||
− | spawn-monsters=true |
||
− | view-distance=10 |
||
generate-structures=true |
generate-structures=true |
||
+ | online-mode=true |
||
+ | level-seed= |
||
+ | prevent-proxy-connections=false |
||
+ | use-native-transport=true |
||
+ | enable-jmx-monitoring=false |
||
motd=A Minecraft Server |
motd=A Minecraft Server |
||
+ | rate-limit=0 |
||
− | </pre> |
||
+ | enable-rcon=false |
||
+ | </syntaxhighlight> |
||
+ | [[Java Edition 21w15a|21w15a]]の初期設定。 |
||
+ | |||
+ | === Bedrock Edition === |
||
+ | <syntaxhighlight lang="Properties"> |
||
+ | server-name=Dedicated Server |
||
+ | # Used as the server name |
||
+ | # Allowed values: Any string without semicolon symbol. |
||
+ | |||
+ | gamemode=survival |
||
+ | # Sets the game mode for new players. |
||
+ | # Allowed values: "survival", "creative", or "adventure" |
||
+ | |||
+ | force-gamemode=false |
||
+ | # force-gamemode=false (or force-gamemode is not defined in the server.properties) |
||
+ | # prevents the server from sending to the client gamemode values other |
||
+ | # than the gamemode value saved by the server during world creation |
||
+ | # even if those values are set in server.properties after world creation. |
||
+ | # |
||
+ | # force-gamemode=true forces the server to send to the client gamemode values |
||
+ | # other than the gamemode value saved by the server during world creation |
||
+ | # if those values are set in server.properties after world creation. |
||
+ | |||
+ | difficulty=easy |
||
+ | # Sets the difficulty of the world. |
||
+ | # Allowed values: "peaceful", "easy", "normal", or "hard" |
||
+ | |||
+ | allow-cheats=false |
||
+ | # If true then cheats like commands can be used. |
||
+ | # Allowed values: "true" or "false" |
||
+ | |||
+ | max-players=10 |
||
+ | # The maximum number of players that can play on the server. |
||
+ | # Allowed values: Any positive integer |
||
+ | |||
+ | online-mode=true |
||
+ | # If true then all connected players must be authenticated to Xbox Live. |
||
+ | # Clients connecting to remote (non-LAN) servers will always require Xbox Live authentication regardless of this setting. |
||
+ | # If the server accepts connections from the Internet, then it's highly recommended to enable online-mode. |
||
+ | # Allowed values: "true" or "false" |
||
+ | |||
+ | white-list=false |
||
+ | # If true then all connected players must be listed in the separate whitelist.json file. |
||
+ | # Allowed values: "true" or "false" |
||
+ | |||
+ | server-port=19132 |
||
+ | # Which IPv4 port the server should listen to. |
||
+ | # Allowed values: Integers in the range [1, 65535] |
||
+ | |||
+ | server-portv6=19133 |
||
+ | # Which IPv6 port the server should listen to. |
||
+ | # Allowed values: Integers in the range [1, 65535] |
||
+ | |||
+ | view-distance=32 |
||
+ | # The maximum allowed view distance in number of chunks. |
||
+ | # Allowed values: Positive integer equal to 5 or greater. |
||
+ | |||
+ | tick-distance=4 |
||
+ | # The world will be ticked this many chunks away from any player. |
||
+ | # Allowed values: Integers in the range [4, 12] |
||
+ | |||
+ | player-idle-timeout=30 |
||
+ | # After a player has idled for this many minutes they will be kicked. If set to 0 then players can idle indefinitely. |
||
+ | # Allowed values: Any non-negative integer. |
||
+ | |||
+ | max-threads=8 |
||
+ | # Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible. |
||
+ | # Allowed values: Any positive integer. |
||
+ | |||
+ | level-name=Bedrock level |
||
+ | # Allowed values: Any string without semicolon symbol or symbols illegal for file name: /\n\r\t\f`?*\\<>|\": |
||
+ | |||
+ | level-seed= |
||
+ | # Use to randomize the world |
||
+ | # Allowed values: Any string |
||
+ | |||
+ | default-player-permission-level=member |
||
+ | # Permission level for new players joining for the first time. |
||
+ | # Allowed values: "visitor", "member", "operator" |
||
+ | |||
+ | texturepack-required=false |
||
+ | # Force clients to use texture packs in the current world |
||
+ | # Allowed values: "true" or "false" |
||
+ | |||
+ | content-log-file-enabled=false |
||
+ | # Enables logging content errors to a file |
||
+ | # Allowed values: "true" or "false" |
||
+ | |||
+ | compression-threshold=1 |
||
+ | # Determines the smallest size of raw network payload to compress |
||
+ | # Allowed values: 0-65535 |
||
+ | |||
+ | server-authoritative-movement=server-auth |
||
+ | # Allowed values: "client-auth", "server-auth", "server-auth-with-rewind" |
||
+ | # Enables server authoritative movement. If "server-auth", the server will replay local user input on |
||
+ | # the server and send down corrections when the client's position doesn't match the server's. |
||
+ | # If "server-auth-with-rewind" is enabled and the server sends a correction, the clients will be instructed |
||
+ | # to rewind time back to the correction time, apply the correction, then replay all the player's inputs since then. This results in smoother and more frequent corrections. |
||
+ | # Corrections will only happen if correct-player-movement is set to true. |
||
+ | |||
+ | player-movement-score-threshold=20 |
||
+ | # The number of incongruent time intervals needed before abnormal behavior is reported. |
||
+ | # Disabled by server-authoritative-movement. |
||
+ | |||
+ | player-movement-distance-threshold=0.3 |
||
+ | # The difference between server and client positions that needs to be exceeded before abnormal behavior is detected. |
||
+ | # Disabled by server-authoritative-movement. |
||
+ | |||
+ | player-movement-duration-threshold-in-ms=500 |
||
+ | # The duration of time the server and client positions can be out of sync (as defined by player-movement-distance-threshold) |
||
+ | # before the abnormal movement score is incremented. This value is defined in milliseconds. |
||
+ | # Disabled by server-authoritative-movement. |
||
+ | |||
+ | correct-player-movement=false |
||
+ | # If true, the client position will get corrected to the server position if the movement score exceeds the threshold. |
||
+ | |||
+ | |||
+ | server-authoritative-block-breaking=false |
||
+ | # If true, the server will compute block mining operations in sync with the client so it can verify that the client should be able to break blocks when it thinks it can. |
||
+ | </syntaxhighlight> |
||
+ | [[Bedrock Edition 1.16.220|1.16.220.02]]の初期設定 |
||
− | == |
+ | ==''Minecraft'' のサーバープロパティ == |
{| class="wikitable" data-description="Server properties" |
{| class="wikitable" data-description="Server properties" |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">キー</span> |
− | ! |
+ | !種類 |
− | ! |
+ | !デフォルト値 |
− | ! |
+ | !解説 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''allow-flight'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
− | | |
+ | |{{Anchor|allow-flight}}サバイバルモードで、飛行を可能にする [[Mod]] を導入しているプレイヤーに飛行を許可する。 |
allow-flight が有効になると、荒らし(=[[:en:Griefer|Griefer]]、バグを悪用するプレイヤー)の活動がしやすくなるので、荒らしが多くなるだろう。クリエイティブモードでは、このプロパティは効果を持たない。 |
allow-flight が有効になると、荒らし(=[[:en:Griefer|Griefer]]、バグを悪用するプレイヤー)の活動がしやすくなるので、荒らしが多くなるだろう。クリエイティブモードでは、このプロパティは効果を持たない。 |
||
+ | |||
:'''false''' - 飛行は許可されない(最低5秒以上空中にいるプレイヤーはサーバーからキックされる)。 |
:'''false''' - 飛行は許可されない(最低5秒以上空中にいるプレイヤーはサーバーからキックされる)。 |
||
:'''true''' - 飛行は許可され、プレイヤーが飛行系 Mod を導入している場合には使用される。 |
:'''true''' - 飛行は許可され、プレイヤーが飛行系 Mod を導入している場合には使用される。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''allow-nether'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|allow-nether}}プレイヤーが[[ネザー]]に行くことを許可する。 |
+ | |||
:'''false''' - [[ネザー]]ポータルは動作しない。 |
:'''false''' - [[ネザー]]ポータルは動作しない。 |
||
:'''true''' - サーバーは[[ポータル]]を許可し、プレイヤーをネザーに送れるようになる。 |
:'''true''' - サーバーは[[ポータル]]を許可し、プレイヤーをネザーに送れるようになる。 |
||
− | |||
|- |
|- |
||
+ | !'''broadcast-console-to-ops''' |
||
− | ! <span style="white-space:nowrap;">'''difficulty'''</span> |
||
+ | |ブール値 |
||
− | | 整数(0~3) |
||
+ | |true |
||
− | | 1 |
||
+ | |コンソールコマンドの出力をオンラインのオペレータに送信する。 |
||
− | | {{Anchor|difficulty}}サーバーの[[難易度]](Mob から受けるダメージや、プレイヤーの空腹度、毒のダメージなどに影響する)を決定する。 |
||
− | :'''0''' - ピースフル |
||
− | :'''1''' - イージー |
||
− | :'''2''' - ノーマル |
||
− | :'''3''' - ハード |
||
− | |||
|- |
|- |
||
+ | !'''broadcast-rcon-to-ops''' |
||
− | ! <span style="white-space:nowrap;">'''enable-query'''</span> |
||
− | | |
+ | |ブール値 |
+ | |true |
||
− | | false |
||
+ | |オンラインのオペレータにrconコンソールのコマンド出力を送信する。 |
||
− | | {{Anchor|enable-query}}GameSpy4 のプロトコルサーバーリスナーを有効にする。 サーバーに関する情報を取得するために使用される。 |
||
− | |||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''difficulty'''</span> |
+ | |文字列 |
||
− | | ブール値 |
||
+ | |easy |
||
− | | false |
||
− | | |
+ | |{{Anchor|difficulty}}サーバーの[[難易度]](Mob から受けるダメージや、プレイヤーの空腹度、毒のダメージなどに影響する)を決定する。 |
+ | 難易度が数値で指定されている場合、難易度名に置き換えられる。 |
||
+ | |||
+ | :'''peaceful''' (0) |
||
+ | :'''easy''' (1) |
||
+ | :'''normal''' (2) |
||
+ | :'''hard''' (3) |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''enable-command-block'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
− | | |
+ | |{{Anchor|enable-command-block}}コマンドブロックを有効にする。 |
+ | |- |
||
+ | !'''enable-jmx-monitoring''' |
||
+ | |ブール値 |
||
+ | |false |
||
+ | |{{Anchor|enable-jmx-monitoring}}オブジェクト名<code>net.minecraft.server:type=Server</code>および<code>averageTickTime</code>、<code>tickTimes</code>の2つの属性を持つMBeanを公開し、ミリ秒単位のティックを公開する。 |
||
+ | Java runtimeでJMXを有効にするには、[https://docs.oracle.com/javase/8/docs/technotes/guides/management/agent.html ここ]に記載されているように、JVMフラグを起動時に追加する必要がある。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''enable-rcon'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
− | | |
+ | |{{Anchor|enable-rcon}}サーバーコンソールへのリモートアクセスを有効にする。 |
+ | |- |
||
− | :'''false''' - プレイヤーが設定したしたゲームモードで参加される。 |
||
+ | !'''sync-chunk-writes''' |
||
+ | |ブール値 |
||
+ | |true |
||
+ | |{{Anchor|sync-chunk-writes}}同期チャンク書き込みを有効にする。 |
||
+ | |- |
||
+ | !'''enable-status''' |
||
+ | |ブール値 |
||
+ | |true |
||
+ | |{{Anchor|enable-status}}サーバーをサーバーリスト上でオンラインとして表示する。 |
||
+ | falseに設定すると、クライアントからの応答を抑制する。オフラインとして表示されるが、接続を受け付ける。 |
||
+ | |- |
||
+ | !<span style="white-space:nowrap;">'''enable-query'''</span> |
||
+ | |ブール値 |
||
+ | |false |
||
+ | |{{Anchor|enable-query}}GameSpy4のプロトコルサーバーリスナーを有効にする。サーバーに関する情報を取得するために使用される。 |
||
+ | |- |
||
+ | !'''entity-broadcast-range-percentage''' |
||
+ | |整数(0~500) |
||
+ | |100 |
||
+ | |エンティティがどの程度近くにいる場合にクライアントに送信するかを制御する。値を高くするほど遠くから描画され、ラグが発生する可能性がある。これはデフォルト値の割合で表される。50に設定すると通常の半分になる。これはクライアントのビデオ設定の機能を真似ている(描画距離のように、クライアントがサーバーの設定下であれば変更することができる)。 |
||
+ | |- |
||
+ | !<span style="white-space:nowrap;">'''force-gamemode'''</span> |
||
+ | |ブール値 |
||
+ | |false |
||
+ | |{{Anchor|force-gamemode}}プレイヤーにデフォルトの[[ゲームモード]]で参加させる。 |
||
+ | |||
+ | :'''false''' - プレイヤーが設定したゲームモードで参加される。 |
||
:'''true''' - プレイヤーは常にデフォルトのゲームモードで参加する。 |
:'''true''' - プレイヤーは常にデフォルトのゲームモードで参加する。 |
||
+ | |||
+ | |- id="function-permission-level" |
||
+ | |<span style="white-space:nowrap;">'''function-permission-level'''</span> |
||
+ | | 整数 (1-4) |
||
+ | | 2 |
||
+ | |[[関数]]の既存の権限レベルを設定する。 |
||
+ | すべてのレベルは[[権限レベル]]を参照。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''gamemode'''</span> |
+ | |文字列 |
||
− | | 整数(0~3) |
||
+ | |survival |
||
− | | 0 |
||
− | | |
+ | |{{Anchor|gamemode}}[[ゲームモード]]を決定する。 |
+ | 難易度が数値で指定されている場合、難易度名に置き換えられる。 |
||
− | :'''0''' - サバイバル |
||
+ | |||
− | :'''1''' - クリエイティブ |
||
+ | :[[サバイバル|survival]] (0) |
||
− | :'''2''' - アドベンチャー |
||
+ | :[[クリエイティブ|creative]] (1) |
||
− | :'''3''' - スペテクター |
||
+ | :[[アドベンチャー|adventure]] (2) |
||
+ | :[[スペクテイター|spectator]] (3) |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''generate-structures'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|generate-structures}}[[生成される構造物|構造物]](村など)を生成するかどうかを決定する。 |
+ | |||
:'''false''' - 新しいチャンクでは構造物は生成されない。 |
:'''false''' - 新しいチャンクでは構造物は生成されない。 |
||
:'''true''' - 新しいチャンクでも構造物が生成される。 |
:'''true''' - 新しいチャンクでも構造物が生成される。 |
||
+ | |||
'''注意:''' ''これが false に設定されている場合でも、ダンジョンは生成される。'' |
'''注意:''' ''これが false に設定されている場合でも、ダンジョンは生成される。'' |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''generator-settings'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |''なし'' |
− | | |
+ | |{{Anchor|generator-settings}}ワールド生成のカスタマイズに使用される設定。フォーマットに従い、JSONを記述する。全ての<code>:</code>は<code>\:</code>でエスケープする必要がある。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''hardcore'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
− | | |
+ | |{{Anchor|hardcore}}'''true''' に設定した場合、プレイヤーが死んだ際にスペクテイターモードになる。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''level-name'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |world |
− | | |
+ | |{{Anchor|level-name}}「レベル名」の値は、ワールド名とそのフォルダ名として使用される。ここで保存したゲームフォルダをここにコピーし、名前を同じフォルダに変更して代わりに読み込むこともできる。 |
+ | |||
:'(アポストロフィ)などの文字は、その前にバックスラッシュを付けることでエスケープする必要がある。ユニコードエスケープ(例: あ→\u3000)も利用できる。 |
:'(アポストロフィ)などの文字は、その前にバックスラッシュを付けることでエスケープする必要がある。ユニコードエスケープ(例: あ→\u3000)も利用できる。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''level-seed'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |''なし'' |
− | | |
+ | |{{Anchor|level-seed}}シングルプレイのように、ワールドの[[シード値]]を設定できる。新しくワールドを作るときに利用される。 |
+ | |||
:例: minecraft、404、1a2b3c |
:例: minecraft、404、1a2b3c |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''level-type'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |DEFAULT |
− | | |
+ | |{{Anchor|level-type}}生成されるマップのタイプを決定する。 |
+ | |||
− | :'''DEFAULT''' - 標準的なワールド。丘、谷、水などが存在する。 |
||
− | :''' |
+ | :'''default''' - 丘、谷、水などが存在する標準的なワールド。 |
+ | :'''[[スーパーフラット|flat]]''' - 特徴のないフラットなワールド。'''generator-settings''' で詳細に変更できる。 |
||
− | :'''LARGEBIOMES''' - '''DEFAULT''' と同じだが、すべてのバイオームが大きくなる。 |
||
− | :''' |
+ | :'''[[大きなバイオーム|largeBiomes]]''' - defaultと同じだが、すべてのバイオームが大きくなる。 |
+ | :'''[[アンプリファイド|amplified]]''' - defaultと同じだが、ワールド生成時の高度限界が増える。 |
||
− | :'''BUFFET''' - '''generator-settings''' がプリセットに設定されていない場合は、'''DEFAULT''' と同じ。 |
||
+ | :'''[[ビュッフェ|buffet]]''' - '''generator-settings''' がプリセットに設定されていない場合は、'''DEFAULT''' と同じ。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''max-build-height'''</span> |
− | | |
+ | |整数 |
− | | |
+ | |256 |
− | | |
+ | |{{Anchor|max-build-height}}建築が許可される最高高度。地形の生成は、制限を越えて生成される場合がある。256が最大値であるが、8の倍数である必要がある。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''max-players'''</span> |
− | | |
+ | |整数(0~(2^31 - 1)) |
− | | |
+ | |20 |
− | | |
+ | |{{Anchor|max-players}}同時にサーバー上でプレイできるプレイヤーの最大数。より多くのプレイヤーがサーバー上に存在する場合、より多くのリソースを使用することに注意。また、OPプレーヤーの接続数は最大プレイヤー数には数えられないが、OPは現在、満員のサーバーに参加することはできない。ただし、これはサーバーのディレクトリにある ops.json というファイル中にある、変更したい OP プレイヤーの bypassesPlayerLimit を true(デフォルトは false)に設定することで変更できる。このフィールドの値が非常に大きいと、クライアント側のユーザーリストが壊れてしまう。 |
|- |
|- |
||
! <span style="white-space: nowrap;">'''max-tick-time'''</span><br /> |
! <span style="white-space: nowrap;">'''max-tick-time'''</span><br /> |
||
− | | |
+ | |整数(0~(2^63 - 1)) |
− | | |
+ | |60000 |
− | | |
+ | |{{Anchor|max-tick-time}}サーバーのウォッチドッグが、サーバーを停止させるまでにかかる単一ティックの最大ミリ秒。サーバーの停止時に ''A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, server will forcibly shutdown.'' というメッセージが表示される。この基準が満たされると System.exit(1) が呼び出される。 |
+ | |||
:'''-1''' - ウォッチドッグを完全に無効にする(無効化の設定は 14w32a で追加された)。 |
:'''-1''' - ウォッチドッグを完全に無効にする(無効化の設定は 14w32a で追加された)。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''max-world-size'''</span><br /> |
− | | |
+ | |整数(1~29999984) |
− | | |
+ | |29999984 |
+ | |{{Anchor|max-world-size}}[[ワールド境界]]の最大サイズの半径を設定する。ワールド境界を大きく設定すると、コマンドは正常に実行されるが、実際にはワールド境界は上限を超えて広がらない。max-world-sizeをデフォルト値よりも大きく設定しても何も起こらない。 |
||
− | | {{Anchor|max-world-size}}デフォルトでは、サイズn-1のパケットは正常に送信できますが、nバイト以上のパケットは圧縮されます。したがって、数値が小さいほど圧縮率は高くなりますが、少数のバイトを圧縮すると実際には結果が大きくなる可能性があります。 -1 - 圧縮を完全に無効にする すべてを0で圧縮 注:イーサネット仕様では、64バイト未満のパケットを64バイトにパディングする必要があります。したがって、64より小さい値を設定しても効果はありません。通常1500バイトを超えるMTUもお勧めできません。 |
||
+ | |||
− | 例: |
||
− | * |
+ | *max-world-size を1000に設定すれば、2000×2000のワールド境界が設定される。 |
− | * |
+ | *max-world-size を4000に設定すれば、8000×8000のワールド境界が設定される。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''motd'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |''A Minecraft Server'' |
− | | |
+ | |{{Anchor|motd}}クライアントのサーバー一覧の、サーバー名の下に表示されるメッセージ。 |
+ | |||
* MOTD には[[装飾コード]]を使用できる。 |
* MOTD には[[装飾コード]]を使用できる。 |
||
− | * |
+ | *MOTD には、「♥」のような特別な文字を使用できる。ただし、そのような文字は Unicode 形式にエスケープしなければならない。 |
+ | *MOTDが59文字を超える場合、サーバーリストが通信エラーを報告する場合がある<!-- 1.13にエラーなし? --> |
||
− | * If the MOTD is over 59 characters, the server list will likely report a communication error.<!-- no errors in 1.13? --> |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''network-compression-threshold'''</span><br /> |
− | | |
+ | |整数 |
− | | |
+ | |256 |
− | | |
+ | |{{Anchor|network-compression-threshold}}デフォルトでは、n-1バイトの大きさのパケットは正常に送信できるが、nバイト以上のパケットは圧縮されるため、数値が小さいほど圧縮率は高くなるが、少量のバイトを圧縮すると、実際には入ったものよりも大きな結果になる可能性がある。 |
− | -1-圧縮を完全に無効にします |
||
− | + | :'''-1''' - 圧縮を完全に無効にする |
|
+ | :'''0''' - すべてを圧縮する |
||
− | 注:イーサネットの仕様では、64バイト未満のパケットは64バイトにパディングされる必要があ |
+ | '''注意:'''イーサネットの仕様では、64バイト未満のパケットは64バイトにパディングされる必要があるため、64未満の値を設定しても効果がない場合がある。MTU(通常は1500バイト)を超えることもお勧めしない。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''online-mode'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|online-mode}}サーバーは、プレイヤーをMinecraftアカウントデータベースに対して接続チェックする。サーバーがインターネットに接続されていない場合にのみ、これをfalseに設定する。これがfalseに設定されている場合、偽のアカウントを持つハッカーが接続できる! minecraft.netがダウンしているかアクセスできない場合、これがtrueに設定されていると、プレーヤーは接続できない。この変数を意図的にオフに設定することをサーバーの「クラッキング」と呼び、現在オンラインモードがオフになっているサーバーを「クラッキング」サーバーと呼び、Minecraftのライセンスのないコピーを持つプレイヤーが参加できるようにする。 |
− | true-有効。 サーバーは、インターネットに接続していると想定し、接続しているすべてのプレーヤーをチェックします。 |
||
− | + | :'''true''' - 有効。 サーバーは、インターネットに接続していると想定し、接続しているすべてのプレーヤーをチェックする。 |
|
+ | :'''false''' - 無効。 サーバーは、接続しているプレーヤーをチェックしない。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''op-permission-level'''</span> |
− | | |
+ | |整数(1~4) |
− | | |
+ | |4 |
− | | |
+ | |{{Anchor|op-permission-level}}{{cmd|op}} を使用したときに与えられるデフォルトの権限レベルを設定する。すべてのレベルは、その下位のレベルの権限を有している。 |
+ | |||
:'''1''' - OP は、スポーン範囲を保護する設定を無視できる。 |
:'''1''' - OP は、スポーン範囲を保護する設定を無視できる。 |
||
:'''2''' - OP は、シングルプレイでのチートコマンド(ただし、{{cmd|publish}}、{{cmd|debug}}、{{cmd|reload}} を除く)およびコマンドブロックを使用できる。コマンドブロックはこのレベルと同じ権限をもつ。 |
:'''2''' - OP は、シングルプレイでのチートコマンド(ただし、{{cmd|publish}}、{{cmd|debug}}、{{cmd|reload}} を除く)およびコマンドブロックを使用できる。コマンドブロックはこのレベルと同じ権限をもつ。 |
||
271行目: | 474行目: | ||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''player-idle-timeout'''</span> |
− | | |
+ | |整数 |
− | | |
+ | |0 |
− | | |
+ | |{{Anchor|player-idle-timeout}}無操作のプレイヤーがサーバーからキックされるまでの時間を分で設定する。0にすると無効になる。 |
+ | |||
:'''注意:''' ''無操作状態は、以下の操作パケットを受け取ることでリセットされる。'' |
:'''注意:''' ''無操作状態は、以下の操作パケットを受け取ることでリセットされる。'' |
||
− | :* |
+ | :*[http://wiki.vg/Protocol#Click_Window ウィンドウのクリック] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Enchant_Item アイテムのエンチャント] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Update_Sign 看板の更新] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Player_Digging 採掘] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Player_Block_Placement ブロックの設置] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Held_Item_Change_.28serverbound.29 所持しているアイテムの変更] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Animation_.28serverbound.29 アニメーション](腕を振る動作) |
− | :* |
+ | :*[http://wiki.vg/Protocol#Entity_Action エンティティアクション] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Client_Status クライアントステータスの通知] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Chat_Message_.28serverbound.29 チャット] |
− | :* |
+ | :*[http://wiki.vg/Protocol#Use_Entity エンティティの使用] |
|- |
|- |
||
!prevent-proxy-connections |
!prevent-proxy-connections |
||
|ブール値 |
|ブール値 |
||
|false |
|false |
||
− | + | |{{Anchor|prevent-proxy-connections}}サーバーから送信されたISP/ASがMojangの認証サーバーと異なる場合、プレイヤーはキックされる。 |
|
− | true |
+ | :'''true''' - 有効。VPNやプロキシを使用できないようにする。 |
+ | :'''false''' - 無効。VPNやプロキシの使用を阻止しない。 |
||
+ | <br /> |
||
− | false - 無効。VPN やプロキシを使用しているユーザーもサーバーへ接続することができる。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''pvp'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|pvp}}サーバーでの PvP を有効にする。PvPが有効な場合にのみ、プレイヤーが自身に向けて撃った矢のダメージを受ける。 |
+ | |||
:'''true''' - プレイヤー同士での攻撃でダメージを受ける。 |
:'''true''' - プレイヤー同士での攻撃でダメージを受ける。 |
||
:'''false''' - プレイヤー同士での攻撃ができない。('''Player versus Environment''' ('''PvE''') として知られている) |
:'''false''' - プレイヤー同士での攻撃ができない。('''Player versus Environment''' ('''PvE''') として知られている) |
||
+ | |||
'''注意:''' ''プレイヤーによって発生した間接的なダメージ([[溶岩]]や[[炎]]、[[TNT]]、[[水]]や[[砂]]、[[砂利]]での窒息など)は、PvP が有効でなくとも受ける。'' |
'''注意:''' ''プレイヤーによって発生した間接的なダメージ([[溶岩]]や[[炎]]、[[TNT]]、[[水]]や[[砂]]、[[砂利]]での窒息など)は、PvP が有効でなくとも受ける。'' |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''query.port'''</span> |
− | | |
+ | |整数(1~(2^16 - 2)) |
− | | |
+ | |25565 |
− | | |
+ | |{{Anchor|query.port}}クエリサーバーのポート番号を設定する。('''enable-query''' を参照) |
+ | |- |
||
− | |||
+ | !'''rate-limit''' |
||
+ | |整数 |
||
+ | |0 |
||
+ | |{{Anchor|rate-limit}}プレイヤーがキックされるまでに送信できるパケットの最大量を設定する。0 に設定すると無効になる。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''rcon.password'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |''なし'' |
− | | |
+ | |{{Anchor|rcon.password}}RCONのパスワードを設定する。リモートコンソールプロトコルで、他のアプリケーションがインターネット経由でMinecraftサーバーに接続できるようにする。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''rcon.port'''</span> |
− | | |
+ | |整数(1~65534) |
− | | |
+ | |25575 |
− | | |
+ | |{{Anchor|rcon.port}}RCONネットワークのポート番号を設定する。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''resource-pack'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |''なし'' |
− | | |
+ | |{{Anchor|resource-pack}}[[リソースパック]]への URI を設定する。プレイヤーは使用するかどうかを選択することができる。 |
− | 設定する際に、<code>:</code> および <code>=</code>はバックスラッシュ (<code>\</code>) を付けてエスケープする必要がある。例: http\://somedomain.com/somepack.zip?someparam\=somevalue |
+ | 設定する際に(1.15.2以前のいくつかのバージョンでは)、<code>:</code> および <code>=</code>はバックスラッシュ (<code>\</code>) を付けてエスケープする必要がある。例: http\://somedomain.com/somepack.zip?someparam\=somevalue |
+ | リソースパックのファイルサイズが100MiB(1.15以前:50MiB(≒50.4MB))を超えない必要がある。ダウンロードの成否はクライアント側で記録され、サーバー側には記録されないことに注意。 |
||
− | Note download success/failure is logged by the client, not by the server. |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''resource-pack-sha1'''</span><br /> |
− | | |
+ | |文字列 |
− | | |
+ | |''なし'' |
− | | |
+ | |{{Anchor|resource-pack-hash}}リソースパックのSHA-1 digestを小文字の16進数で指定できる。 リソースパックの整合性を検証するために使用されるため、指定することが推奨される。 |
+ | '''注意:'''リソースパックが異なる場合、サーバー起動時にコンソールに「Invalid sha1 for resource-pack-sha1」という黄色いメッセージが表示される。ハッシュ関数の性質上、エラーが発生する可能性は僅かであるため、この結果は何の影響も与えない。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''server-ip'''</span> |
− | | |
+ | |文字列 |
− | | |
+ | |''なし'' |
− | | |
+ | |{{Anchor|server-ip}}サーバーを特定のIPにバインドしたい場合に設定する必要がある。server-ipは空欄にすることが推奨される。 |
+ | |||
− | :Set to blank, or the IP you want your server to run (listen) on. |
||
+ | :空欄にするか、サーバーを実行(listen)したいIPを設定する。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''server-port'''</span> |
− | | |
+ | |整数(1~65534) |
− | | |
+ | |25565 |
− | | |
+ | |{{Anchor|server-port}}サーバーがホスト(リスン)するポート番号を設定する。(ルーターやファイアウォールを使用している場合は)[[wikipedia:ネットワークアドレス変換|NAT]] を使用したネットワークで[[wikipedia:ポート番号#ポートフォワード|ポートフォワード]]をしなければならない。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''snooper-enabled'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|snooper-enabled}}サーバーが定期的にsnoopデータをhttp://snoop.minecraft.net<nowiki/>に送信するかどうかを設定する |
+ | |||
− | :'''false''' - disable snooping. |
||
− | :''' |
+ | :'''false''' - 無効にする。 |
+ | :'''true''' - 有効にする。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''spawn-animals'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|spawn-animals}}[[動物]]がスポーンできるかどうかを決定する。 |
+ | |||
:'''true''' - 動物は通常どおりスポーンする。 |
:'''true''' - 動物は通常どおりスポーンする。 |
||
:'''false''' - 動物はすぐに消滅する。 |
:'''false''' - 動物はすぐに消滅する。 |
||
+ | |||
''ヒント: もし大きなラグが発生しているなら、この設定を false にするとよい。'' |
''ヒント: もし大きなラグが発生しているなら、この設定を false にするとよい。'' |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''spawn-monsters'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|spawn-monsters}}モンスターがスポーンするかどうかを決定する。 |
+ | |||
:'''true''' - モンスターは夜や暗所で出現する。 |
:'''true''' - モンスターは夜や暗所で出現する。 |
||
:'''false''' - モンスターは出現しない。 |
:'''false''' - モンスターは出現しない。 |
||
+ | |||
この設定は difficulty が 0(ピースフル)に設定されていた場合には機能しない。また、difficulty が 0 でない場合でも、[[モンスタースポナー]]からモンスターはスポーンすることができる。 |
この設定は difficulty が 0(ピースフル)に設定されていた場合には機能しない。また、difficulty が 0 でない場合でも、[[モンスタースポナー]]からモンスターはスポーンすることができる。 |
||
380行目: | 598行目: | ||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''spawn-npcs'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|spawn-npcs}}村人がスポーンするかどうかを決定する。 |
+ | |||
− | :'''true''' - 村人はスポーンする。 |
||
− | :''' |
+ | :'''true''' - 有効。村人はスポーンする。 |
+ | :'''false''' - 無効。村人はスポーンしない。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''spawn-protection'''</span> |
− | | |
+ | |整数 |
− | | |
+ | |16 |
− | | |
+ | |{{Anchor|spawn-protection}}スポーン保護の半径を2''x''+1として決定する。これを0に設定しても、スポーン保護は無効にならない。0は、スポーンポイントの単一ブロックを保護する。1は、スポーンポイントを中心とした3x3の領域を保護する。2は5x5を保護し、3は7x7を保護する。このオプションは、最初のサーバーの起動時に生成されず、最初のプレーヤーが参加したときに表示される。 サーバーにopsが設定されていない場合、スポーン保護は自動的に無効になる。 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''use-native-transport'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
− | | |
+ | |{{Anchor|use-native-transport}}Linuxサーバーのパフォーマンスの向上:Linuxでのパケット送受信の最適化 |
− | true-有効。 Linuxパケットの送受信の最適化を有効にする |
||
− | + | :'''true''' - 有効。 Linuxパケットの送受信の最適化を有効にする。 |
|
+ | :'''false''' - 無効。 Linuxパケットの送受信の最適化を無効にする。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''view-distance'''</span> |
− | | |
+ | |整数(2~32) |
− | | |
+ | |10 |
− | | |
+ | |{{Anchor|view-distance}}サーバーがクライアントに送信するワールドデータの量を、プレーヤーの各方向のチャンク(直径ではなく半径)で測定して設定する。 サーバー側の表示距離を決定する。 |
+ | ''10がデフォルト/推奨である。 大きなラグがある場合は、この値を小さくすることが推奨される。'' |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''white-list'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
+ | |{{Anchor|white-list}} |
||
− | | サーバーでホワイトリストを有効にします。ホワイトリストを有効にすると、ホワイトリストにないユーザーは接続できなくなります。 たとえば、実際の友人や見知らぬ人のためのアプリケーションサーバーなどで慎重に選択されたプライベートサーバーなどを対象としています。 |
||
− | + | ホワイトリストを有効にする。 |
|
+ | ホワイトリストを有効にした場合、ホワイトリストにないプレイヤーは接続できなくなる。例えば、顔見知りの友達や知らない人から申請により許可されるサーバーなど、プレイベートなサーバーを対象とする。 |
||
− | true-ホワイトリストの生成にファイルwhitelist.jsonが使用されます。 |
||
+ | :'''false''' - ホワイトリストを使用しない。 |
||
− | 注意:Opは自動的にホワイトリストに登録されるため、ホワイトリストに追加する必要はありません。{{Anchor|white-list}} |
||
+ | :'''true''' - ホワイトリストを生成するために、whitelist.jsonファイルが使用される。 |
||
− | 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. |
||
+ | |||
− | :'''false''' - No white list is used. |
||
+ | '''注意:'''''OPは自動的にホワイトリストに登録されるため、ホワイトリストに追加する必要はない。'' |
||
− | :'''true''' - The file whitelist.json is used to generate the white list. |
||
− | '''注意:''' ''Ops are automatically white listed, and there is no need to add them to the whitelist.'' |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">'''enforce-whitelist'''</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
− | | |
+ | |{{Anchor|enforce-whitelist}}サーバーにホワイトリストを適用する。 |
− | + | このオプションを有効にした場合、ホワイトリストファイルに登録されていないプレイヤーは、サーバーがホワイトリストファイルを再読み込みした後に、サーバーからキックされる。 |
|
− | + | :'''false''' - ホワイトリストに登録されていないプレイヤーはキックされない。 |
|
+ | :'''true''' - ホワイトリストに登録されていないオンラインのプレイヤーはキックされる。 |
||
|} |
|} |
||
+ | ==''Minecraft'' Classic サーバープロパティ== |
||
− | {{Anchor|announce-player-achievements}}In versions prior to [[1.12]], the '''announce-player-achievements''' boolean property (default true) was used to toggle whether [[achievements]] were broadcasted to all players. This property no longer exists, but if it is set, the <code>announceAdvancements</code> [[gamerule]] will automatically be updated to match and the property will be removed. |
||
− | |||
− | == ''Minecraft'' Classic サーバープロパティ == |
||
{| class="wikitable" data-description="Server properties" |
{| class="wikitable" data-description="Server properties" |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">キー</span> |
− | ! |
+ | !種類 |
− | ! |
+ | !デフォルト値 |
− | ! |
+ | !解説 |
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">verify-names</span><!-- これは推測である --> |
− | | |
+ | |ブール値 |
− | | |
+ | |true |
+ | |有効にすると、サーバーがMinecraft.net上でクライアントが同じIPでログインしていることを確認する。サーバーがローカルIP(127.0.0.1)を参照し、Minecraft.netが外部IPを参照するため、サーバーをホストしているのと同じコンピューターでプレイしようとするユーザーに問題が発生した。ホストしているのと同じコンピューターからサーバーでプレイしたくない場合は、これを有効にするとよい |
||
− | | 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 |
||
+ | |||
− | :'''true''' - Enabled. The server will check all names with Minecraft.net |
||
+ | :'''true''' - 有効。 サーバーがすべての名前をMinecraft.netでチェックする |
||
− | :'''false''' - Disabled. The server will make sure the IP matches |
||
+ | :'''false''' - 無効。 サーバーがIPが一致することを確認する |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">admin-slot</span> |
− | | |
+ | |ブール値 |
− | | |
+ | |false |
+ | |サーバーがいっぱいの場合でも、opsの参加を許可する |
||
− | | Allow ops to join even if the server is full. |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">public</span> |
− | | |
+ | |ブール値 |
− | | |
+ | | |
+ | |サーバーをサーバーリストに表示するかどうか。 |
||
− | | Whether the server should be displayed in the server list, or not. |
||
+ | |||
− | :'''true''' - The server will be displayed in the server list - anyone can see it. |
||
+ | :'''true''' - サーバーはサーバーリストに表示され、誰でも見ることができる。 |
||
− | :'''false''' - Only people with the URL which can be found in externalurl.txt and people who know the IP and port can join the server |
||
+ | :'''false''' - externalurl.txtにあるURLを持ち、IPとポートを知っている人だけがサーバーに参加できる。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">server-name</span> |
− | | |
+ | |文字列 |
− | | |
+ | | |
+ | |サーバーの名前。 これはサーバーリストに表示され、誰かがサーバーに参加しているときに表示される |
||
− | | The name of the server. This is displayed in the server list and when someone is joining the server |
||
+ | |||
− | * A single line of text. Characters such as ' (apostrophe) may need to be escaped by adding a backslash before them. |
||
+ | *1行のテキスト。'(アポストロフィ)などの文字は、その前にバックスラッシュを追加してエスケープする必要がある場合がある。 |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">max-players</span> |
− | | |
+ | |整数(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. |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">max-connections</span> |
− | | |
+ | |整数(1~3) |
− | | |
+ | | |
+ | |サーバーが同じIPから受け入れる接続の最大数。 |
||
− | | The max number of connections the server will accept from the same IP. |
||
+ | |||
− | '''注意:''' ''If you try to set it higher than 3 it will be changed back to 3.'' |
||
+ | '''注意:'''''3より大きく設定しようとすると、3に戻る。'' |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">motd</span> |
− | | |
+ | |文字列 |
− | | |
+ | | |
+ | |MOTDはMessage of the Day(今日のメッセージ)の略だが、毎日変更する必要はない。 ユーザーがサーバーに参加すると、MOTDが表示される。 |
||
− | | 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. |
||
|- |
|- |
||
− | ! |
+ | !<span style="white-space:nowrap;">grow-trees</span> |
− | | |
+ | |ブール値 |
− | | |
+ | | |
+ | |サーバーで植えられた苗木が木に成長するかどうか。 |
||
− | | Whether or not the server will allow planted saplings to grow into trees. |
||
+ | |||
− | :'''true''' - the server will allow saplings to grow into trees. |
||
+ | :'''true''' - サーバーで苗木は木に成長する。 |
||
− | :'''false''' - the server will not allow saplings to grow into trees. |
||
+ | :'''false''' - サーバーで苗木は木に成長しない。 |
||
|} |
|} |
||
<!--{{Java Edition}}--> |
<!--{{Java Edition}}--> |
||
− | |||
[[カテゴリ:サーバー]] |
[[カテゴリ:サーバー]] |
||
[[de:Server.properties]] |
[[de:Server.properties]] |
||
+ | [[el:Server.properties]] |
||
[[en:Server.properties]] |
[[en:Server.properties]] |
||
[[es:Server.properties]] |
[[es:Server.properties]] |
||
512行目: | 735行目: | ||
[[nl:Server.properties]] |
[[nl:Server.properties]] |
||
[[pl:Server.properties]] |
[[pl:Server.properties]] |
||
+ | [[pt:Server.properties]] |
||
[[zh:Server.properties]] |
[[zh:Server.properties]] |
2024年4月8日 (月) 12:37時点における最新版
server.propertiesは、(MinecraftあるいはMinecraft Classicの)マルチプレイサーバーの全ての設定を保存するファイルである。
server.properties を編集する際には、行の順序は任意に変更して構わないが、元と同じ構造にすることが重要である。イコールの前の文字列はキーであり、変更してはいけない。イコールの後の文字列はプロパティの値で、編集してよい。#
で始まる行はコメントである。これらの行は変更したり削除してもゲームに影響はない。
server.propertiesに変更を加えた後、それらをサーバーに適用するには、サーバーを再起動しなければならない。もう一つの手段は、サーバーコンソールやゲーム内で/reload
を使用することで、変更を再読み込みできる。
server.propertiesで全てのプロパティが指定されていない場合(新しいバージョンで新しくプロパティが追加された場合や、ファイルが存在しない場合など)、起動時にサーバーはserver.propertiesは新しいプロパティを含むファイルを書き換え、新しいプロパティに初期値を設定する。
server.propertiesはその拡張子にもかかわらず、UTF-8エンコーディングの通常のテキストファイルであるため、Windows用のメモ帳、Mac用のテキストエディット、Linux用のnanoやvimなどのテキストエディタで編集できる。
ファイルの場所
このファイルは、(存在しない場合に)サーバーの初回起動時に自動的に生成される。
OS | ファイルの場所 | 備考 |
---|---|---|
Windows | 作業ディレクトリ(デフォルトはserver.jar と同じフォルダ)
|
server.jar 、同じフォルダ内の起動スクリプト、またはこれらいずれかへのショートカットをクリックしてサーバーを起動すると、作業ディレクトリはserver.jar と同じフォルダに設定されます。
|
Linux
Unix Unix/Mac |
作業ディレクトリのパス (pwd) |
ホームディレクトリ(/home/ユーザー名)から起動すると、サーバーファイルは/home/ユーザー名に生成される。作成したいディレクトリにサーバーファイルを生成されるようにする際には、以下の点に注意する必要がある。
|
Bedrock Edition
このファイルはbedrock_server.exeでダウンロードされます
OS | ファイルの場所 |
---|---|
Windows | bedrock_server.exeと同じディレクトリ |
Linux | bedrock_serverと同じディレクトリ |
server.properties
これらは新しくインストールされる Minecraft サーバーのデフォルト設定である。
Java Edition
#Minecraft server properties
#(last boot timestamp)
spawn-protection=16
max-tick-time=60000
query.port=25565
generator-settings=
sync-chunk-writes=true
force-gamemode=false
allow-nether=true
enforce-whitelist=false
gamemode=survival
broadcast-console-to-ops=true
enable-query=false
player-idle-timeout=0
text-filtering-config=
difficulty=easy
broadcast-rcon-to-ops=true
spawn-monsters=true
op-permission-level=4
pvp=true
entity-broadcast-range-percentage=100
snooper-enabled=true
level-type=default
enable-status=true
resource-pack-prompt=true
hardcore=false
enable-command-block=true
network-compression-threshold=256
max-players=20
max-world-size=29999984
resource-pack-sha1=
function-permission-level=2
rcon.port=25575
server-port=25565
server-ip=
spawn-npcs=true
require-resource-pack=false
allow-flight=false
level-name=world
view-distance=15
resource-pack=
spawn-animals=true
white-list=false
rcon.password=
generate-structures=true
online-mode=true
level-seed=
prevent-proxy-connections=false
use-native-transport=true
enable-jmx-monitoring=false
motd=A Minecraft Server
rate-limit=0
enable-rcon=false
21w15aの初期設定。
Bedrock Edition
server-name=Dedicated Server
# Used as the server name
# Allowed values: Any string without semicolon symbol.
gamemode=survival
# Sets the game mode for new players.
# Allowed values: "survival", "creative", or "adventure"
force-gamemode=false
# force-gamemode=false (or force-gamemode is not defined in the server.properties)
# prevents the server from sending to the client gamemode values other
# than the gamemode value saved by the server during world creation
# even if those values are set in server.properties after world creation.
#
# force-gamemode=true forces the server to send to the client gamemode values
# other than the gamemode value saved by the server during world creation
# if those values are set in server.properties after world creation.
difficulty=easy
# Sets the difficulty of the world.
# Allowed values: "peaceful", "easy", "normal", or "hard"
allow-cheats=false
# If true then cheats like commands can be used.
# Allowed values: "true" or "false"
max-players=10
# The maximum number of players that can play on the server.
# Allowed values: Any positive integer
online-mode=true
# If true then all connected players must be authenticated to Xbox Live.
# Clients connecting to remote (non-LAN) servers will always require Xbox Live authentication regardless of this setting.
# If the server accepts connections from the Internet, then it's highly recommended to enable online-mode.
# Allowed values: "true" or "false"
white-list=false
# If true then all connected players must be listed in the separate whitelist.json file.
# Allowed values: "true" or "false"
server-port=19132
# Which IPv4 port the server should listen to.
# Allowed values: Integers in the range [1, 65535]
server-portv6=19133
# Which IPv6 port the server should listen to.
# Allowed values: Integers in the range [1, 65535]
view-distance=32
# The maximum allowed view distance in number of chunks.
# Allowed values: Positive integer equal to 5 or greater.
tick-distance=4
# The world will be ticked this many chunks away from any player.
# Allowed values: Integers in the range [4, 12]
player-idle-timeout=30
# After a player has idled for this many minutes they will be kicked. If set to 0 then players can idle indefinitely.
# Allowed values: Any non-negative integer.
max-threads=8
# Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible.
# Allowed values: Any positive integer.
level-name=Bedrock level
# Allowed values: Any string without semicolon symbol or symbols illegal for file name: /\n\r\t\f`?*\\<>|\":
level-seed=
# Use to randomize the world
# Allowed values: Any string
default-player-permission-level=member
# Permission level for new players joining for the first time.
# Allowed values: "visitor", "member", "operator"
texturepack-required=false
# Force clients to use texture packs in the current world
# Allowed values: "true" or "false"
content-log-file-enabled=false
# Enables logging content errors to a file
# Allowed values: "true" or "false"
compression-threshold=1
# Determines the smallest size of raw network payload to compress
# Allowed values: 0-65535
server-authoritative-movement=server-auth
# Allowed values: "client-auth", "server-auth", "server-auth-with-rewind"
# Enables server authoritative movement. If "server-auth", the server will replay local user input on
# the server and send down corrections when the client's position doesn't match the server's.
# If "server-auth-with-rewind" is enabled and the server sends a correction, the clients will be instructed
# to rewind time back to the correction time, apply the correction, then replay all the player's inputs since then. This results in smoother and more frequent corrections.
# Corrections will only happen if correct-player-movement is set to true.
player-movement-score-threshold=20
# The number of incongruent time intervals needed before abnormal behavior is reported.
# Disabled by server-authoritative-movement.
player-movement-distance-threshold=0.3
# The difference between server and client positions that needs to be exceeded before abnormal behavior is detected.
# Disabled by server-authoritative-movement.
player-movement-duration-threshold-in-ms=500
# The duration of time the server and client positions can be out of sync (as defined by player-movement-distance-threshold)
# before the abnormal movement score is incremented. This value is defined in milliseconds.
# Disabled by server-authoritative-movement.
correct-player-movement=false
# If true, the client position will get corrected to the server position if the movement score exceeds the threshold.
server-authoritative-block-breaking=false
# If true, the server will compute block mining operations in sync with the client so it can verify that the client should be able to break blocks when it thinks it can.
1.16.220.02の初期設定
Minecraft のサーバープロパティ
キー | 種類 | デフォルト値 | 解説 |
---|---|---|---|
allow-flight | ブール値 | false | サバイバルモードで、飛行を可能にする Mod を導入しているプレイヤーに飛行を許可する。
allow-flight が有効になると、荒らし(=Griefer、バグを悪用するプレイヤー)の活動がしやすくなるので、荒らしが多くなるだろう。クリエイティブモードでは、このプロパティは効果を持たない。
|
allow-nether | ブール値 | true | プレイヤーがネザーに行くことを許可する。 |
broadcast-console-to-ops | ブール値 | true | コンソールコマンドの出力をオンラインのオペレータに送信する。 |
broadcast-rcon-to-ops | ブール値 | true | オンラインのオペレータにrconコンソールのコマンド出力を送信する。 |
difficulty | 文字列 | easy | サーバーの難易度(Mob から受けるダメージや、プレイヤーの空腹度、毒のダメージなどに影響する)を決定する。
難易度が数値で指定されている場合、難易度名に置き換えられる。
|
enable-command-block | ブール値 | false | コマンドブロックを有効にする。 |
enable-jmx-monitoring | ブール値 | false | オブジェクト名net.minecraft.server:type=Server およびaverageTickTime 、tickTimes の2つの属性を持つMBeanを公開し、ミリ秒単位のティックを公開する。
Java runtimeでJMXを有効にするには、ここに記載されているように、JVMフラグを起動時に追加する必要がある。 |
enable-rcon | ブール値 | false | サーバーコンソールへのリモートアクセスを有効にする。 |
sync-chunk-writes | ブール値 | true | 同期チャンク書き込みを有効にする。 |
enable-status | ブール値 | true | サーバーをサーバーリスト上でオンラインとして表示する。
falseに設定すると、クライアントからの応答を抑制する。オフラインとして表示されるが、接続を受け付ける。 |
enable-query | ブール値 | false | GameSpy4のプロトコルサーバーリスナーを有効にする。サーバーに関する情報を取得するために使用される。 |
entity-broadcast-range-percentage | 整数(0~500) | 100 | エンティティがどの程度近くにいる場合にクライアントに送信するかを制御する。値を高くするほど遠くから描画され、ラグが発生する可能性がある。これはデフォルト値の割合で表される。50に設定すると通常の半分になる。これはクライアントのビデオ設定の機能を真似ている(描画距離のように、クライアントがサーバーの設定下であれば変更することができる)。 |
force-gamemode | ブール値 | false | プレイヤーにデフォルトのゲームモードで参加させる。
|
function-permission-level | 整数 (1-4) | 2 | 関数の既存の権限レベルを設定する。
すべてのレベルは権限レベルを参照。 |
gamemode | 文字列 | survival | ゲームモードを決定する。
難易度が数値で指定されている場合、難易度名に置き換えられる。 |
generate-structures | ブール値 | true | 構造物(村など)を生成するかどうかを決定する。
注意: これが false に設定されている場合でも、ダンジョンは生成される。 |
generator-settings | 文字列 | なし | ワールド生成のカスタマイズに使用される設定。フォーマットに従い、JSONを記述する。全ての: は\: でエスケープする必要がある。
|
hardcore | ブール値 | false | true に設定した場合、プレイヤーが死んだ際にスペクテイターモードになる。 |
level-name | 文字列 | world | 「レベル名」の値は、ワールド名とそのフォルダ名として使用される。ここで保存したゲームフォルダをここにコピーし、名前を同じフォルダに変更して代わりに読み込むこともできる。
|
level-seed | 文字列 | なし | シングルプレイのように、ワールドのシード値を設定できる。新しくワールドを作るときに利用される。
|
level-type | 文字列 | DEFAULT | 生成されるマップのタイプを決定する。
|
max-build-height | 整数 | 256 | 建築が許可される最高高度。地形の生成は、制限を越えて生成される場合がある。256が最大値であるが、8の倍数である必要がある。 |
max-players | 整数(0~(2^31 - 1)) | 20 | 同時にサーバー上でプレイできるプレイヤーの最大数。より多くのプレイヤーがサーバー上に存在する場合、より多くのリソースを使用することに注意。また、OPプレーヤーの接続数は最大プレイヤー数には数えられないが、OPは現在、満員のサーバーに参加することはできない。ただし、これはサーバーのディレクトリにある ops.json というファイル中にある、変更したい OP プレイヤーの bypassesPlayerLimit を true(デフォルトは false)に設定することで変更できる。このフィールドの値が非常に大きいと、クライアント側のユーザーリストが壊れてしまう。 |
max-tick-time |
整数(0~(2^63 - 1)) | 60000 | サーバーのウォッチドッグが、サーバーを停止させるまでにかかる単一ティックの最大ミリ秒。サーバーの停止時に A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, server will forcibly shutdown. というメッセージが表示される。この基準が満たされると System.exit(1) が呼び出される。
|
max-world-size |
整数(1~29999984) | 29999984 | ワールド境界の最大サイズの半径を設定する。ワールド境界を大きく設定すると、コマンドは正常に実行されるが、実際にはワールド境界は上限を超えて広がらない。max-world-sizeをデフォルト値よりも大きく設定しても何も起こらない。
|
motd | 文字列 | A Minecraft Server | クライアントのサーバー一覧の、サーバー名の下に表示されるメッセージ。
|
network-compression-threshold |
整数 | 256 | デフォルトでは、n-1バイトの大きさのパケットは正常に送信できるが、nバイト以上のパケットは圧縮されるため、数値が小さいほど圧縮率は高くなるが、少量のバイトを圧縮すると、実際には入ったものよりも大きな結果になる可能性がある。
注意:イーサネットの仕様では、64バイト未満のパケットは64バイトにパディングされる必要があるため、64未満の値を設定しても効果がない場合がある。MTU(通常は1500バイト)を超えることもお勧めしない。 |
online-mode | ブール値 | true | サーバーは、プレイヤーをMinecraftアカウントデータベースに対して接続チェックする。サーバーがインターネットに接続されていない場合にのみ、これをfalseに設定する。これがfalseに設定されている場合、偽のアカウントを持つハッカーが接続できる! minecraft.netがダウンしているかアクセスできない場合、これがtrueに設定されていると、プレーヤーは接続できない。この変数を意図的にオフに設定することをサーバーの「クラッキング」と呼び、現在オンラインモードがオフになっているサーバーを「クラッキング」サーバーと呼び、Minecraftのライセンスのないコピーを持つプレイヤーが参加できるようにする。
|
op-permission-level | 整数(1~4) | 4 | /op を使用したときに与えられるデフォルトの権限レベルを設定する。すべてのレベルは、その下位のレベルの権限を有している。
|
player-idle-timeout | 整数 | 0 | 無操作のプレイヤーがサーバーからキックされるまでの時間を分で設定する。0にすると無効になる。
|
prevent-proxy-connections | ブール値 | false | サーバーから送信されたISP/ASがMojangの認証サーバーと異なる場合、プレイヤーはキックされる。
|
pvp | ブール値 | true | サーバーでの PvP を有効にする。PvPが有効な場合にのみ、プレイヤーが自身に向けて撃った矢のダメージを受ける。
注意: プレイヤーによって発生した間接的なダメージ(溶岩や炎、TNT、水や砂、砂利での窒息など)は、PvP が有効でなくとも受ける。 |
query.port | 整数(1~(2^16 - 2)) | 25565 | クエリサーバーのポート番号を設定する。(enable-query を参照) |
rate-limit | 整数 | 0 | プレイヤーがキックされるまでに送信できるパケットの最大量を設定する。0 に設定すると無効になる。 |
rcon.password | 文字列 | なし | RCONのパスワードを設定する。リモートコンソールプロトコルで、他のアプリケーションがインターネット経由でMinecraftサーバーに接続できるようにする。 |
rcon.port | 整数(1~65534) | 25575 | RCONネットワークのポート番号を設定する。 |
resource-pack | 文字列 | なし | リソースパックへの URI を設定する。プレイヤーは使用するかどうかを選択することができる。
設定する際に(1.15.2以前のいくつかのバージョンでは)、 リソースパックのファイルサイズが100MiB(1.15以前:50MiB(≒50.4MB))を超えない必要がある。ダウンロードの成否はクライアント側で記録され、サーバー側には記録されないことに注意。 |
resource-pack-sha1 |
文字列 | なし | リソースパックのSHA-1 digestを小文字の16進数で指定できる。 リソースパックの整合性を検証するために使用されるため、指定することが推奨される。
注意:リソースパックが異なる場合、サーバー起動時にコンソールに「Invalid sha1 for resource-pack-sha1」という黄色いメッセージが表示される。ハッシュ関数の性質上、エラーが発生する可能性は僅かであるため、この結果は何の影響も与えない。 |
server-ip | 文字列 | なし | サーバーを特定のIPにバインドしたい場合に設定する必要がある。server-ipは空欄にすることが推奨される。
|
server-port | 整数(1~65534) | 25565 | サーバーがホスト(リスン)するポート番号を設定する。(ルーターやファイアウォールを使用している場合は)NAT を使用したネットワークでポートフォワードをしなければならない。 |
snooper-enabled | ブール値 | true | サーバーが定期的にsnoopデータをhttp://snoop.minecraft.netに送信するかどうかを設定する
|
spawn-animals | ブール値 | true | 動物がスポーンできるかどうかを決定する。
ヒント: もし大きなラグが発生しているなら、この設定を false にするとよい。 |
spawn-monsters | ブール値 | true | モンスターがスポーンするかどうかを決定する。
この設定は difficulty が 0(ピースフル)に設定されていた場合には機能しない。また、difficulty が 0 でない場合でも、モンスタースポナーからモンスターはスポーンすることができる。 ヒント: もし大きなラグが発生しているなら、この設定を false にするとよい。 |
spawn-npcs | ブール値 | true | 村人がスポーンするかどうかを決定する。
|
spawn-protection | 整数 | 16 | スポーン保護の半径を2x+1として決定する。これを0に設定しても、スポーン保護は無効にならない。0は、スポーンポイントの単一ブロックを保護する。1は、スポーンポイントを中心とした3x3の領域を保護する。2は5x5を保護し、3は7x7を保護する。このオプションは、最初のサーバーの起動時に生成されず、最初のプレーヤーが参加したときに表示される。 サーバーにopsが設定されていない場合、スポーン保護は自動的に無効になる。 |
use-native-transport | ブール値 | true | Linuxサーバーのパフォーマンスの向上:Linuxでのパケット送受信の最適化
|
view-distance | 整数(2~32) | 10 | サーバーがクライアントに送信するワールドデータの量を、プレーヤーの各方向のチャンク(直径ではなく半径)で測定して設定する。 サーバー側の表示距離を決定する。
10がデフォルト/推奨である。 大きなラグがある場合は、この値を小さくすることが推奨される。 |
white-list | ブール値 | false |
ホワイトリストを有効にする。 ホワイトリストを有効にした場合、ホワイトリストにないプレイヤーは接続できなくなる。例えば、顔見知りの友達や知らない人から申請により許可されるサーバーなど、プレイベートなサーバーを対象とする。
注意:OPは自動的にホワイトリストに登録されるため、ホワイトリストに追加する必要はない。 |
enforce-whitelist | ブール値 | false | サーバーにホワイトリストを適用する。
このオプションを有効にした場合、ホワイトリストファイルに登録されていないプレイヤーは、サーバーがホワイトリストファイルを再読み込みした後に、サーバーからキックされる。
|
Minecraft Classic サーバープロパティ
キー | 種類 | デフォルト値 | 解説 |
---|---|---|---|
verify-names | ブール値 | true | 有効にすると、サーバーがMinecraft.net上でクライアントが同じIPでログインしていることを確認する。サーバーがローカルIP(127.0.0.1)を参照し、Minecraft.netが外部IPを参照するため、サーバーをホストしているのと同じコンピューターでプレイしようとするユーザーに問題が発生した。ホストしているのと同じコンピューターからサーバーでプレイしたくない場合は、これを有効にするとよい
|
admin-slot | ブール値 | false | サーバーがいっぱいの場合でも、opsの参加を許可する |
public | ブール値 | サーバーをサーバーリストに表示するかどうか。
| |
server-name | 文字列 | サーバーの名前。 これはサーバーリストに表示され、誰かがサーバーに参加しているときに表示される
| |
max-players | 整数(0~256) | サーバーで同時にプレイできるプレーヤーの最大数。 多くのプレーヤーがサーバー上にいる場合、多くのリソースが使用されることに注意。また、管理者接続は最大プレーヤーに対してカウントされない。 | |
max-connections | 整数(1~3) | サーバーが同じIPから受け入れる接続の最大数。
注意:3より大きく設定しようとすると、3に戻る。 | |
motd | 文字列 | MOTDはMessage of the Day(今日のメッセージ)の略だが、毎日変更する必要はない。 ユーザーがサーバーに参加すると、MOTDが表示される。 | |
grow-trees | ブール値 | サーバーで植えられた苗木が木に成長するかどうか。
|