Create a high-quality Minecraft plugin for Paper (Java Edition) called "ElementalShards".
Core System:
* Players can obtain and equip up to 2 elemental shards at a time. * Shards are custom items with unique names, lore, and persistent data (use PersistentDataContainer). * Each shard grants: 1 passive ability (always active), 1 active ability (right-click), 1 ultimate ability (sneak + right-click).
Elements to include:
* Fire, Water, Earth, Air, Lightning, Void.
Abilities:
Fire:
* Passive: small burn effect to nearby enemies every few seconds. * Active: Fire Dash (player dashes forward leaving a fire trail and damaging enemies). * Ultimate: Flame Burst (AOE explosion with fire damage).
Water:
* Passive: slow regeneration when near water. * Active: Healing Wave (heals player and nearby allies). * Ultimate: Tsunami (pushes enemies away and damages them).
Earth:
* Passive: damage reduction. * Active: temporary wall/shield. * Ultimate: Earthquake (AOE knock-up + damage).
Air:
* Passive: speed boost and no fall damage. * Active: double jump/dash. * Ultimate: Tornado pull effect.
Lightning:
* Passive: chance to apply shock (extra damage). * Active: chain lightning between nearby enemies. * Ultimate: multiple lightning strikes on target area.
Void (rare shard):
* Passive: chance to dodge attacks. * Active: short teleport forward. * Ultimate: black hole that pulls enemies inward.
Fusion System:
* If player equips 2 shards, unlock a fusion ability:
* Fire + Air = Explosion Dash * Fire + Earth = Lava Slam * Water + Lightning = Shock Wave * Air + Void = Blink Storm * Earth + Void = Gravity Prison
Mechanics:
* Add cooldown system for each ability. * Add energy/mana system (abilities consume energy, regenerates over time). * Prevent ability spam (global cooldown). * Show cooldowns using action bar messages.
Commands:
* /shards → opens INVENTORY GUI to equip shards. * /giveshard <player> <type> → gives a shard. * /removeshards <player>
INVENTORY GUI:
* Simple inventory INVENTORY GUI with 2 shard slots.
Other Requirements:
* Clean, modular code (ShardManager, AbilityManager, CooldownManager). * Use listeners for PlayerInteractEvent, EntityDamageByEntityEvent, PlayerMoveEvent. * Optimize performance (avoid heavy repeating tasks). * Include config.yml for cooldowns, damage, and energy settings. * Include basic permissions.
Make the plugin production-ready and easy to expand.
No files in this session