Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

papermc-ai-opsPapermc AI 操作

Agent Skill

papermc-ai-ops 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,918

周安装

446

GitHub Stars

公开资料未说明

下载量

3,532
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:papermc-ai-ops(Papermc AI 操作)
来源仓库:https://github.com/yanxi1024-git/papermc-ai-ops
安装命令:
openclaw skills install papermc-ai-ops
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install papermc-ai-ops

简介

管理 PaperMC Minecraft 服务器的安全界面。

  • 支持服务器生命周期管理、备份和插件操作。
  • 提供运行状况监控和维护功能。papermc-ai-ops 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 需要确认服务器访问权限和操作权限。
  • 建议了解备份策略和安全防护措施。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
papermc-ai-ops
version
2.0.1
description
Manage PaperMC Minecraft servers through safe, controlled interfaces. Use for server lifecycle management, backups, plugin operations, and health monitoring with backup-first safety policy.
license
MIT

PaperMC Server AI Operations

AI-managed PaperMC Minecraft server operations with safety-first approach.

When to Use This Skill

Use this skill when you need to:

  • Manage PaperMC server lifecycle (status, logs, restart)
  • Create backups (world, plugins, PaperMC jar)
  • Install or update plugins safely
  • Update PaperMC server version
  • Monitor server health and diagnose issues
  • Intelligent plugin upgrades with risk assessment (NEW in v2.0)

Requirements

  • Linux system with systemd
  • Java 21+ (Zulu JDK recommended for ARM)
  • Python 3.10+
  • PaperMC server installation

Quick Start

1. Configure

Edit paths in the scripts:

# In manage_server.py, plugin_manager.py, update_paper.py
SERVER_DIR = Path("/path/to/your/papermc-server")

2. Check Status

python3 manage_server.py status

3. Create Backup

python3 manage_server.py backup

Core Scripts

manage_server.py

Server lifecycle management:

python3 manage_server.py status          # Service status
python3 manage_server.py logs -n 50      # View logs
python3 manage_server.py backup          # Backup world
python3 manage_server.py restart         # Safe restart

plugin_manager.py

Plugin operations:

python3 plugin_manager.py list                           # List plugins
python3 plugin_manager.py backup <plugin.jar>           # Backup plugin
python3 plugin_manager.py install-url <url> --filename <name>

update_paper.py

PaperMC updates:

python3 update_paper.py backup-jar                    # Backup current jar
python3 update_paper.py update-from-url <paper_jar_url>

plugin_upgrade_framework.py (NEW in v2.0)

Intelligent plugin upgrade framework with risk assessment:

# Upgrade specific plugin (Method 1)
python3 plugin_upgrade_framework.py --plugin ViaVersion --version 5.8.0

# Scan for upgrade candidates (Method 2)
python3 plugin_upgrade_framework.py --method 2 --scan-limit 20

# Run examples
python3 upgrade_examples.py

Safety Rules

❌ Never Use Direct Commands

  • kill, kill -9
  • rm -rf
  • systemctl stop/restart
  • Direct file overwrites

✅ Always Use Scripts

All operations go through approved Python scripts.

📦 Backup-First Policy

Before ANY risky operation:

  1. Run backup command
  2. Verify backup created
  3. Proceed with change

Plugin Upgrade Framework (NEW in v2.0)

Based on ViaVersion 5.7.2 → 5.8.0 upgrade experience (2026-03-28), this skill now includes an intelligent plugin upgrade framework.

Core Upgrade Methods

Method 1: Specific Plugin Upgrade

For upgrading a specific plugin with full automation:

from plugin_upgrade_framework import PluginUpgradeFramework

framework = PluginUpgradeFramework()
result = framework.method1_specific_plugin_upgrade("ViaVersion", "5.8.0")

Method 2: Scan and Assess Upgrades

For periodic maintenance and batch upgrade planning:

result = framework.method2_scan_and_assess_upgrades(limit=20)

Risk Assessment Logic

Risk LevelVersion JumpAction
LowPatch update (x.x.1 → x.x.2)Recommended upgrade
MediumMinor update (x.1.x → x.2.x)Test before production
HighMajor update (1.x.x → 2.x.x)Detailed assessment needed

Proxy Configuration for Hangar

If you have proxy issues, configure NO_PROXY:

export NO_PROXY="localhost,127.0.0.1,192.168.8.165,hangar.papermc.io,papermc.io,hangarcdn.papermc.io"

Download URL Pattern

Hangar plugin download URLs follow this pattern:

https://hangarcdn.papermc.io/plugins/{plugin}/{plugin}/versions/{version}/PAPER/{plugin}-{version}.jar

Verification Steps After Upgrade

  1. Check server logs for errors
  2. Verify plugin loaded message
  3. Test core functionality
  4. Monitor server performance
  5. Have rollback plan ready

ViaVersion Upgrade Experience

See viaversion_upgrade_report.json for detailed documentation of the successful ViaVersion 5.7.2 → 5.8.0 upgrade, including:

  • Proxy issue resolution
  • Risk assessment validation
  • Complete upgrade process
  • Lessons learned

Health Monitoring

bash scripts/health_check.sh

Checks:

  • Service status
  • Log errors
  • Plugin count
  • Backup age
  • Disk space
  • Memory usage

Version Management Strategy

Balanced Upgrade Strategy

Adopt a balanced approach with 1-version lag for stability.

Weekly Upgrade Scoring System

python3 scripts/weekly-upgrade-scorer.py

Scoring Criteria (100 points total):

  1. PaperMC Stability (30 points)

- Official API confirmation - Release age (>2 weeks) - Security patches included

  1. Plugin Compatibility (40 points)

- Core plugins compatibility - All plugins compatible - Recent plugin updates - No critical warnings

  1. Testing & Validation (20 points)

- Test environment validation - Performance benchmarks - Functionality verification

  1. Risk Management (10 points)

- Backup readiness - Rollback plan tested

Upgrade Decision Matrix

  • ≥ 80 points: Proceed with upgrade (low risk)
  • 60-79 points: Further evaluation needed
  • < 60 points: Do not upgrade (high risk)

Weekly Scanning Procedure

  1. Monday: Run automated scoring
  2. Review: Analyze report and scores
  3. Decision: Human confirmation required for ≥80 scores
  4. Execution: Scheduled upgrade with full backup

Emergency Rollback

Trigger conditions:

  • Server crash on startup
  • TPS consistently below 15
  • Critical plugin failures
  • Player data corruption

Rollback steps:

  1. Stop server immediately
  2. Restore from latest backup
  3. Revert to previous version
  4. Verify and restart

Directory Structure

papermc-server/
├── manage_server.py              # Main control script
├── plugin_manager.py             # Plugin operations
├── update_paper.py               # PaperMC updates
├── plugin_upgrade_framework.py   # Intelligent plugin upgrades (NEW)
├── upgrade_examples.py           # Upgrade usage examples (NEW)
├── viaversion_upgrade_report.json # ViaVersion experience (NEW)
├── backup.sh                     # Backup automation
├── scripts/
│   └── health_check.sh           # Health monitoring
├── docs/
│   ├── architecture.md           # System design
│   ├── changelog.md              # Change history
│   └── Turret_Plugin_User_Manual.md  # Turret plugin guide (NEW)
├── backup/                       # World backups
├── plugin_backup/                # Plugin backups
└── jar_backup/                   # PaperMC jar backups

Workflow Examples

Daily Health Check

bash scripts/health_check.sh

Before Plugin Update (Traditional)

python3 manage_server.py backup
python3 plugin_manager.py backup OldPlugin.jar
python3 plugin_manager.py install-url <new_plugin_url> --filename NewPlugin.jar
python3 manage_server.py restart
python3 manage_server.py status

Intelligent Plugin Upgrade (NEW)

# Scan for upgrade candidates
python3 plugin_upgrade_framework.py --method 2 --scan-limit 20

# Upgrade specific plugin with risk assessment
python3 plugin_upgrade_framework.py --plugin ViaVersion --version 5.8.0 --auto-restart

# Run batch upgrade planning
python3 upgrade_examples.py

PaperMC Update

python3 update_paper.py backup-jar
python3 update_paper.py update-from-url <paper_download_url>
python3 manage_server.py restart
python3 manage_server.py status

Configuration

Environment Variables (.env)

SERVER_NAME=my-server
SERVER_DIR=/path/to/server
BACKUP_RETENTION=10

Troubleshooting

Service Won't Start

python3 manage_server.py logs -n 100

Check Disk Space

df -h

Verify Java

java -version

Safety First

This skill enforces operational discipline:

  • All actions through controlled interfaces
  • Mandatory backups before changes
  • No destructive direct commands
  • Full traceability

Never bypass the script layer for "quick fixes."

See Also

  • docs/architecture.md - System architecture
  • docs/changelog.md - Version history
  • docs/Turret_Plugin_User_Manual.md - Complete Turret plugin guide
  • scripts/health_check.sh - Health monitoring script
  • manage_server.py - Main control script
  • plugin_manager.py - Plugin operations
  • update_paper.py - PaperMC updates
  • plugin_upgrade_framework.py - Intelligent plugin upgrade framework
  • upgrade_examples.py - Upgrade usage examples
  • viaversion_upgrade_report.json - ViaVersion upgrade experience

License

MIT License - See LICENSE file


Skill Version: 2.0.0 (Enhanced with Plugin Upgrade Framework) Based on: v1.0.0 release Experience Source: ViaVersion 5.7.2 → 5.8.0 Upgrade (2026-03-28) Core Value: Combines AI-managed safety-first operations with intelligent plugin upgrade capabilities based on real-world experience. ClawHub Slug: papermc-ai-ops GitHub: https://github.com/yanxi1024-git/PaperMC-Ai-Agent

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

91.48%
按下载量换算3,231

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills