================================================== PLUGIN NAME ================================================== Ashhollow Magic
================================================== PLUGIN TYPE ================================================== Paper 1.21.11 plugin.
Create API support to connect with Ashhollow Kingdoms.
================================================== MAGIC SYSTEM CORE ================================================== Command: /magic
Subcommands:
- /magic kingdom → Kingdom info, relics, members.
- /magic origin → Origin selection and info.
- /magic kingdom ruler → Ruler management (set, remove, heir, rename).
- /magic toggle → Enable/disable magic abilities.
- /magic savior set <player> → Grant Savior (admin only).
- /magic savior remove <player> → Remove Savior.
================================================== ORIGIN SYSTEM ================================================== When a new player joins:
- They must choose an origin immediately.
- Once chosen, they are automatically assigned to the corresponding kingdom.
- No need for /kingdom join.
Each origin displays:
- Name
- Description (species lore)
- Advantages
- Disadvantages (allergies/weaknesses)
- Passive traits
- 4 Active abilities (PvP-capable, themed particles)
After selection:
- Save origin permanently.
- Apply traits and abilities.
- Send kingdom info to Ashhollow Kingdoms API.
================================================== ORIGIN LIST ================================================== SHADOW KINGDOM
- Vampire: Night creature with blood magic. Advantages: stronger at night, fast movement. Disadvantages: weakened by sunlight, allergic to garlic. Passive: nocturnal. Abilities: Blood Strike (dark projectile), Night Dash (shadow dash hit), Vampiric Drain (life steal), Shadow Bite (melee bleed).
- Shadeborn: Shadow beings. Advantages: stealth bonus. Disadvantages: weak in bright light. Abilities: Shadow Meld (invisibility), Cloak of Darkness (damage reduction aura), Silent Step (dash strike), Shadow Grasp (root enemy).
- Nightfang: Beast-like hunters. Advantages: enhanced senses. Disadvantages: weaker in daylight. Abilities: Predator Strike (claw slash), Beast Roar (fear AoE), Night Slash (shadow strike), Fang Leap (pounce hit).
- Ravenfolk: Winged shadow species. Advantages: flight in darkness. Disadvantages: fragile wings in daylight. Abilities: Dark Flight (short flight strike), Wing Slash (melee hit), Raven’s Cry (debuff scream), Shadow Dive (smoke burst attack).
- Warlock: Forbidden magic users. Advantages: strong curses. Disadvantages: weak to holy magic. Abilities: Dark Curse (DoT), Hex Bolt (projectile), Soul Drain (life steal), Forbidden Flame (dark fire AoE).
NATURE KINGDOM
- Dryad: Forest spirit. Advantages: healing allies. Disadvantages: weak to fire. Abilities: Nature Blessing (heal allies), Vine Whip (root strike), Leaf Storm (AoE damage), Spirit Heal (cleanse).
- Sylvan Elf: Forest-dwelling elf. Advantages: accurate ranged attacks. Disadvantages: fragile defense. Abilities: Forest Arrow (ranged hit), Quickstep (dash strike), Elven Focus (buff), Spirit Shot (magic projectile).
- Dwarf: Underground race. Advantages: strong resistance, mining ability. Disadvantages: slower movement. Passive: small size (scaled smaller). Abilities: Ancient Stone (defense buff), Hammer Smash (melee hit), Stone Skin (damage reduction), Mining Surge (knockback strike).
- Treantkin: Tree guardians. Advantages: strong defense. Disadvantages: slow movement. Abilities: Ancient Roots (root AoE), Bark Shield (defense aura), Branch Slam (melee hit), Forest Guard (ally buff).
- Nature Catkin: Feline nature spirits. Advantages: agile movement. Disadvantages: weaker defense. Abilities: Spirit Pounce (leap strike), Cat Reflex (dodge buff), Nature Dash (speed strike), Spirit Claw (melee slash).
ICE KINGDOM
- Frostborn: Born of frost. Advantages: cold resistance. Disadvantages: weak to fire. Abilities: Frost Armor (defense buff), Ice Shard (projectile), Frozen Breath (cone slow), Chill Aura (AoE debuff).
- Snow Elf: Elves of snow. Advantages: accurate ice attacks. Disadvantages: fragile in heat. Abilities: Ice Lance (ranged hit), Snow Step (dash strike), Frost Arrow (projectile), Blizzard Call (AoE).
- Crystalborn: Crystal-bodied. Advantages: strong defense. Disadvantages: slow movement. Abilities: Crystal Barrier (wall), Shard Burst (AoE shards), Reflective Skin (damage reduction), Crystal Slam (melee hit).
- Winter Wolfkin: Wolf-like hunters. Advantages: fast movement, strong bite. Disadvantages: weak in warm climates. Abilities: Frozen Fang (bite strike), Wolf Howl (fear AoE), Ice Dash (dash hit), Frost Bite (melee slash).
- Glacier Giantkin: Massive ice giants. Advantages: huge strength, cold resistance. Disadvantages: slow movement. Passive: giant size (scaled larger). Abilities: Frozen Ground (AoE slow), Ice Slam (melee hit), Avalanche (AoE damage), Giant’s Roar (fear).
WATER KINGDOM
- Merfolk: Aquatic species. Advantages: breathe underwater AND land, swim faster. Disadvantages: weaker away from water. Passive: amphibious breathing. Abilities: Ocean Current (knockback wave), Water Slash (melee strike), Tidal Wave (AoE push), Sea’s Embrace (heal allies).
- Siren: Mystical singers. Advantages: charm enemies, heal allies. Disadvantages: weaker on land. Abilities: Ocean Song (charm), Siren’s Call (debuff), Healing Melody (heal), Wave Charm (AoE push).
- Tideborn: Born of tides. Advantages: wave control. Disadvantages: weaker in dry areas. Abilities: Wave Control (AoE push), Tide Push (knockback strike), Water Dash (dash hit), Flow Surge (buff).
- Coralfolk: Coral-bodied. Advantages: strong defense. Disadvantages: slow on land. Abilities: Coral Shield (defense buff), Reef Slam (melee hit), Hardened Skin (damage reduction), Coral Blast (projectile).
- Abyssal Fisherkin: Deep sea hunters. Advantages: deep sea vision. Disadvantages: weaker in sunlight. Abilities: Deep Sea Vision (buff), Abyssal Strike (melee hit), Net Trap (root), Dark Water Surge (AoE damage).
FIRE KINGDOM
- Emberkin: Flame-born. Advantages: strong fire attacks. Disadvantages: weak to water. Abilities: Flame Burst (projectile), Fire Dash (dash strike), Ember Slash (melee hit), Heat Wave (AoE).
- Phoenixborn: Reborn in fire. Advantages: revive once upon death. Disadvantages: weak to shadow magic. Abilities: Phoenix Rebirth (revive), Flame Wing (dash strike), Burning Aura (damage aura), Firestorm (AoE).
- Ifrit: Fiery spirits. Advantages: strong melee fire attacks. Disadvantages: weak to ice. Abilities: Inferno Hand (melee hit), Flame Punch (strike), Fire Spin (AoE), Lava Surge (buff).
- Ashwalker: Ash wanderers. Advantages: area fire damage. Disadvantages: weak to water. Abilities: Ash Storm (AoE), Smoke Veil (stealth buff), Fire Step (dash strike), Burning Ground (AoE).
- Magmaborn: Magma-born. Advantages: strong defense. Disadvantages: slow movement. Abilities: Magma Armor (defense buff), Lava Slam (melee hit), Molten Skin (damage reduction), Heat Shield (buff).
================================================== RULER SYSTEM ==================================================
- Rulers choose an origin like normal members.
- They gain their 4 origin abilities PLUS 1 ultimate ruler ability.
- Rulers can:
- Rename kingdom - Assign roles - Assign heir (/magic kingdom ruler heir <player>) - Manage relics - Toggle PvP
- Fire Ruler → Royal Inferno (massive flame AoE). - Water Ruler → Ocean’s Protection (healing shield). - Ice Ruler → Frozen Dominion (freeze enemies). - Shadow Ruler → Shadow Decree (weakens enemies). - Nature Ruler → Ancient Forest Blessing (heal allies).
================================================== RELIC SYSTEM ==================================================
- Each kingdom has a relic (Fire, Water, Ice, Shadow, Nature).
- Placing relic in item frame/glow frame → activates protective radius.
- Radius is large; all members inside gain relic effects.
- Relics can be stolen by other kingdoms.
- If placed near another relic, effects stack.
- Relic effects:
- Fire Relic: fire resistance, flame damage boost. - Water Relic: water breathing, swim speed boost.
📄
pasted-code-1784726612157.txt
txt
65 lines
▶
- Ice Relic: frost resistance, defense boost.
- Shadow Relic: night vision, stealth bonus.
- Nature Relic: regeneration, plant growth boost.
==================================================
SAVIOR SYSTEM
==================================================
- Only one Savior exists.
- Admins grant Savior via LuckPerms permission: ashhollow.magic.savior.
- Savior replaces origin abilities with her own.
- Savior has 4 themed light abilities + 1 ultimate.
- Savior abilities:
- Light Beam: ranged holy light attack (golden ray particles).
- Radiant Shield: glowing barrier protecting allies.
- Healing Light: restore allies and remove debuffs.
- Purge Darkness: dispel shadow effects.
- Ultimate: Divine Ascension → massive light explosion healing allies and damaging enemies.
==================================================
MAGIC ACTIVATION
==================================================
- Do NOT use ground hitting.
- Use menus, commands, optional keybinds.
- Magic Orb item allows species switching and particle activation.
- All abilities have themed particle effects:
- Fire = flames
- Water = bubbles
- Ice = snowflakes
- Shadow = smoke
- Nature = leaves
- Light = golden rays
- Abilities require cooldowns, mana costs, permission checks.
==================================================
PLACEHOLDER API
==================================================
- %ashhollow_kingdom% → Player’s kingdom.
- %ashhollow_origin% → Player’s origin/species.
==================================================
DATA STORAGE
==================================================
Save:
- Player UUID
- Origin
- Abilities
- Magic enabled/disabled
- Savior status
==================================================
PLUGIN QUALITY
==================================================
Requirements:
- Paper 1.21.11 compatible
- Optimized
- No placeholder code
- No TODO
- Proper command registration
- Complete Java source code
- Particle effects for abilities
- Magic Orb for species switching
- Amphibious water species (land + water breathing)
- Giant species scaled larger
- Dwarf species scaled smaller
- Rulers can assign heirs