[[PageOutline]] = MCstats = * [https://bukkit.org/threads/mcstats-plugin-metrics-r7-easy-advanced-plugin-statistics.77352/ MCStats / Plugin Metrics (R7) - Easy & advanced Plugin Statistics | Bukkit Forums] * [http://www.spigotmc.org/threads/random-outgoing-connections-from-spigot.50091/ Random outgoing connections from Spigot | SpigotMC - High Performance Minecraft] * [http://www.spigotmc.org/threads/disabling-mcstats-metrics.2890/ Disabling McStats / Metrics | SpigotMC - High Performance Minecraft] * 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 }}} * [../server#snoop.minecraft.net 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 }}} = LagMeter = * [http://dev.bukkit.org/bukkit-plugins/lagmeter/ LagMeter - Bukkit] * /srv/craftbukkit/plugins/LagMeter/settings.yml {{{ Commands: Lag: displayEntities: true displayChunks: true log: interval: 30 logTotalEntitiesOnly: false logTotalChunksOnly: false }}} * /srv/craftbukkit/plugins/LagMeter/lag.log {{{ [01-03-2016 15:50:01] TPS: 20.0 Memory free: 698.37/989.88 (70.55%) Players online: 0/20 Chunks loaded in world "world": 256 Chunks loaded in world "world_nether": 0 Chunks loaded in world "world_the_end": 0 Total chunks loaded: 256 Entities in world "world": 70 Entities in world "world_nether": 0 Entities in world "world_the_end": 0 Total entities: 70 [01-03-2016 15:51:01] TPS: 20.0 Memory free: 798.28/989.88 (80.64%) Players online: 0/20 Chunks loaded in world "world": 256 Chunks loaded in world "world_nether": 0 Chunks loaded in world "world_the_end": 0 Total chunks loaded: 256 Entities in world "world": 70 Entities in world "world_nether": 0 Entities in world "world_the_end": 0 Total entities: 70 (snip) [01-03-2016 16:11:01] TPS: 20.0 Memory free: 770.26/989.88 (77.81%) Players online: 1/20 Chunks loaded in world "world": 441 Chunks loaded in world "world_nether": 0 Chunks loaded in world "world_the_end": 0 Total chunks loaded: 441 Entities in world "world": 148 Entities in world "world_nether": 0 Entities in world "world_the_end": 0 Total entities: 148 (snip) [01-03-2016 16:36:15] TPS: 20.0 Memory free: 740.14/989.88 (74.77%) Players online: 1/20 Chunks loaded in world "world": 272 Chunks loaded in world "world_nether": 441 Chunks loaded in world "world_the_end": 0 Total chunks loaded: 713 Entities in world "world": 74 Entities in world "world_nether": 26 Entities in world "world_the_end": 0 Total entities: 100 }}} * [http://sourceforge.net/projects/mcrcon/ mcrcon] * [[Image(lagmeter.png,33%)]] {{{ [01-03-2016 16:42:35] TPS: 20.0 Memory free: 751.50/989.88 (75.92%) Players online: 1/20 Chunks loaded in world "world": 272 Chunks loaded in world "world_nether": 441 Chunks loaded in world "world_the_end": 0 Total chunks loaded: 713 Entities in world "world": 75 Entities in world "world_nether": 26 Entities in world "world_the_end": 0 Total entities: 101 }}} * RCONの方は手動で取得しているので、厳密に同時刻ではない * [http://dev.bukkit.org/bukkit-plugins/essentials/ Essentials] プラグインにも似たような機能は存在している * http://wiki.mc-ess.net/wiki/Command_Reference > gc > lag, mem, memory, uptime, tps, entities Displays server usage information. / > {{{ > Instructions: Displays chunk, memory, and world information. > }}} = munin = * https://fastlizard4.org/wiki/Download:Minecraft_Munin_plugins * github:LizardNet/munin-plugins-minecraft