Create a lightweight Minecraft Java plugin for Paper 1.21.11 inspired by Glory SMP Season 2 with a complete custom fruit power system.
Core Requirements:
* Add a total of 11 custom fruits: Fire, Ice, Lightning, Wind, Shadow, Light, Earth, Water, Gravity, Toxic, and Darkness. * All fruits must be consumable items (right-click to eat). * Eating a fruit grants a permanent power to the player. * Each player can only have ONE fruit at a time. * If a player already has a fruit, they cannot consume another.
Abilities:
* Players can activate their fruit ability using SHIFT + RIGHT CLICK. * Each ability must have a 30-second cooldown. * Each fruit must include unique particle effects + sound effects for visual impact.
Fruit Abilities + Particles:
🔥 Fire Fruit:
* Explosion attack * Particles: FLAME, LAVA, SMOKE * Sound: Explosion
❄️ Ice Fruit:
* Slows enemies / freeze effect * Particles: SNOWFLAKE, CLOUD * Sound: Glass break / freeze
⚡ Lightning Fruit:
* Lightning strike at target * Particles: ELECTRIC_SPARK, FLASH * Sound: Thunder
🌪️ Wind Fruit:
* Dash forward * Particles: CLOUD, SWEEP_ATTACK * Sound: Whoosh
🌑 Shadow Fruit:
* Invisibility * Particles: SMOKE, PORTAL * Sound: Enderman teleport
✨ Light Fruit:
* Speed boost * Particles: END_ROD, GLOW * Sound: Beacon activate
🌍 Earth Fruit:
* Resistance / tank ability * Particles: BLOCK (dirt/stone), FALLING_DUST * Sound: Stone hit
🌊 Water Fruit:
* Water breathing / aquatic boost * Particles: BUBBLE, SPLASH * Sound: Water ambient
🌌 Gravity Fruit:
* High jump * Particles: PORTAL, DRAGON_BREATH * Sound: End portal
☠️ Toxic Fruit:
* Poisons nearby players * Particles: SPELL_MOB, VILLAGER_ANGRY * Sound: Witch throw
🌑 Darkness Fruit:
* Passive: Permanent Strength I * Ability: Domain Expansion:
* Applies blindness + slowness to nearby players * Radius: ~6 blocks * Particles: SMOKE, SOUL_FIRE_FLAME, DRAGON_BREATH (dark aura) * Sound: Wither spawn
Commands:
- /withdraw <fruit>
* Gives the player a specific fruit item
- /startsmp
* Starts the SMP * Gives all players one random fruit * Automatically activates their power * Broadcast start message
PvP System (Fruit Stealing):
* Player kills player:
* Victim drops their fruit * Victim loses power * Non-PvP death:
* No fruit drop
Gameplay Rules:
* Fruits can be dropped normally * Permanent power system * One fruit per player only
Technical Requirements:
* Clean modular Java structure:
* Main class * Fruit listener * Death listener * Commands * Data manager * Use Paper API 1.21 * Add null checks (no crashes) * Keep plugin lightweight
Goal:
Create a visually rich, PvP-focused SMP plugin with strong abilities, particle effects, and a fruit-stealing system similar to Glory SMP.