wiki:TipAndDoc/Games/Minecraft/server

Version 2 (modified by mitty, 8 years ago) (diff)

--

  • server.properties
    • デフォルトからの変更点
      • difficulty=2
        • 難易度:ノーマル
      • snooper-enabled=false
        • true:snoop.minecraft.netにsnoopingデータを送信しない
    • spawn-protection

      ... Setting this to 0 will not disable spawn protection. 0 will protect the single block at the spawn point. ... If there are no ops set on the server, the spawn protection will be disabled automatically.

Can't keep up! Did the system time change, or is the server overloaded?

  • CPU負荷が高いと起こる模様
    • latest.log
      [08:00:06] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2056ms behind, skipping 41 tick(s)
      [08:00:24] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4273ms behind, skipping 85 tick(s)
      [08:00:43] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5118ms behind, skipping 102 tick(s)
      [08:05:30] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2332ms behind, skipping 46 tick(s)
      [08:05:49] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 5608ms behind, skipping 112 tick(s)
      [08:10:30] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2998ms behind, skipping 59 tick(s)
      [08:10:46] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3696ms behind, skipping 73 tick(s)
      [08:15:32] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2093ms behind, skipping 41 tick(s)
      [08:15:54] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4513ms behind, skipping 90 tick(s)
      
  • 5分ごとに起きているので、muninによる影響が考えられる
  • トピック - マルチサーバーの使用メモリの増やし方について • Minecraft 非公式日本ユーザーフォーラム
    • diskI/O軽減のため、 /run/shm/ 上にworldデータを移動しても状況は変わらず

convert single player world data to multi server

  1. server.properties のlevel-nameに指定されているフォルダ名(デフォルではworld)に、saves以下のワールドデータをコピー
  2. /playerdata/<uuid>.dat を、/players/<player>.dat にコピー /players/<player>.datが存在していれば削除
    • これをしないと出現位置やインベントリの中身などが引き継がれない 古い形式である/players/*.dat ファイルが存在しているとそちらが優先して読み込まれるため

sessionserver.mojang.com

  • クライアントのサーバーへのログイン時に認証される

Attachments (1)

Download all attachments as: .zip