跳到正文
Skillpedia
通用编程40k · #7296

minecraft-plugin-development

它能做什么

这个工具可以帮你创建和修改为 Minecraft 游戏编写的程序(称为“插件”)。它很适合给你的服务器添加新功能,比如自定义命令、游戏系统和玩家数据管理。

适用场景

  • ✓当你想为 Minecraft 服务器添加一个新的玩家命令时。
  • ✓如果你需要创建一个游戏系统,比如对战模式或物品礼包系统。
  • ✓当你想保存玩家信息,比如进度或物品时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/minecraft-plugin-development/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/minecraft-plugin-development/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我创建一个 Minecraft 插件,添加一个给玩家发放物品的命令。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 了解 Minecraft 插件的工作原理,包括如何注册命令和处理玩家操作。它会利用这些知识为你编写插件所需的代码。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Minecraft Plugin Development

Use this skill for Minecraft server plugin work in the Paper, Spigot, and Bukkit ecosystem.

This skill is especially useful for gameplay-heavy plugins such as combat systems, wave or boss encounters, war or team modes, arenas, kit systems, cooldown-based abilities, scoreboards, and config-driven game rules.

For grounded implementation patterns drawn from real Paper plugins, load these references as needed:

Scope

  • In scope: Paper, Spigot, Bukkit plugin development
  • In scope: plugin.yml, commands, tab completion, listeners, schedulers, configs, permissions, Adventure text, player state, minigame flow, arena instances, map copies, loot, waves, persistent profiles, perks, buffs, quests, economy, and PvP/PvE game loops
  • In scope: Java-based server plugin architecture, debugging, refactoring, and feature implementation
  • Out of scope by default: Fabric mods, Forge mods, client mods, Bedrock add-ons

If the user says "Minecraft plugin" but the stack is unclear, first determine whether the project is Paper/Spigot/Bukkit or a modding stack.

Default Working Style

When this skill triggers:

  1. Identify the server API and version target.
  2. Identify the build system and Java version.
  3. Inspect plugin.yml, the main plugin class, and command or listener registration.
  4. Map the gameplay flow before editing code:
    • player lifecycle
    • game phases
    • timers and scheduled tasks
    • team, arena, or match state
    • config and persistence
  5. Make the smallest coherent change that keeps registration, config, and runtime behavior aligned.

If the plugin is gameplay-heavy or stateful, read references/project-patterns.md and references/state-sessions-and-phases.md before editing.

If the task touches arena isolation, map instances, chest or resource refills, wave spawning, route voting, spectator visibility, or game-specific chat, also read references/minigame-instance-flow.md.

If the task touches persistent player progression, profile saves, economy rewards, perks, buffs, quests, custom combat events, or long-running shared PvP servers, also read references/persistent-progression-and-events.md.

If the task touches build files, plugin.yml metadata, shaded dependencies, generated resource output, deployment to a test server, optional plugin integrations, or release validation, also read references/build-test-and-runtime-validation.md.

Project Discovery Checklist

Check these first when present:

  • plugin.yml
  • pom.xml, build.gradle, or build.gradle.kts
  • the plugin main class extending JavaPlugin
  • command executors and tab completers
  • listener classes
  • config bootstrap code for config.yml, messages, kits, arenas, or custom YAML files

…

常见问题

什么是 Minecraft 插件?

插件是小型程序,可以为 Minecraft 服务器添加新功能,比如新命令、小游戏或各种系统。

支持哪些类型的 Minecraft 服务器?

这个工具适用于使用 Paper、Spigot 或 Bukkit 的服务器。

我可以用它来开发 mod 吗?

不可以。这个工具只适用于服务器插件,不适用于会改变游戏本身的 mod。

详情

作者的原始描述

Use this skill when building or modifying Minecraft server plugins for Paper, Spigot, or Bukkit, including plugin.yml setup, commands, listeners, schedulers, player state, team or arena systems, persistent progression, economy or profile data, configuration files, Adventure text, and version-safe API usage. Trigger for requests like "build a Minecraft plugin", "add a Paper command", "fix a Bukkit

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7296
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能