搜索

PythonReactSEOPDF
OpenClaw

minecraft-server-admin

Execute Minecraft Java Edition admin commands through the RCON remote console. Use for player moderation, whitelist management, item/state commands, world rules, broadcast messages, and recent log review on servers you control. Covers in-game command administration only. Does NOT handle full server lifecycle, filesystem backups, or plugin installation/update workflows; use a dedicated server-ops skill for those. Requires RCON enabled on the target server and is not for singleplayer worlds.

en1r0py18650 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install en1r0py1865/minecraft-server-admin

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Minecraft Server Admin

Scope: This skill is your in-game remote control for a Minecraft Java server. It sends commands through the RCON protocol to manage players, world state, and server communication in real time. It intentionally excludes server-infrastructure operations such as process lifecycle management, filesystem backups, plugin jar installation, and continuous uptime monitoring; use a dedicated PaperMC ops skill for those. This skill does NOT require minecraft-bridge — it communicates directly with the server's admin console over a separate TCP connection.

Architecture:

OpenClaw → RCON TCP (port 25575) → Minecraft Server Console

Prerequisites

Enable RCON on the Server

Edit server.properties:

enable-rcon=true
rcon.port=25575
rcon.password=STRONG_PASSWORD_HERE
broadcast-rcon-to-ops=false

Restart server after changing these values.

Environment Variables
MC_RCON_HOST=localhost        # Server IP or hostname
MC_RCON_PORT=25575            # RCON port (must match server.properties)
MC_RCON_PASSWORD=yourpassword # RCON password (must match server.properties)
MC_SERVER_LOG=/path/to/server/logs/latest.log  # optional, for log analysis
Verify Connection
node ~/.openclaw/skills/minecraft-server-admin/scripts/rcon.js "list"
# Expected: "There are N of a max of M players online: ..."

Operation Categories

PLAYER MANAGEMENT

For any player-related command, use: scripts/rcon.js "<command>"

Listing & Checking

  • "who is online" → /list → parse player count and names
  • "is [player] online" → /list then check if name appears

Access Control ⚠️ Requires confirmation before executing:

  • kick: /kick <player> [reason]
  • temp ban: /ban <player> [reason] + calendar note
  • permanent ban: /ban <player> [reason]
  • ban IP: /ban-ip <player|ip> [reason]
  • unban: /pardon <player> or /pardon-ip <ip>
  • whitelist add: /whitelist add <player>
  • whitelist remove:...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/en1r0py1865/minecraft-server-admin
Version
—
Commit
766be39fcf2d7ef9c1a551498b6fa09e13f06ef3
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Minecraft Server Admin

**Scope**: This skill is your **in-game remote control** for a Minecraft Java server.
It sends commands through the RCON protocol to manage players, world state, and
server communication in real time. It intentionally excludes server-infrastructure
operations such as process lifecycle management, filesystem backups, plugin jar
installation, and continuous uptime monitoring; use a dedicated PaperMC ops skill
for those. This skill does NOT require minecraft-bridge — it communicates directly
with the server's admin console over a separate TCP connection.

**Architecture**:
```
OpenClaw → RCON TCP (port 25575) → Minecraft Server Console
```

---

## Prerequisites

### Enable RCON on the Server

Edit `server.properties`:
```properties
enable-rcon=true
rcon.port=25575
rcon.password=STRONG_PASSWORD_HERE
broadcast-rcon-to-ops=false
```
Restart server after changing these values.

### Environment Variables

```
MC_RCON_HOST=localhost        # Server IP or hostname
MC_RCON_PORT=25575            # RCON port (must match server.properties)
MC_RCON_PASSWORD=yourpassword # RCON password (must match server.properties)
MC_SERVER_LOG=/path/to/server/logs/latest.log  # optional, for log analysis
```

### Verify Connection

```bash
node ~/.openclaw/skills/minecraft-server-admin/scripts/rcon.js "list"
# Expected: "There are N of a max of M players online: ..."
```

---

## Operation Categories

### PLAYER MANAGEMENT
For any player-related command, use: `scripts/rcon.js "<command>"`

**Listing & Checking**
- "who is online" → `/list` → parse player count and names
- "is [player] online" → `/list` then check if name appears

**Access Control** ⚠️ Requires confirmation before executing:
- kick: `/kick <player> [reason]`
- temp ban: `/ban <player> [reason]` + calendar note
- permanent ban: `/ban <player> [reason]`
- ban IP: `/ban-ip <player|ip> [reason]`
- unban: `/pardon <player>` or `/pardon-ip <ip>`
- whitelist add: `/whitelist add <player>`
- whitelist remove:...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.