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