minecraft-plugin-development
Skill này làm gì
Công cụ này giúp tạo và chỉnh sửa các chương trình (gọi là 'plugin') cho game Minecraft. Hữu ích để thêm tính năng mới vào máy chủ, như lệnh tùy chỉnh, hệ thống trò chơi và quản lý dữ liệu người chơi.
Khi nào nên dùng
- ✓Khi bạn muốn thêm một lệnh mới cho người chơi trên máy chủ Minecraft.
- ✓Khi bạn cần tạo một hệ thống trong game, như chế độ chiến đấu hoặc hệ thống kit.
- ✓Khi bạn muốn lưu thông tin người chơi, như tiến trình hoặc vật phẩm.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/minecraft-plugin-development/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một plugin Minecraft có lệnh để trao vật phẩm cho người chơi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI hiểu cách hoạt động của plugin Minecraft, bao gồm cách đăng ký lệnh và xử lý hành động của người chơi. Nó dùng kiến thức này để viết mã cần thiết cho plugin của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
references/project-patterns.mdfor high-level architecture patterns seen in real gameplay pluginsreferences/bootstrap-registration.mdforonEnable, command wiring, listener registration, and shutdown expectationsreferences/state-sessions-and-phases.mdfor player session modeling, game phases, match state, and reconnect-safe logicreferences/config-data-and-async.mdfor config managers, database-backed player data, async flushes, and UI refresh tasksreferences/maps-heroes-and-feature-modules.mdfor map rotation, hero or class systems, and modular feature growthreferences/minigame-instance-flow.mdfor arena instances, countdowns, loot refreshes, wave systems, visibility isolation, and entity-to-game ownershipreferences/persistent-progression-and-events.mdfor long-running PvP servers with profiles, perks, buffs, quests, economy, custom domain events, and extension registriesreferences/build-test-and-runtime-validation.mdfor Maven or Gradle packaging, shaded dependencies, generated resources, soft dependencies, config validation commands, and first-round server test plans
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:
- Identify the server API and version target.
- Identify the build system and Java version.
- Inspect
plugin.yml, the main plugin class, and command or listener registration. - Map the gameplay flow before editing code:
- player lifecycle
- game phases
- timers and scheduled tasks
- team, arena, or match state
- config and persistence
- 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.ymlpom.xml,build.gradle, orbuild.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
…
Câu hỏi thường gặp
Plugin Minecraft là gì?
Plugin là các chương trình nhỏ bổ sung tính năng mới cho máy chủ Minecraft, như lệnh mới, trò chơi hoặc hệ thống.
Hỗ trợ những loại máy chủ Minecraft nào?
Công cụ hoạt động với các máy chủ dùng Paper, Spigot hoặc Bukkit.
Tôi có thể dùng công cụ này cho mod không?
Không, công cụ chỉ dành cho plugin máy chủ, không dành cho mod thay đổi chính trò chơi.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7296
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.