BukkitCode

Plugin examples

Four requirement briefs you can paste into a new session. They are intentionally specific — commands, permissions, persistence and config keys are what make the generated project usable.

Starter kit with cooldown

Prompt:

Create plugin StarterKit. Command /skit gives the player a configurable starter kit once every 24 hours per player. Respect permission starterkit.use. Store cooldowns in a YAML file and show remaining time in the denial message.

Typical output: Plugin main class, CommandExecutor for /skit, permission check, per-player cooldown persisted to disk, configurable item list in config.yml.

GUI shop with economy hook

Prompt:

Build a plugin ShopGUI. /shop opens a 27-slot inventory with three categories. Items show name, price and lore. Clicking buys the item and withdraws money through Vault. All prices and items live in config.yml. Permission shop.use.

Typical output: Inventory holder classes, click listener with slot mapping, Vault economy integration, config-driven categories, purchase confirmation messages.

Timed announcements and rewards

Prompt:

Plugin ServerPulse. Every 15 minutes broadcast a random message from config.yml with colour codes. Every 60 minutes of playtime give the player 1 diamond and a configurable reward message. Track playtime in a data file. Permission serverpulse.receive.

Typical output: Scheduler tasks, online player iteration, per-player playtime accounting persisted between restarts, configurable intervals and messages.

Custom mob spawner

Prompt:

Plugin MobSpawner. /mobspawner create    creates a spawner at the player's location that spawns the entity every N seconds within a radius of 5 blocks. Spawners persist across restarts, can be listed and removed, and drop vanilla loot. Permission mobspawner.admin.

Typical output: Spawner registry with persistence, repeating task per spawner, entity spawning with safe location search, subcommand routing, admin permissions.

Getting better results

Try one of these Read the docs