← 返回
未分类 Key 中文

MCSManager Controller

Control and troubleshoot MCSManager-managed Minecraft servers through the MCSManager API and clearly provided host-side context. Use when asked to start, sto...
通过MCSManager API和明确提供的主机端上下文来控制和故障排除MCSManager管理的Minecraft服务器。用于启动、停止等操作。
szabee13 szabee13 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 431
下载
💾 6
安装
1
版本
#latest

概述

MCSManager Controller

Use this skill to operate an MCSManager instance safely and consistently.

Scope and safety

  • Use only configuration the user explicitly provides in the prompt, session context, or a config file intentionally created for this skill.
  • Do not assume a specific host, home directory, panel URL, token, or instance UUID.
  • Do not search unrelated workspace files for secrets.
  • Do not infer credentials from random local files.
  • If required config is missing, ask for it.

Quick workflow

  1. Confirm the target instance.
    • Use the instance identifier the user provided.
    • If a dedicated skill config file exists and the user set it up for this skill, use its default instance value.
  2. Prefer read-only checks first.
    • Check whether MCSManager is reachable.
    • Check whether the instance is online before restarting anything.
    • Read logs before making changes.
  3. Only then perform state changes.
    • Start, stop, restart, kill, or send commands.
  4. Report back clearly.
    • Say what was checked.
    • Say what changed.
    • Include the important log line or symptom.
    • If something is broken, say the broken thing directly.

Operating rules

  • Prefer the API over brittle browser clicking.
  • Prefer read-only actions before writes.
  • Avoid restart spam. If a start or restart fails, inspect logs before retrying.
  • Preserve exact console commands when sending them.
  • For dangerous commands like stop, kill, or destructive plugin actions, confirm intent unless the user explicitly asked.
  • If the API details are missing, read references/api-notes.md and adapt to the installed MCSManager version.
  • If the user wants reusable local config, use config.json in this skill directory.
  • If config.json does not exist, create it by copying config.example.json and filling in user-provided values.

Common tasks

Check status

Use when the user asks whether the server is up, lagging, or crashed.

  • Verify MCSManager service reachability.
  • Query the target instance state.
  • If the API is unavailable and the user has provided host-side access details, fall back to host-side process and port checks.

Read logs

Use when the user reports crashes, plugin errors, failed joins, or startup problems.

  • Fetch recent instance logs.
  • Prioritize Java exceptions, plugin stack traces, port bind errors, world corruption, and authentication issues.
  • Quote the minimal log excerpt that explains the failure.

Send console commands

Use for commands like whitelist changes, saves, broadcasts, plugin commands, or graceful shutdowns.

  • Echo the exact command in the response.
  • Prefer graceful commands before hard stop actions.
  • For batch commands, serialize them and avoid flooding the panel.

Restart safely

Use when the instance is stuck, plugins need reload-by-restart, or the user asks for a restart.

  • Confirm the server is actually online first.
  • If players may be connected, warn about impact when appropriate.
  • Stop gracefully if possible.
  • Start once.
  • Re-check status and read the first meaningful startup lines.

Local config pattern

Recommended setup:

  • Commit config.example.json.
  • Keep your real config.json untracked.
  • Put per-server values in config.json.
  • Treat config.json as user-managed local config, not something to discover by rummaging through unrelated files.

Reference file

Read references/api-notes.md when you need request patterns, environment conventions, or fallback strategy.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-31 01:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Tmux

steipete
通过发送按键和抓取窗格输出,远程控制交互式 CLI 的 tmux 会话。
★ 46 📥 29,511
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,907
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,606