wiki:TipAndDoc/Games/Minecraft/spigot

MCstats

  • 600秒おきに情報が送信される
  • plugins/PluginMetrics/config.yml
    • opt-out: trueとすることで、サーバ情報などの自動送信は止まる
  • 実際に送受信されるデータ
    POST /report/Spigot HTTP/1.1
    User-Agent: Java/1.8.0_45
    Host: mcstats.org
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    Content-type: application/x-www-form-urlencoded
    Content-Length: 241
    
    guid=4ee6e6f7-e930-4268-ada3-cf5448ae0100&version=git-Spigot-870264a-0a645a2&server=git-Spigot-870264a-0a645a2+%28MC%3A+1.8.3%29&players=0&revision=6&osname=Windows+7&osarch=x86_64&osversion=6.1&cores=8&online-mode=true&java_version=1.8.0_45
    
    HTTP/1.1 200 OK
    Server: nginx/1.6.2
    Date: Sun, 31 May 2015 17:06:55 GMT
    Content-Type: text/plain
    Content-Length: 2
    Connection: keep-alive
    
    OK
    
    POST /report/Spigot HTTP/1.1
    User-Agent: Java/1.8.0_45
    Host: mcstats.org
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    Content-type: application/x-www-form-urlencoded
    Content-Length: 241
    
    guid=df437b46-3e98-419b-b6c1-9ccd7eb2262a&version=git-Spigot-870264a-0a645a2&server=git-Spigot-870264a-0a645a2+%28MC%3A+1.8.3%29&players=0&revision=6&osname=Windows+7&osarch=x86_64&osversion=6.1&cores=8&online-mode=true&java_version=1.8.0_45
    
    HTTP/1.1 200 OK
    Server: nginx/1.6.2
    Date: Sun, 31 May 2015 17:23:25 GMT
    Content-Type: text/plain
    Content-Length: 2
    Connection: keep-alive
    
    OK
    
    • guidはconfig.ymlに記載されているものと同一で、ファイルを消すとと再作成される模様
  • 二回目以降はping=trueという要素が追加される
    POST /report/Spigot HTTP/1.1
    User-Agent: Java/1.8.0_92
    Host: mcstats.org
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    Content-type: application/x-www-form-urlencoded
    Content-Length: 256
    
    guid=fce313e6-a730-4cca-b905-8e1e2dfc6191&version=git-Spigot-8a048fe-71e5248&server=git-Spigot-8a048fe-71e5248+%28MC%3A+1.9.4%29&players=0&revision=6&osname=Linux&osarch=x86_64&osversion=4.5.4-1-ARCH&cores=4&online-mode=true&java_version=1.8.0_92&ping=true
    
    HTTP/1.1 200 OK
    Server: nginx/1.8.1
    Date: Sun, 29 May 2016 14:12:14 GMT
    Content-Type: text/plain
    Content-Length: 2
    Connection: keep-alive
    
    OK
    
  • snoop.minecraft.net と同様、現在ログインしているユーザー数はplayersとして送信される
    POST /report/Spigot HTTP/1.1
    User-Agent: Java/1.8.0_92
    Host: mcstats.org
    Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
    Connection: keep-alive
    Content-type: application/x-www-form-urlencoded
    Content-Length: 256
    
    guid=fce313e6-a730-4cca-b905-8e1e2dfc6191&version=git-Spigot-8a048fe-71e5248&server=git-Spigot-8a048fe-71e5248+%28MC%3A+1.9.4%29&players=1&revision=6&osname=Linux&osarch=x86_64&osversion=4.5.4-1-ARCH&cores=4&online-mode=true&java_version=1.8.0_92&ping=true
    
    HTTP/1.1 200 OK
    Server: nginx/1.8.1
    Date: Sun, 29 May 2016 14:42:52 GMT
    Content-Type: text/plain
    Content-Length: 2
    Connection: keep-alive
    
    OK
    

munin

Last modified 9 years ago Last modified on May 30, 2016 11:29:09 PM