TopRank Skills

Home / Claw Skills / Autres / minecraft-server-admin
Official OpenClaw rules 15%

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.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 minecraft-server-admin 技能。 若已安装,则直接安装 minecraft-server-admin 技能。

Overview

Skill Key
en1r0py1865/minecraft-server-admin
Author
en1r0py1865
Source Repo
openclaw/skills
Version
-
Source Path
skills/en1r0py1865/minecraft-server-admin
Latest Commit SHA
766be39fcf2d7ef9c1a551498b6fa09e13f06ef3

Extracted Content

SKILL.md excerpt

# 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:...

Related Claw Skills