Index of every page on this site: llms.txt
All skills
github avatar

/minecraft-plugin-development

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

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 listener", "create plugin.yml", "implement a minigame mechanic", "add a perk or quest system", or "debug server plugin behavior".

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/minecraft-plugin-development

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesbootstrap-registration.md

≈887 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Bootstrap And Registration

Use this reference when changing onEnable, onDisable, command setup, event wiring, or startup ordering.

Bootstrap pattern from real plugins

Match-heavy minigame bootstrap

Common traits:

  • connect database first
  • register configuration serialization when needed
  • initialize multiple config managers
  • create gameplay managers and GUI helpers
  • apply lobby UI to already-online players
  • register many listeners explicitly
  • start repeating tasks
  • register commands and tab completers last

This pattern works well when startup must assemble many gameplay subsystems before the server can safely accept interactions.

Persistent class-brawl bootstrap

Common traits:

  • save default config and bundled resources first
  • construct config wrapper and progression config
  • connect database and create repository/service layers
  • construct scoreboard, map, hero, and game services
  • wire service dependencies together
  • start background tasks
  • preload async cache, then schedule main-thread UI refreshes
  • register listeners and commands after service graph is ready

This pattern works well when player data and async services are first-class dependencies.

Command registration rules

Observed practices:

  • Match-heavy minigames often declare all commands in plugin.yml, then set executors and tab completers in code.
  • Persistent brawl modes may declare a small command surface such as leave, then null-check getCommand before assigning the executor.

Recommended rules:

  • always add new commands to plugin.yml
  • if a command may be optional or renamed, null-check getCommand
  • if tab completion exists, register it in the same change
  • keep usage, permission, and permission-message aligned with actual code behavior

Listener registration rules

Observed practices:

  • both plugins register listeners in one place during startup
  • listener constructors receive only the services they actually need

Recommended rules:

  • keep registration centralized in the main plugin class or a clearly named bootstrap helper
  • inject services explicitly instead of having listeners discover globals everywhere
  • if a listener depends on a task, GUI, or manager, construct that dependency first

Repeating tasks and startup ordering

Observed practices:

  • Match-heavy minigames often start periodic gameplay tasks directly from startup for boundary checks and spectator UI refreshes
  • Persistent brawl modes often start background tasks via services such as player data and game services

Recommended rules:

  • start repeating tasks only after required state holders exist
  • cancel them in shutdown
  • if the task mutates gameplay state, ensure it runs on the main thread
  • if the task does I/O or cache rebuilds, prefer async execution and hop back to main thread for Bukkit work

Shutdown expectations

Observed practices:

  • Match-heavy minigames delete games, unload maps, flush pending stats, close DB resources, and clear sidebars
  • Persistent brawl modes shut down game service, player data service, map manager, then disconnect database

Recommended rules:

  • stop tasks
  • flush dirty data
  • detach or clear UI objects
  • unload temporary worlds if your plugin creates them
  • close database pools last

Contribution guidance for this skill

When generating code for startup or shutdown, mention:

  • which config or resource files must exist
  • which commands or listeners must be registered
  • what tasks must be started or canceled
  • what resources require cleanup on disable

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides comprehensive architectural guidance and code patterns for developing Minecraft plugins. No security risks or malicious behaviors were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 7 months ago
  • minecraft
  • paper
  • spigot
  • bukkit
  • java
  • plugin-development
  • game-mechanics
  • pvp
  • minigames
  • persistence

README badge

README badge for github/awesome-copilot/minecraft-plugin-development

Develops Minecraft server plugins for Paper, Spigot, and Bukkit with support for commands, listeners, schedulers, player state, minigames, arenas, persistent progression, and config-driven mechanics. Covers plugin.yml setup, combat systems, wave encounters, team modes, scoreboards, economy, quests, and version-safe API usage across the entire plugin lifecycle.

Generated from the current SKILL.md.

Does this skill work with Paper, Spigot, and Bukkit?
Yes. The skill covers all three server APIs, though it prefers Paper-first APIs when the project already targets Paper and avoids downgrading to generic Bukkit unless compatibility is explicitly required.
Can I use this skill for Fabric or Forge mods?
No. This skill is scoped to Paper, Spigot, and Bukkit server plugins only. Fabric mods, Forge mods, client mods, and Bedrock add-ons are out of scope.
Does this skill help with minigame and arena systems?
Yes. The skill includes patterns for arena instances, game phases, match state, minigame flow, map rotation, loot refreshes, wave systems, and visibility isolation between arenas.
What if I need to work with persistent player progression or economy systems?
The skill covers persistent profiles, perks, buffs, quests, economy rewards, and long-running PvP servers. It includes reference material on state modeling, async data handling, and custom event dispatch.
Does this skill handle async database access safely?
Yes. The skill enforces main-thread boundaries, requires async work to switch back to the main thread before applying gameplay changes, and includes patterns for safe database flushes and state mutation.

Generated from the current SKILL.md. These answers refresh after source changes.