Zh:Snoop
Jump to navigation
Jump to search
每15分钟,minecraft发送一个提供统计信息的HTTP POST请求。这可以在server.properties中禁用。
- client: http://snoop.minecraft.net/client?version=1
- server: http://snoop.minecraft.net/server?version=1
字段 | 客户端 | 服务端 | 示例 | 注释 |
---|---|---|---|---|
applet | Yes | No | true
|
|
avg_rec_packet_count | No | Yes | 0
|
|
avg_rec_packet_size | No | Yes | 0
|
|
avg_sent_packet_count | No | Yes | 6
|
|
avg_sent_packet_size | No | Yes | 44
|
|
avg_tick_ms | No | Yes | 3
|
|
client_brand | Yes | No | vanilla
|
通过ClientBrandRetriever.getClientModName()
|
cpu_cores | Yes | Yes | 2
|
通过Runtime.getRuntime().availableProcessors()
|
dedicated | No | Yes | true
|
|
display_frequency | Yes | No | 60
|
通过org.lwjgl.opengl.Display.getDisplayMode().getFrequency()
|
display_type | Yes | No | windowed
|
windowed 或fullscreen
|
fps | Yes | No | 60
|
|
gl_caps[key] | Yes | No | varies by key | 通过org.lwjgl.opengl.GLContext.getCapabilities().GL_ARB_key
|
gl_max_texture_size | Yes | No | 8192
|
|
gui_state | No | Yes | disabled
|
enabled 或disabled
|
gui_supported | No | Yes | headless
|
通过java.awt.GraphicsEnvironment.isHeadless() (headless 或supported )
|
java_version | Yes | Yes | 1.6.0_24
|
通过System.getProperty("java.version")
|
jvm_arg[n] | Yes | Yes | -Xms2800M
|
通过java.lang.management.ManagementFactory.getRuntimeMXBean().getInputArguments() (仅-X参数)
|
jvm_args | Yes | Yes | 2
|
见上 |
memory_free | Yes | Yes | 2429082024
|
通过Runtime.getRuntime().freeMemory()
|
memory_max | Yes | Yes | 2813722624
|
通过Runtime.getRuntime().maxMemory()
|
memory_total | Yes | Yes | 2813722624
|
通过Runtime.getRuntime().totalMemory()
|
opengl_vendor | Yes | No | NVIDIA Corporation
|
通过GL11.glGetString(GL_VENDOR)
|
opengl_version | Yes | No | 3.3.0 NVIDIA 302.17
|
通过GL11.glGetString(GL_VERSION)
|
os_architecture | Yes | Yes | amd64
|
通过System.getProperty("os.arch")
|
os_name | Yes | Yes | Linux
|
通过System.getProperty("os.name")
|
os_version | Yes | Yes | 3.2.0-3-amd64
|
通过System.getProperty("os.version")
|
players_current | No | Yes | 0
|
|
players_max | No | Yes | 20
|
|
players_seen | No | Yes | 4
|
计算世界/玩家中的文件 |
server_brand | No | Yes | vanilla
|
通过getServerModName() (硬编码为“vanilla”,被bukkit等覆盖)
|
singleplayer | No | Yes | false
|
服务器是否正在运行以支持单人游戏会话 |
snooper_count | Yes | Yes | 0
|
目前为止snooper报告的次数 |
snooper_token | Yes | Yes | dfe921ac-0293-4e42-8d99-1316cdd626d8
|
通过java.util.UUID.randomUUID().toString() (每次程序启动时唯一)
|
texpack_name | Yes | No | Default
|
|
texpack_resolution | Yes | No | 16
|
|
uses_auth | No | Yes | true
|
对应server.properties中的online-mode
|
version | Yes | Yes | 1.4.2
|
|
vsync_enabled | Yes | No | true
|
|
whitelist_count | No | Yes | 0
|
|
whitelist_enabled | No | Yes | false
|
|
world[n][chunks_loaded] | No | Yes | 978
|
|
world[n][difficulty] | No | Yes | 1
|
|
world[n][dimension] | No | Yes | 0
|
|
world[n][generator_name] | No | Yes | default
|
|
world[n][generator_version] | No | Yes | 1
|
|
world[n][hardcore] | No | Yes | false
|
|
world[n][height] | No | Yes | 256
|
|
world[n][mode] | No | Yes | SURVIVAL
|
|
worlds | No | Yes | 3
|