Changes between Version 2 and Version 3 of TipAndDoc/Games/Minecraft/server


Ignore:
Timestamp:
May 29, 2016 6:18:02 PM (4 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Games/Minecraft/server

    v2 v3  
    4040 = sessionserver.mojang.com = 
    4141 * クライアントのサーバーへのログイン時に認証される[[br]][[Image(sessionserver.mojang.com.png,33%)]] 
     42 
     43 = snoop.minecraft.net = 
     44 * {{{server.properties}}}で{{{snooper-enabled=true}}}(デフォルト)の時900秒おきに情報が送信される 
     45 * http://wiki.vg/Snoop 
     46 
     47 * 起動後一回目の送信 
     48{{{ 
     49POST /server?version=2 HTTP/1.1 
     50Content-Type: application/x-www-form-urlencoded 
     51Content-Language: en-US 
     52Cache-Control: no-cache 
     53Pragma: no-cache 
     54User-Agent: Java/1.8.0_92 
     55Host: snoop.minecraft.net 
     56Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 
     57Connection: keep-alive 
     58Content-Length: 301 
     59 
     60dedicated=true&gui_supported=headless&os_version=4.5.4-1-ARCH&version=1.9.4&singleplayer=false&jvm_arg%5B1%5D=-Xmx2048M&snooper_token=91b338ef-cec9-4dcb-b01e-0034393c449f&jvm_arg%5B0%5D=-Xms1024M&server_brand=vanilla&snooper_count=0&java_version=1.8.0_92&os_name=Linux&os_architecture=amd64&jvm_args=2 
     61}}} 
     62{{{ 
     63HTTP/1.1 200 OK 
     64Date: Fri, 20 May 2016 10:53:15 GMT 
     65Content-Length: 0 
     66Connection: keep-alive 
     67}}} 
     68 * 2回目以降 
     69{{{ 
     70POST /server?version=2 HTTP/1.1 
     71Content-Type: application/x-www-form-urlencoded 
     72Content-Language: en-US 
     73Cache-Control: no-cache 
     74Pragma: no-cache 
     75User-Agent: Java/1.8.0_92 
     76Host: snoop.minecraft.net 
     77Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 
     78Connection: keep-alive 
     79Content-Length: 1122 
     80 
     81world%5B2%5D%5Bgenerator_name%5D=default&world%5B2%5D%5Bchunks_loaded%5D=0&world%5B0%5D%5Bdifficulty%5D=EASY&players_seen=1&world%5B0%5D%5Bgenerator_version%5D=1&world%5B2%5D%5Bdifficulty%5D=EASY&worlds=3&world%5B1%5D%5Bdifficulty%5D=EASY&world%5B0%5D%5Bmode%5D=SURVIVAL&world%5B1%5D%5Bmode%5D=SURVIVAL&gui_state=disabled&world%5B2%5D%5Bhardcore%5D=false&world%5B1%5D%5Bheight%5D=256&world%5B2%5D%5Bheight%5D=256&whitelist_count=0&world%5B1%5D%5Bgenerator_name%5D=default&world%5B2%5D%5Bmode%5D=SURVIVAL&snooper_token=91b338ef-cec9-4dcb-b01e-0034393c449f&whitelist_enabled=false&jvm_arg%5B0%5D=-Xms1024M&snooper_count=2&players_max=20&uses_auth=true&world%5B2%5D%5Bdimension%5D=1&world%5B1%5D%5Bdimension%5D=-1&world%5B1%5D%5Bchunks_loaded%5D=0&world%5B0%5D%5Bdimension%5D=0&world%5B0%5D%5Bgenerator_name%5D=default&world%5B2%5D%5Bgenerator_version%5D=1&world%5B0%5D%5Bheight%5D=256&run_time=30022000&avg_tick_ms=0&version=1.9.4&world%5B0%5D%5Bhardcore%5D=false&jvm_arg%5B1%5D=-Xmx2048M&world%5B0%5D%5Bchunks_loaded%5D=272&players_current=0&world%5B1%5D%5Bhardcore%5D=false&world%5B1%5D%5Bgenerator_version%5D=1&jvm_args=2 
     82}}} 
     83{{{ 
     84HTTP/1.1 200 OK 
     85Date: Fri, 20 May 2016 11:23:15 GMT 
     86Content-Length: 0 
     87Connection: keep-alive 
     88}}} 
     89 * ユーザーがログイン(1名) 
     90{{{ 
     91POST /server?version=2 HTTP/1.1 
     92Content-Type: application/x-www-form-urlencoded 
     93Content-Language: en-US 
     94Cache-Control: no-cache 
     95Pragma: no-cache 
     96User-Agent: Java/1.8.0_92 
     97Host: snoop.minecraft.net 
     98Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 
     99Connection: keep-alive 
     100Content-Length: 1122 
     101 
     102world%5B2%5D%5Bgenerator_name%5D=default&world%5B2%5D%5Bchunks_loaded%5D=0&world%5B0%5D%5Bdifficulty%5D=EASY&players_seen=1&world%5B0%5D%5Bgenerator_version%5D=1&world%5B2%5D%5Bdifficulty%5D=EASY&worlds=3&world%5B1%5D%5Bdifficulty%5D=EASY&world%5B0%5D%5Bmode%5D=SURVIVAL&world%5B1%5D%5Bmode%5D=SURVIVAL&gui_state=disabled&world%5B2%5D%5Bhardcore%5D=false&world%5B1%5D%5Bheight%5D=256&world%5B2%5D%5Bheight%5D=256&whitelist_count=0&world%5B1%5D%5Bgenerator_name%5D=default&world%5B2%5D%5Bmode%5D=SURVIVAL&snooper_token=91b338ef-cec9-4dcb-b01e-0034393c449f&whitelist_enabled=false&jvm_arg%5B0%5D=-Xms1024M&snooper_count=3&players_max=20&uses_auth=true&world%5B2%5D%5Bdimension%5D=1&world%5B1%5D%5Bdimension%5D=-1&world%5B1%5D%5Bchunks_loaded%5D=0&world%5B0%5D%5Bdimension%5D=0&world%5B0%5D%5Bgenerator_name%5D=default&world%5B2%5D%5Bgenerator_version%5D=1&world%5B0%5D%5Bheight%5D=256&run_time=45023000&avg_tick_ms=6&version=1.9.4&world%5B0%5D%5Bhardcore%5D=false&jvm_arg%5B1%5D=-Xmx2048M&world%5B0%5D%5Bchunks_loaded%5D=522&players_current=1&world%5B1%5D%5Bhardcore%5D=false&world%5B1%5D%5Bgenerator_version%5D=1&jvm_args=2 
     103}}} 
     104{{{ 
     105HTTP/1.1 200 OK 
     106Date: Fri, 20 May 2016 11:38:15 GMT 
     107Content-Length: 0 
     108Connection: keep-alive 
     109}}} 
     110 
     111 * 変化する(主な)値 
     112  * snooper_token: 起動のたびに再生成、動作中は一定 
     113  * run_time: 参考→ github:Bukkit/mc-dev/blob/master/net/minecraft/server/MinecraftServer.java#L857 
     114  * snooper_count: 送信回数 
     115  * players_current: 現在ログインしているユーザー数