๐ฅ ShineSMP โ Ultimate Minecraft Java Plugin Development Prompt
Complete Master Edition โ 10 Shines โข 20 Abilities โข Custom Recipes โข 15-Minute Rituals โข Premium Effects โข Custom HUD
Act as a senior Minecraft Java plugin developer. Build a complete, compilable Maven project for ShineSMP, targeting Minecraft Java Edition 1.21.x using Java and the Paper API.
Deliver all Java source files, configuration files, ten crafting recipes, the 15-minute ritual system, all 20 abilities, unique visual and audio effects, virtual Shine ownership, custom GUI, persistent storage, resource-pack assets, tests, and installation instructions.
Do not provide pseudocode, empty methods, or placeholder implementations. Do not claim a feature works unless it has actually been implemented and tested.
- The 10 Shines
Implement exactly these ten Shines:
- Grinder Shine
- Strength Shine
- Frost Shine
- Clown Shine
- Thunder Shine
- Ender Shine
- Invis Shine
- Astra Shine
- Singularity Shine
- Speed Shine
Each Shine must have exactly two unique active abilities, for 20 abilities total.
- All 20 Abilities
Grinder Shine
- Lucky Miner: Temporarily improve mining efficiency with a configurable chance of bonus ore drops and XP.
- Grinder Rush: Grant Haste III and faster resource gathering for 12 seconds.
Strength Shine
- Titan Strike: Empower the next melee attack with configurable bonus damage and an impact effect.
- Berserker Mode: Grant Strength II and Resistance I for 6 seconds.
Frost Shine
- Frost Nova: Release an icy burst that briefly slows nearby enemies.
- Frozen Ground: Create a temporary frost zone that slows enemies inside it.
Clown Shine
- Trickster Swap: Safely swap positions with a targeted player within range.
- Chaos Burst: Release a colorful burst that briefly applies Slowness and disorienting visual effects.
Thunder Shine
- Thunder Strike: Display a warning, then call lightning at a targeted location and deal configurable damage.
- Volt Rush: Dash forward with an electric trail and temporary movement-speed boost.
Ender Shine
- Void Blink: Teleport a short distance in the direction the player looks, stopping safely at obstacles.
- Rift Return: Mark a safe location and teleport back before the mark expires.
Invis Shine
- Shadow Veil: Become invisible for 6 seconds; attacking ends invisibility.
- Phantom Escape: Gain brief invisibility and a speed boost with a visible particle trail.
Astra Shine
- Starfall: Call down several cosmic impacts onto a marked area after a warning delay.
- Astral Shield: Activate a temporary shield that absorbs configurable damage.
Singularity Shine
- Gravity Well: Create a temporary field that pulls nearby enemies toward its center.
- Implosion: Pull nearby enemies inward, then release a controlled knockback burst.
Speed Shine
- Sonic Dash: Perform a powerful forward dash with high velocity, limited vertical boost, collision detection, and optional limited air dash.
- Overdrive: Grant Speed III and enhanced movement for 8 seconds, followed by a configurable recovery period.
Every ability must have configurable cooldowns, durations, ranges, damage, effects, and restrictions.
- Virtual Shine Ownership โ Critical
Shines are virtual abilities, never physical items.
- On first join, randomly assign one Shine, unlock it, equip it, and save the player's data.
- Never reroll the Shine on reconnect.
- Players can own multiple Shines and use "/shinesmp shines" to view and equip unlocked Shines.
- Players can equip only Shines they own.
- Persist ownership, equipped Shine, control preferences, and relevant ritual state using SQLite or another reliable database.
- Prevent duplicate ownership.
- A full inventory must never affect Shine assignment or abilities.
- Crafting unlocks a Shine virtually and never produces a physical Shine item.
- Database initialization or migration failures must never overwrite existing player data.
- First-Join Assignment
When a player joins for the first time:
- Choose one random Shine from the ten available.
- Unlock it for the player's account.
- Automatically equip it.
- Save ownership and equipment.
- Display a welcome message naming the assigned Shine.
- Initialize the HUD and input integration where supported.
Rejoining must preserve the player's existing ownership and equipped Shine.
- Ten Custom Crafting Recipes
Create ten configurable 3ร3 crafting recipes using the following vanilla Minecraft Java items. These are custom recipes added by ShineSMP, not existing vanilla recipes.
Store all recipes in "recipes.yml". Define exact grid positions and use explicit empty slots where required.
Recipe 1 โ Grinder Shine
Theme: Mining and grinding.
- Diamond Pickaxe
- Iron Ingot
- Coal
- Redstone
- Emerald
- Iron Ingot
- Coal
- Iron Ingot
- Diamond
Recipe 2 โ Strength Shine
Theme: Power and strength.
- Blaze Rod
- Iron Block
- Blaze Rod
- Gold Ingot
- Netherite Ingot
- Gold Ingot
- Blaze Powder
- Diamond
- Blaze Powder
Recipe 3 โ Frost Shine
Theme: Ice and freezing.
- Packed Ice
- Snowball
- Packed Ice
- Blue Ice
- Heart of the Sea
- Blue Ice
- Snowball
- Packed Ice
- Snowball
Recipe 4 โ Clown Shine
Theme: Chaos and tricks.
- Firework Rocket
- Amethyst Shard
- Firework Rocket
- Pink Dye
- TNT
- Purple Dye
- Amethyst Shard
- Firework Rocket
- Amethyst Shard
Recipe 5 โ Thunder Shine
Theme: Lightning and electricity.
- Copper Ingot
- Lightning Rod
- Copper Ingot
- Blaze Rod
- Nether Star
- Blaze Rod
- Copper Ingot
- Redstone Block
- Copper Ingot
Recipe 6 โ Ender Shine
Theme: Teleportation and dimensional energy.
- Ender Pearl
- Obsidian
- Ender Pearl
- Eye of Ender
- End Crystal
- Eye of Ender
- Obsidian
- Ender Pearl
- Obsidian
Recipe 7 โ Invis Shine
Theme: Stealth and invisibility.
- Phantom Membrane
- Glass
- Phantom Membrane
- Potion
- Nether Star
- Potion
- Glass
- Phantom Membrane
- Glass
Specify accepted potion variants and validate them server-side.
Recipe 8 โ Astra Shine
Theme: Stars and cosmic energy.
- Glowstone
- Eye of Ender
- Glowstone
- Gold Block
- Nether Star
- Gold Block
- Amethyst Shard
- Glowstone
- Amethyst Shard
Recipe 9 โ Singularity Shine
Theme: Gravity and the void.
- Crying Obsidian
- Blackstone
- Crying Obsidian
- Ender Pearl
- Nether Star
- Ender Pearl
- Obsidian
- Crying Obsidian
- Obsidian
Recipe 10 โ Speed Shine
Theme: Speed and movement.
- Sugar
- Feather
- Sugar
- Rabbit's Foot
- Nether Star
- Rabbit's Foot
- Feather
- Sugar
- Feather
Validate ingredients and recipe layouts server-side. Prevent shift-click duplication, repeated processing, recipe spoofing, and accidental double consumption. Recipes must be configurable.
- The 15-Minute Ritual System
Every successful Shine recipe starts a 15-minute ritual. Crafting does not directly produce a Shine item or immediately grant the Shine.
Ritual flow
- The player completes a valid Shine recipe in a crafting table.
- The plugin validates the recipe, player state, and ownership.
- The plugin consumes the recipe ingredients exactly once.
- The vanilla crafting result is intercepted so no physical Shine item is produced.
- The plugin starts the corresponding ritual at the configured ritual location.
- A visible ritual effect begins, with particles, sounds, an altar or marker, and a "15:00" countdown.
- "/shinesmp rituals" displays active rituals and remaining time.
- After 15 minutes, the ritual completes and unlocks the corresponding virtual Shine.
- The plugin saves the unlock and ritual completion state.
- The player receives a completion message and appropriate effects.
Ritual requirements
- Default duration: 15 minutes of real elapsed time.
- Show a countdown starting at "15:00".
- Provide configurable altar appearance, particles, sounds, messages, radius, and location rules.
- Make interruption behavior configurable: rituals can continue or cancel if the owner leaves, moves away, dies, or the server restarts.
- Persist start timestamps and ritual states so remaining time is accurate after restart.
- Prevent duplicate active rituals and duplicate completion rewards.
- Clean up temporary entities, visual effects, and tasks when a ritual ends.
- Handle database failures safely without corrupting ownership or granting duplicate rewards.
- If the player already owns the Shine, follow a configurable duplicate-crafting policy: cancel the ritual, allow another reward, or provide configured compensation.
- Provide admin commands to inspect, cancel, or complete rituals with permission checks and audit logs.
- Never put a physical Shine into the crafting result, inventory, hotbar, armor, or offhand.
Ritual commands
- "/shinesmp rituals" โ view active rituals and remaining time.
- "/shinesmp ritual info <player>" โ inspect a player's ritual.
- "/shinesmp ritual cancel <player>" โ cancel a ritual with permission.
- "/shinesmp ritual complete <player>" โ administrator-only completion with audit logging.
- Premium Effects and Animations for Every Ability
Every successful ability activation must produce polished, unique, Shine-specific effects. Effects must correspond to real server-side gameplay and must not be cosmetic placeholders.
Grinder Shine
- Lucky Miner: Golden mining particles, sparkling ore effects, mining sounds, and a gold or green glow when bonus resources are awarded.
- Grinder Rush: Golden speed streaks, mining-themed particles, Haste activation sound, and a subtle gold aura for 12 seconds.
Strength Shine
- Titan Strike: Red impact burst, critical-hit particles, heavy impact sound, and a short shockwave when the empowered hit lands.
- Berserker Mode: Red aura, flame particles, an activation burst, and a distinct power-up sound.
Frost Shine
- Frost Nova: Expanding snowflake ring, ice particles, frosty sound, and blue-white impact bursts around affected enemies.
- Frozen Ground: Icy ground particles, snowflakes around slowed enemies, and a freezing sound when the zone appears.
Clown Shine
- Trickster Swap: Purple and pink teleport particles at both locations, a teleport sound, and a brief burst after the swap.
- Chaos Burst: Colorful confetti, firework sparkles, playful sound effects, and a multicolored ring around the affected area.
Thunder Shine
- Thunder Strike: Electric warning particles, a visible target marker, warning sound, and a thunder impact after the delay.
- Volt Rush: Blue electric trail, spark particles, dash sound, and brief speed streaks.
Ender Shine
- Void Blink: Purple portal particles before and after teleportation, an ender-style sound, and a short distortion-like burst.
- Rift Return: Glowing purple marker at the saved location, swirling portal particles, and a return-teleport animation.
Invis Shine
- Shadow Veil: Dark smoke, subtle purple particles, fade-style activation sound, and matching effects when invisibility ends.
- Phantom Escape: Cyan ghost-like particles, a shadow trail, soft teleport sound, and a burst when the player reappears.
Astra Shine
- Starfall: Glowing stars above the target area, falling-star trails, warning markers before impact, and cosmic impact bursts.
- Astral Shield: Golden-blue shield aura, star particles, protective sound, and a visual flash whenever the shield absorbs damage.
Singularity Shine
- Gravity Well: Dark purple swirling particles, inward-moving effects, low gravity-style sound, and a visible center point.
- Implosion: Contracting particle ring, inward pull effects, deep impact sound, followed by a controlled outward shockwave.
Speed Shine
- Sonic Dash: Cyan and blue speed streaks, takeoff dust, fast whoosh sound, and an impact effect if the dash stops at an obstacle.
- Overdrive: Electric-blue aura, speed trails, activation particles, and a subtle movement effect for 8 seconds.
Effect requirements
Every ability must support configurable:
- Particle type, count, spread, color where supported, radius, and duration.
- Activation, warning, impact, and ending sounds.
- Sound volume and pitch.
- Animation duration and effect visibility radius.
- Visibility to the caster, affected players, nearby players, or everyone.
- Optional action-bar feedback and HUD activation highlights.
- Particle limits and per-player effect limits.
Use supported particle and sound types for the targeted Minecraft version. Validate configuration values and provide safe defaults.
Effects must be synchronized with real ability behavior. Cosmetic effects must never cause extra damage. Avoid flashing effects that obscure gameplay, excessive particles, duplicate sounds, and performance-heavy repeating tasks. Clean up animation tasks on logout, plugin disable, and ability termination.
- Custom Ability HUD and Resource Pack
Use the supplied ShineSMP reference design.
Display two square pixel-art ability icons directly above the Minecraft hotbar, centered horizontally:
- Left icon: Ability 1.
- Right icon: Ability 2.
Requirements:
- 20 unique 64ร64 pixel-art ability icons.
- Two unique icons per Shine.
- Dark pixel borders and colorful Shine-specific symbols.
- Cooldown progress or remaining time.
- Ready abilities appear bright.
- Briefly highlight an icon on activation.
- Support normal gameplay and different resolutions where technically possible.
- Include all textures, "pack.mcmeta", resource-pack files, and a README.
A normal Paper plugin and vanilla resource pack cannot independently display arbitrary images at fixed screen coordinates. Implement a supported client-side HUD integration with explicit client requirements, or provide a documented practical alternative. Do not falsely claim native vanilla support or substitute chat messages and inventory menus for the requested HUD.
- Ability Controls โ Glitch-Fixed
Default controls:
- Ability 1: Shift + F.
- Ability 2: Shift + Right Click.
Support:
"/shinesmp ability control <control1|control2> <key>"
Examples:
- "/shinesmp ability control control1 F"
- "/shinesmp ability control control2 RIGHT_CLICK"
Save each player's preferences.
Shift + F
- One valid fresh key press activates Ability 1 at most once.
- Do not require repeated pressing or holding.
- Deduplicate repeated packets and callbacks.
- Default configurable debounce: 200 ms.
- Validate cooldowns and restrictions before execution.
- Show remaining cooldown without activating an unavailable ability.
Standard Paper APIs cannot detect arbitrary F-key presses from an unmodified vanilla client. Implement a supported client-side input integration or provide "/shinesmp cast 1" as a reliable fallback.
Shift + Right Click
- Use supported Paper interaction events.
- Handle main-hand and off-hand events without duplicate activations.
- Ignore unrelated GUI interactions and invalid protected-block interactions.
- Respect sneaking, cooldowns, world restrictions, protection rules, and player state.
- Default configurable debounce: 200 ms.
- One valid click must never execute the same ability twice.
Centralized input manager
Create one centralized input handler. Separate input detection, deduplication, validation, cooldown checks, and ability execution.
Validate that the player is online and alive, has an equipped Shine, owns the requested ability, is not restricted, and has no active cooldown. Register activation atomically before applying effects.
Clear temporary input state safely on disconnect, death, world change, reload, and shutdown. Prevent rapid duplicate activation.
- Shine Selection GUI
Implement "/shinesmp shines" as a polished inventory GUI.
Display each Shine's:
- Name and description.
- Two ability names and summaries.
- Cooldown information.
- Ownership status.
- Equipped status.
Clicking an owned Shine equips it immediately and updates the HUD. Clicking an unowned Shine displays a clear message.
Prevent item movement, shift-click exploits, duplication, and GUI spoofing. Validate all GUI actions server-side.
- Commands and Permissions
Player commands
- "/shinesmp" โ main help menu.
- "/shinesmp shines" โ open the Shine GUI.
- "/shinesmp equip <shine>" โ equip an owned Shine.
- "/shinesmp unequip" โ unequip the current Shine.
- "/shinesmp info <shine>" โ show Shine details.
- "/shinesmp ability control <control1|control2> <key>" โ customize controls.
- "/shinesmp cooldowns" โ show active cooldowns.
- "/shinesmp recipes" โ view recipes.
- "/shinesmp rituals" โ view active rituals.
- "/shinesmp cast <1|2>" โ fallback activation.
Administrator commands
- "/shinesmp give <player> <shine>"
- "/shinesmp set <player> <shine>"
- "/shinesmp remove <player> <shine>"
- "/shinesmp random <player>"
- "/shinesmp reset <player>" โ confirmation safeguards.
- "/shinesmp reload"
- "/shinesmp recipe give <player> <shine>"
- "/shinesmp audit <player>"
- "/shinesmp ritual info <player>"
- "/shinesmp ritual cancel <player>"
- "/shinesmp ritual complete <player>"
Include permission nodes, tab completion, argument validation, configurable messages, and audit logs.
- Powerful Sonic Dash
- Configurable high horizontal velocity and limited vertical boost.
- Optional limited air dash.
- Configurable maximum travel distance.
- Smooth particles, sounds, and movement trails.
- Collision detection and safe handling of obstacles, water, and dangerous drops.
- Configurable cooldown and recovery.
- Anti-spam and velocity-exploit protection.
- Configurable PvP restrictions.
- Prevent bypassing protected regions and teleport restrictions.
- Configuration, Storage, and Project Structure
Deliver a complete Maven project containing:
- "pom.xml"
- "plugin.yml"
- "config.yml"
- "messages.yml"
- "shines.yml"
- "recipes.yml"
- All Java source files.
- All resource-pack assets.
- Automated tests where practical.
- Build, installation, and configuration instructions.
Persist ownership, equipment, control preferences, and ritual states reliably. Avoid blocking the server main thread with database operations. Include safe database initialization, migrations, error handling, and debug logs.
- Security, Performance, and Reliability
- Never use physical Shine items for normal ownership or equipment.
- Validate all ability activations and ritual actions server-side.
- Prevent duplicate unlocks, rewards, crafting, and cooldown bypasses.
- Clean up temporary effects and tasks on logout and shutdown.
- Validate all teleport destinations and dash movement.
- Avoid excessive particles and unnecessary repeating tasks.
- Handle restarts and configuration reloads safely.
- Keep compatibility with the selected Paper 1.21.x release.
- Testing and Final Deliverables
Include automated tests where practical for:
- All twenty abilities and their visual/audio effects.
- First-join assignment and ownership persistence.
- Recipe validation and exact ingredient consumption.
- Ritual timing, interruption settings, and restart recovery.
- Duplicate reward prevention.
- GUI security.
- Input debouncing and duplicate-event prevention.
- Cooldown enforcement.
- Permissions and administrator commands.
- Dash collision and teleport safety.
- HUD rendering and client compatibility.
Provide the exact Maven build command, installation path, configuration instructions, resource-pack setup, and any required client-side integration.
Final Acceptance Criteria
- Exactly 10 Shines and 20 fully implemented abilities.
- Every ability has unique, configurable visual and audio effects.
- Every recipe consumes ingredients exactly once and starts the correct 15-minute ritual.
- A completed ritual unlocks a Shine virtually, never as a physical item.
- Ritual interruption behavior is configurable and persistent.
- Each valid input triggers at most one ability activation.
- Cooldowns, restrictions, and permissions are enforced server-side.
- The custom HUD's actual client requirements are documented honestly.
- The Maven project must compile and tests must be run before claim