Minecraft 服务器监控器:实时状态与玩家追踪 - Openclaw Skills
作者:互联网
2026-03-26
什么是 Minecraft 服务器监控器?
Minecraft 服务器监控器是专为 Openclaw Skills 生态系统设计的专业工具,使开发人员和服务器管理员能够使用服务器列表 Ping (SLP) 协议轮询 Minecraft 服务器。该技能可提供关于服务器可用性、版本和玩家活动的批判性见解,无需任何服务器端插件或 RCON 访问权限。
通过利用此工具,用户可以将游戏基础设施监控直接集成到其自动化工作流中,确保始终了解服务器的健康状况。对于任何希望使用 Openclaw Skills 围绕 Minecraft 服务器管理构建强大自动化系统的人来说,它都是一个重要的组件。
下载入口:https://github.com/openclaw/skills/tree/main/skills/wmantly/minecraft-monitor-skill
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install minecraft-monitor-skill
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 minecraft-monitor-skill。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
Minecraft 服务器监控器 应用场景
- 验证 Minecraft 服务器是在线还是处于停机状态。
- 跟踪当前和最大玩家人数以进行社区管理。
- 测量服务器延迟 (ping) 以确保高质量的游戏体验。
- 获取服务器版本和 MOTD 信息用于状态仪表板。
- 在 DevOps 或脚本流水线中自动化运行状况检查。
- 用户向此 Openclaw Skills 条目提供的脚本提供服务器主机名和可选端口。
- 脚本使用标准的 Minecraft 服务器列表 Ping 协议发起连接。
- 服务器响应包含版本、玩家和 MOTD 元数据的数据包。
- 脚本解析响应以计算延迟并提取特定的服务器详细信息。
- CLI 中显示格式化的报告,通过颜色编码的指示器指示状态。
Minecraft 服务器监控器 配置指南
要在 Openclaw Skills 框架内使用此工具,请确保已安装 Python 3。您可以直接从终端运行监控器:
# 基础状态检查
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py
# 使用自定义超时进行检查
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py corejourney.org 10
Minecraft 服务器监控器 数据架构与分类体系
该技能返回有关服务器状态的结构化数据,如下所示:
| 属性 | 描述 | 输出示例 |
|---|---|---|
| 状态 | 带有颜色指示器的在线/离线状态 | ?? 在线 / ?? 离线 |
| 延迟 | 以毫秒为单位的连接响应时间 | 45ms |
| 版本 | Minecraft 服务器版本 | 1.20.4 |
| 玩家 | 当前在线人数和服务器容量 | 3/20 |
| MOTD | 服务器的今日消息 | Welcome to the server! |
name: minecraft-monitor
description: Monitor Minecraft servers by checking online status, player counts, latency, and version info using the Server List Ping protocol. Use when the user asks to check Minecraft server status, monitor a Minecraft server, verify if a server is online, get player counts, or mentions Minecraft server monitoring. Example servers include corejourney.org.
Minecraft Server Monitoring
Quickly check Minecraft server status without installing any external dependencies.
Quick Check
Check if a server is online:
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py corejourney.org
?? corejourney.org:25565 - ONLINE (45ms)
Version: 1.20.4
Players: 3/20
Online: Steve, Alex, CreeperHunter
MOTD: Welcome to Core Journey!
Usage
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py [timeout]
- host: Server hostname or IP address (e.g.,
corejourney.org,192.168.1.10) - port: Optional, defaults to
25565 - timeout: Optional connection timeout in seconds (default: 5)
Examples
# Check default port
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py corejourney.org
# Check custom port
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py corejourney.org:25566
# Check IP with longer timeout
python3 ~/.openclaw/workspace/skills/public/minecraft-monitor/scripts/minecraft-status.py 192.168.1.10 10
Output
Online server:
- ?? Green (good ping) / ?? Yellow (moderate) / ?? Orange (slow)
- Server address and port
- Response time in milliseconds
- Minecraft version
- Current/maximum player count
- List of online players (up to 5 shown)
- Server MOTD (message of the day)
Offline server:
- ?? Red indicator
- Error message (timeout, connection refused, etc.)
What's Being Monitored
- ? Online/offline status
- ? Player count (current/max)
- ? Response time/latency
- ? Server version
- ? Online player list (if available)
- ? Server MOTD
Notes
- Uses Minecraft Server List Ping (SLP) protocol - works with all modern Minecraft servers
- No server-side plugins or RCON access required
- Exit code 0 if online, 1 if offline (useful for scripts/automation)
- SRV records are not automatically resolved - use the actual server address
Integration Ideas
- Add to a cron job for periodic health checks
- Wrap in a monitoring script that alerts if server goes offline
- Use in automation pipelines that depend on server availability
- Create a dashboard showing server status history
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
小红书文案教练:爆款笔记生成器 - Openclaw Skills
慕尼黑 MVG & S-Bahn 实时追踪命令行工具 - Openclaw Skills
Reddit 研究技能:自动化社群洞察 - Openclaw Skills
豆包聊天:带有联网搜索功能的免费 AI 对话 - Openclaw Skills
NightPatch:自动化工作流优化 - Openclaw 技能
国产 AI 视频生成器:Wan2.6 与可灵集成 - Openclaw Skills
Sonos Announce:智能音频状态恢复 - Openclaw Skills
Hypha Payment:P2P 代理协作与 USDT 结算 - Openclaw Skills
Cashu Emoji:隐藏代币编解码 - Openclaw Skills
技术 SEO 精通:审计、修复与监控 - Openclaw Skills
AI精选
