| | 42 | |
| | 43 | = snoop.minecraft.net = |
| | 44 | * {{{server.properties}}}で{{{snooper-enabled=true}}}(デフォルト)の時900秒おきに情報が送信される |
| | 45 | * http://wiki.vg/Snoop |
| | 46 | |
| | 47 | * 起動後一回目の送信 |
| | 48 | {{{ |
| | 49 | POST /server?version=2 HTTP/1.1 |
| | 50 | Content-Type: application/x-www-form-urlencoded |
| | 51 | Content-Language: en-US |
| | 52 | Cache-Control: no-cache |
| | 53 | Pragma: no-cache |
| | 54 | User-Agent: Java/1.8.0_92 |
| | 55 | Host: snoop.minecraft.net |
| | 56 | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 |
| | 57 | Connection: keep-alive |
| | 58 | Content-Length: 301 |
| | 59 | |
| | 60 | dedicated=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 | {{{ |
| | 63 | HTTP/1.1 200 OK |
| | 64 | Date: Fri, 20 May 2016 10:53:15 GMT |
| | 65 | Content-Length: 0 |
| | 66 | Connection: keep-alive |
| | 67 | }}} |
| | 68 | * 2回目以降 |
| | 69 | {{{ |
| | 70 | POST /server?version=2 HTTP/1.1 |
| | 71 | Content-Type: application/x-www-form-urlencoded |
| | 72 | Content-Language: en-US |
| | 73 | Cache-Control: no-cache |
| | 74 | Pragma: no-cache |
| | 75 | User-Agent: Java/1.8.0_92 |
| | 76 | Host: snoop.minecraft.net |
| | 77 | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 |
| | 78 | Connection: keep-alive |
| | 79 | Content-Length: 1122 |
| | 80 | |
| | 81 | world%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 | {{{ |
| | 84 | HTTP/1.1 200 OK |
| | 85 | Date: Fri, 20 May 2016 11:23:15 GMT |
| | 86 | Content-Length: 0 |
| | 87 | Connection: keep-alive |
| | 88 | }}} |
| | 89 | * ユーザーがログイン(1名) |
| | 90 | {{{ |
| | 91 | POST /server?version=2 HTTP/1.1 |
| | 92 | Content-Type: application/x-www-form-urlencoded |
| | 93 | Content-Language: en-US |
| | 94 | Cache-Control: no-cache |
| | 95 | Pragma: no-cache |
| | 96 | User-Agent: Java/1.8.0_92 |
| | 97 | Host: snoop.minecraft.net |
| | 98 | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 |
| | 99 | Connection: keep-alive |
| | 100 | Content-Length: 1122 |
| | 101 | |
| | 102 | world%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 | {{{ |
| | 105 | HTTP/1.1 200 OK |
| | 106 | Date: Fri, 20 May 2016 11:38:15 GMT |
| | 107 | Content-Length: 0 |
| | 108 | Connection: 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: 現在ログインしているユーザー数 |