☠ ALUNARD SMP — CURSED SOUL SYSTEM (Minecraft 1.21.11 Paper Plugin)
Create a dark fantasy Paper 1.21.11 plugin called Alunard SMP with a cursed Soul progression system inspired by Alucard.
☠ SOUL SYSTEM
- Players gain 1 Soul only by killing another player.
- Show Title: ☠ SOUL ABSORBED.
- Show Action Bar: +1 Soul (X/5).
- Maximum Souls: 5.
- Mobs do not give Souls.
Soul Loss
- Souls are lost only if another player kills you.
- Death by lava, void, mobs, fall damage, or fire keeps your Souls.
- Killer steals 1 Soul from the victim.
☠ AWAKENING (5 SOULS)
When a player reaches 5 Souls:
- Title: ☠ SOMETHING WEIRD OCCURRED TO YOUR BODY...
- Purple/black soul particles surround the player.
- Warden + Wither sounds play.
- Lightning, smoke, and Soul Fire effects appear.
- Player receives ONE RANDOM LEGENDARY SOUL WEAPON.
☠ SOUL WEAPONS
☠ Soul Nether (Sword)
Passive: Soul Burn deals bonus damage over time.
Skill: Soul Rend — 2x damage for 5 seconds (30s cooldown).
Skill: Soul Eclipse — Sends a wave of cursed souls forward.
☠ Soul Axe
Passive: Steals HP on every hit.
Skill: Reaper Execution — Pull enemies into a soul circle and explode them upward.
☠ Soul Mace
Passive: Ignores armor and deals extra shield damage.
Skill: Soul Crash — Ground slam creates a massive soul shockwave.
☠ Soul Shield
Passive: Reduces incoming damage by 25%.
Skill: Aura of Souls — Damages nearby enemies every second while draining the user's HP.
☠ Soul Trident
Passive: Instantly returns after throwing and applies Wither II + Soul Mark.
Skill: Soul Judgment — Giant cursed skull falls from the sky, explodes with soul flames, Wither, Slowness, and knockback.
☠ PARTICLES & VFX
- Soul Fire Flame
- Purple Dust
- Sculk Soul particles
- Black Smoke
- Warden sonic effects
- Ghost soul swirl around awakened players.
☠ COMMANDS
- "/soul" — View Souls (0–5).
- "/soul give <player> <amount>" — Admin.
- "/soul reset <player>" — Admin.
☠ STYLE
Everything should feel cinematic, cursed, and overpowered but balanced for PvP, with dark purple/black visuals, scary titles, glowing weapon names, and smooth cooldowns.☠ ALUNARD SMP — CURSED SOUL SYSTEM (Minecraft 1.21.11 Paper Plugin) Create a dark fantasy Paper 1.21.11 plugin called Alunard SMP with a cursed Soul progression system inspired by Alucard. ☠ SOUL SYSTEM Players gain 1 Soul only by killing another player.
Show Title: ☠ SOUL ABSORBED.
Show Action Bar: +1 Soul (X/5).
Maximum Souls: 5.
Mobs do not give Souls.
Soul Loss Souls are lost only if another player kills you.
Death by lava, void, mobs, fall damage, or fire keeps your Souls.
Killer steals 1 Soul from the victim. ☠ AWAKENING (5 SOULS) When a player reaches 5 Souls:
Title: ☠ SOMETHING WEIRD OCCURRED TO YOUR BODY...
Purple/black soul particles surround the player.
Warden + Wither sounds play.
Lightning, smoke, and Soul Fire effects appear.
Player receives ONE RANDOM LEGENDARY SOUL WEAPON. ☠ SOUL WEAPONS ☠ Soul Nether (Sword) Passive: Soul Burn deals bonus damage over time.
Skill: Soul Rend — 2x damage for 5 seconds (30s cooldown).
Skill: Soul Eclipse — Sends a wave of cursed souls forward. ☠ Soul Axe Passive: Steals HP on every hit.
Skill: Reaper Execution — Pull enemies into a soul circle and explode them upward. ☠ Soul Mace Passive: Ignores armor and deals extra shield damage.
Skill: Soul Crash — Ground slam creates a massive soul shockwave. ☠ Soul Shield Passive: Reduces incoming damage by 25%.
Skill: Aura of Souls — Damages nearby enemies every second while draining the user's HP. ☠ Soul Trident Passive: Instantly returns after throwing and applies Wither II + Soul Mark.
Skill: Soul Judgment — Giant cursed skull falls from the sky, explodes with soul flames, Wither, Slowness, and knockback. ☠ PARTICLES & VFX Soul Fire Flame Purple Dust Sculk Soul particles Black Smoke Warden sonic effects Ghost soul swirl around awakened players. ☠ COMMANDS /soul — View Souls (0–5). /soul give <player> <amount> — Admin. /soul reset <player> — Admin. ☠ STYLE Everything should feel cinematic, cursed, and overpowered but balanced for PvP, with dark purple/black visuals, scary titles, glowing weapon names, and smooth cooldowns.
Create the Paper 1.21.11 Gradle project and plugin metadata.
Implement persistent soul progression, PvP soul transfer, awakening VFX, and admin commands.
Implement all five legendary soul weapons, passives, active skills, cooldowns, and scheduled effects.
The core project is created. I’m adding the secondary Soul Nether skill path so sneak-right-click performs Soul Eclipse while normal right-click remains Soul Rend.Created the Alunard SMP Paper 1.21.11 plugin.
Persistent soul system with 0–5 Souls.
Player-kill soul stealing and loss only through PvP deaths.
Awakening cinematic effects at 5 Souls.
Random legendary weapon reward:
Soul Nether: Soul Rend and sneak-right-click Soul Eclipse.
Soul Axe: Reaper Execution and lifesteal.
Soul Mace: Soul Crash and bonus damage.
Soul Shield: damage reduction and Aura of Souls.
Soul Trident: Wither/Soul Mark effects and Soul Judgment.
Scheduled soul particles, aura damage, health drain, cooldowns, and weapon passives.
/soul,/soul give <player> <amount>, and/soul reset <player>.Souls persist in
souls.yml.Gradle project configured for Java 21, Paper 1.21.11, and XSeries.
☠️ ALUNARD SMP — CURSED SOUL RESOURCE PACK (32x/64x)
Create a Minecraft Java 1.21.11 resource pack for my plugin ALUNARD SMP. The theme is Alucard, cursed souls, vampire king, dark fantasy, purple and black.
🎨 STYLE
- Colors: Black, Dark Purple, Violet, Crimson.
- Soul Fire, Ghost Flames, Black Smoke, Sculk Energy.
- Everything should glow with cursed purple energy.
☠️ SOUL WEAPONS
☠ Soul Nether (Sword)
- Netherite sword covered in purple soul flames.
- Floating skulls around the blade.
- Dark glowing runes.
☠ Soul Axe
- Giant cursed executioner axe.
- Purple crystal edges and soul flames.
- Black smoke leaks from the blade.
☠ Soul Mace
- Heavy mace made from cursed souls.
- Floating skull core with purple energy chains.
- Soul particles while held.
☠ Soul Shield
- Black shield with a glowing purple skull.
- Soul aura surrounds the shield.
- Cracked cursed runes glow when blocking.
☠ Soul Trident
- Ancient trident forged from soul crystals.
- Purple lightning and soul flames.
- Floating ghost skull particles around it.
✨ PARTICLES
- Purple Soul Fire Flame.
- Black Smoke.
- Sculk Soul particles.
- Purple Dust swirl.
- Ghost skull particles.
💀 GUI & UI
- Purple-black inventory background.
- Soul counter with 5 glowing skulls.
- Title: ☠ SOUL ABSORBED.
- Awakening title: ☠ SOMETHING WEIRD OCCURRED TO YOUR BODY...
🌌 AWAKENING EFFECT
When a player reaches 5 Souls:
- Purple lightning.
- Soul explosion.
- Ghost skulls orbit the player.
- Dark aura around the body.
The resource pack should feel cinematic, cursed, powerful, and legendary, like the strongest weapon set in ALUNARD SMP.
Add resource-pack model overrides tied to each Soul Weapon.
Add dark-fantasy item models using vanilla soul/sculk/crying-obsidian textures so the pack works without external binary assets.
Connect the plugin’s weapon items to stable custom model IDs and include installation metadata.
Created the ALUNARD SMP Cursed Soul resource pack.
Added 1.21.11
pack.mcmeta.Added custom model routing for all five weapons:
Soul Nether — ID
1001Soul Axe — ID
1002Soul Mace — ID
1003Soul Shield — ID
1004Soul Trident — ID
1005
Added modern 1.21 item definitions and legacy model overrides.
Added custom dark-fantasy geometry using crying obsidian, sculk, soul soil, obsidian, and netherite textures.
Added GUI, ground, first-person, and third-person display transforms.
Updated
SoulWeaponManagerso generated weapons receive the correct custom model data.Added installation instructions in
resourcepack/README.md.
Zip the contents of resourcepack with pack.mcmeta and assets at the ZIP root, then install it as the server resource pack.
☠️ ALUNARD SMP — SOUL WEAPONS PASSIVE SYSTEM (Minecraft 1.21.11)
Create unique passive abilities for every Soul Weapon in my Alunard SMP Paper plugin. Every passive is always active while holding the weapon. Theme: dark fantasy, cursed souls, Alucard, purple soul energy.
☠️ Soul Nether (Sword) — Passive: Soul Burn
Every hit applies Soul Burn for 3 seconds, dealing bonus soul damage over time. The sword leaves purple soul flames and black smoke on hit.
☠️ Soul Axe — Passive: Blood Reaper
Every 3 successful hits steals 1 heart from the enemy and heals the user for 1 heart. Hits create purple soul slash particles and ghost sounds.
☠️ Soul Mace — Passive: Bone Crusher
20% chance to crush the enemy's armor, ignoring part of their defense and briefly slowing them. Heavy soul explosion particles appear on impact.
☠️ Soul Shield — Passive: Soul Guard
The first hit taken every 15 seconds is reduced by 50%. A cursed soul barrier appears with purple skull particles.
☠️ Soul Trident — Passive: Soul Mark
Every trident hit marks enemies for 5 seconds. Marked enemies take 15% more damage from Soul Weapons. Purple chains and soul particles surround marked targets.
👑 Hidden Passive — Soul Emperor
If a player awakens with 5 Souls and holds any Soul Weapon, they gain:
- Strength I
- Speed I
- Resistance I
Dark purple soul aura, floating skull particles, and soul fire effects surround the player continuously.
Replace the existing generic weapon bonuses with the five requested passive implementations.
Add timed Soul Burn, Soul Mark amplification, Blood Reaper hit tracking, Mace crush chance, and Shield Guard cooldown state.
Apply the Soul Emperor buffs and aura only while an awakened player holds a Soul Weapon.
Preserve thrown Soul Trident hits and ensure they participate in the mark/passive flow.
The passive logic is in place. I’m tightening two event paths so Soul Guard also covers non-entity damage and normal Soul Trident throws are not blocked by the skill interaction handler.Implemented the Soul Weapon passive system.
Soul Nether — Soul Burn
Applies a 3-second damage-over-time effect.
Spawns Soul Fire and smoke on hit.
Existing Soul Rend damage multiplier remains active.
Soul Axe — Blood Reaper
Tracks successful hits.
Every third hit deals an additional 1-heart steal and heals the wielder by 1 heart.
Adds cursed slash particles and sounds.
Soul Mace — Bone Crusher
20% chance to crush armor.
Deals 35% bonus damage and applies brief Slowness.
Creates sonic and sculk impact effects.
Soul Shield — Soul Guard
First incoming hit every 15 seconds is reduced by 50%.
Works against entity and environmental damage.
Creates a cursed barrier effect with Soul Fire and sculk particles.
Soul Trident — Soul Mark
Marks enemies for 5 seconds on melee or thrown trident hits.
Marked targets take 15% additional damage from Soul Weapons.
Adds persistent soul particles around marked targets.
Normal right-click trident throwing is preserved; sneak-right-click activates Soul Judgment.
Hidden Passive — Soul Emperor
Awakened players holding any Soul Weapon continuously receive:
Strength I
Speed I
Resistance I
Adds sculk soul, dragon breath, Soul Fire, and dark aura effects.
Updated files:
src/main/java/com/alunard/smp/weapon/SoulWeaponManager.javasrc/main/java/com/alunard/smp/listener/SoulListener.java
☠️ ALUNARD SMP — FULL REVAMP SOUL PASSIVE SYSTEM (Minecraft 1.21.11)
Create a legendary passive system for every Soul Weapon. Every passive is always active while the weapon is held. Theme: cursed souls, vampire king, dark fantasy, purple-black energy, cinematic particles and balanced PvP.
---
☠️ Soul Nether (Sword) — Passive: Soul Monarch
Passive
- Every hit applies Soul Burn for 4 seconds.
- Every 5th hit is a Critical Soul Slash dealing +50% damage.
- Killing a player restores 2 hearts.
Visual Effects
- Purple Soul Fire flames.
- Black smoke.
- Floating skull particles around the sword.
---
☠️ Soul Axe — Passive: Reaper's Hunger
Passive
- Every hit steals 1 heart and heals the user.
- Enemies below 35% HP receive Execution Damage (+35% damage).
- 15% chance to ignore shields.
Visual Effects
- Giant purple slash.
- Blood-red soul particles.
- Ghost scream sound.
---
☠️ Soul Mace — Passive: Bone Crusher
Passive
- Ignores 30% armor.
- Every 4th hit stuns enemies for 0.5 seconds.
- Creates a soul shockwave on critical hits.
Visual Effects
- Purple explosion.
- Sculk soul particles.
- Soul fire burst.
---
☠️ Soul Shield — Passive: Cursed Guardian
Passive
- 25% permanent damage reduction while holding the shield.
- First hit every 15 seconds is reduced by 60%.
- Reflects 10% damage back to the attacker.
Visual Effects
- Purple barrier.
- Skull shield aura.
- Soul ring while blocking.
---
☠️ Soul Trident — Passive: Abyss King's Spear
Passive
- Trident instantly returns after throwing.
- Hit applies Soul Mark for 5 seconds.
- Marked enemies take +20% damage from all Soul Weapons.
- While holding the trident, gain Speed I and Dolphin's Grace.
Visual Effects
- Purple lightning.
- Soul flames around the trident.
- Ghost skull trail while flying.
---
👑 SOUL EMPEROR PASSIVE (AWAKENED)
When a player reaches 5 Souls and awakens:
- Strength I
- Speed I
- Resistance I
- Regeneration I (only when below 5 hearts)
Awakened Aura
- Purple-black aura around the player.
- Floating skulls orbit the body.
- Soul fire particles under the feet.
- Warden heartbeat + ghost whispers.
---
☠️ Soul Messages
- ☠ Soul Absorbed
- ☠ Reaper's Hunger Activated
- ☠ Soul Monarch Awakened
- ☠ The Souls Have Chosen You
- ☠ Your Body Has Become a Vessel of Cursed Souls
Rework
SoulWeaponManagerandSoulListeneraround the requested weapon passives and shared combat state.Add damage amplification, armor/shield interactions, trident return, reflection, cooldowns, hit counters, and kill/heal behavior.
Update awakened Soul Emperor buffs, aura, sounds, and all requested soul messages without breaking existing weapon identification or interaction flows.
Implemented the full Soul Passive System.
Soul Nether — Soul Monarch
Soul Burn lasts 4 seconds.
Every 5th hit deals +50% damage with cinematic soul slash effects.
Player kills restore 2 hearts.
Soul Axe — Reaper’s Hunger
Every hit steals 1 heart and heals the wielder.
Enemies below 35% health take +35% execution damage.
15% chance to bypass shields.
Added slash, blood-red particle, smoke, and ghost scream effects.
Soul Mace — Bone Crusher
Ignores 30% of armor reduction.
Every 4th hit stuns the target for 0.5 seconds.
Critical hits create soul shockwaves and explosions.
Soul Shield — Cursed Guardian
Permanent 25% damage reduction while held.
First hit every 15 seconds receives an additional 60% reduction.
Reflects 10% of incoming damage back to attackers.
Added barrier, skull aura, and blocking soul-ring effects.
Soul Trident — Abyss King’s Spear
Returns immediately after hitting a block or entity.
Applies Soul Mark for 5 seconds.
Marked targets take 20% increased damage from Soul Weapons.
Grants Speed I and Dolphin’s Grace while held.
Added lightning, soul flame, chain-style aura, and ghost trail effects.
Soul Emperor
Strength I, Speed I, and Resistance I while awakened and holding a Soul Weapon.
Regeneration I activates below 5 hearts.
Added orbiting soul particles, purple-black aura, soul fire underfoot, Warden heartbeat, and ghost whisper sounds.
Effects are removed when the required weapon is no longer held.
Soul Messages
Added all requested awakening, absorption, Reaper’s Hunger, Soul Monarch, and cursed vessel messages.
Updated weapon lore to display the new passive names.
Updated:
SoulWeaponManager.javaSoulListener.javaSoulManager.java
Fix my Alunard SMP Soul Weapons so players cannot drop them.
Requirements (Paper 1.21.11):
- Cancel the "PlayerDropItemEvent" if the dropped item is any Soul Weapon.
- Soul Weapons: Soul Nether, Soul Axe, Soul Mace, Soul Shield, Soul Trident.
- Identify them by custom item ID, PersistentDataContainer, or custom model data (not just the display name).
- When a player presses Q or drags the weapon out of the inventory, cancel the action.
- Send an action bar message:
☠ Cursed Soul Weapons cannot be dropped.
- Play a low-pitch soul sound when the drop is blocked.
- The weapon stays in the player's inventory.
- Also prevent dropping from inventory screens ("InventoryClickEvent" / "InventoryDragEvent") if needed.
Inspect the existing Soul Weapon identifier and listener registration.
Add drop blocking for Q, inventory clicks, and inventory drags using persistent/custom item data.
Send the action bar warning and low-pitch soul sound while keeping the item in inventory.
Implemented Soul Weapon drop protection.
Cancels
PlayerDropItemEventfor all five Soul Weapons.Cancels inventory drop actions:
Q
Ctrl+Q
Dropping from cursor
Dragging a Soul Weapon
Identifies weapons using the existing
soul_weaponPersistentDataContainer key.Sends:
☠ Cursed Soul Weapons cannot be dropped.
Plays a low-pitch respawn-anchor soul sound.
The weapon remains in the player’s inventory.
Updated:
src/main/java/com/alunard/smp/weapon/SoulWeaponManager.javasrc/main/java/com/alunard/smp/listener/SoulListener.java
☠ ALUNARD SMP — SOUL COUNTER & CHAT REVAMP FIX (Paper 1.21.11)
Fix my Soul System so players can always see how many Souls they have.
☠ Soul Counter UI
- Every player has a visible Soul counter from 0/5.
- Display it in the action bar every 2 seconds while the player is alive.
- Format:
"☠ Souls: 3/5"
☠ Kill Message Revamp
When a player kills another player:
Title
- "☠ SOUL ABSORBED"
Subtitle
- "+1 Soul • 3/5"
Chat
- "☠ You absorbed the soul of <player>."
- "Souls: 3/5"
Action Bar
- "☠ Soul Absorbed (+1) • 3/5"
Play Soul Escape + Wither sounds and spawn purple soul particles.
☠ Lose Souls
If a player is killed by another player:
Title
- "☠ YOUR SOUL WAS STOLEN"
Chat
- "☠ You lost all your souls."
- "Souls: 0/5"
Play dark smoke and soul particles.
☠ 5 Soul Awakening
When Souls become 5/5:
Title
- "☠ SOMETHING WEIRD OCCURRED TO YOUR BODY..."
Subtitle
- "The cursed souls have awakened."
Chat:
- "☠ Your body has become a vessel of cursed souls."
Show lightning, purple aura, floating skull particles, and give one random Soul Weapon.
Trace the existing SoulManager, kill listener, weapon grant, and scheduled-task flow.
Add a reliable 2-second action-bar counter for every living player.
Revamp PvP soul gain/loss feedback, sounds, particles, titles, and 5/5 awakening rewards.
Preserve existing soul persistence and weapon identification while wiring the new behavior into registration.
Implemented the Soul Counter and chat revamp.
Added a visible action-bar counter every 2 seconds:
☠ Souls: 3/5
PvP kills now:
Give the killer 1 Soul.
Reset the victim to 0 Souls.
Show the requested absorption title, subtitle, chat, and action bar.
Show the victim’s stolen-soul title and messages.
Play soul and Wither sounds.
Spawn purple soul, Dragon Breath, Soul Fire, smoke, and sculk effects.
Reaching 5/5 now displays:
☠ SOMETHING WEIRD OCCURRED TO YOUR BODY...The cursed souls have awakened.☠ Your body has become a vessel of cursed souls.
Existing random Soul Weapon awakening rewards remain active.
Updated:
src/main/java/com/alunard/smp/soul/SoulManager.javasrc/main/java/com/alunard/smp/listener/SoulListener.javasrc/main/java/com/alunard/smp/weapon/SoulWeaponManager.java
☠ ALUNARD SMP — SOUL WEAPON LORE / DESCRIPTION REVAMP (Paper 1.21.11)
Revamp every Soul Weapon so its tooltip shows a beautiful custom description with passive, skills, cooldowns, and rarity. Use Minecraft color codes, bold text, and dark purple styling.
☠ Soul Nether
Name: "☠ Soul Nether"
Lore: "§8Legendary Soul Weapon" "§5Forged from cursed souls."
"§dPASSIVE — Soul Monarch" "§7• Soul Burn for 4s." "§7• Every 5th hit deals +50% damage."
"§5SKILL — Soul Rend" "§7Right Click" "§7Deal 2x damage for 5 seconds."
"§5Cooldown: §d30s"
---
☠ Soul Axe
Name: "☠ Soul Axe"
Lore: "§8Legendary Soul Weapon" "§5Executioner's cursed axe."
"§dPASSIVE — Reaper's Hunger" "§7• Steal 1 heart every hit." "§7• +35% damage to enemies below 35% HP."
"§5SKILL — Reaper Execution" "§7Shift + Right Click" "§7Pull nearby enemies and unleash a soul explosion."
"§5Cooldown: §d40s"
---
☠ Soul Mace
Lore: "§8Legendary Soul Weapon"
"§dPASSIVE — Bone Crusher" "§7• Ignore 30% armor." "§7• Every 4th hit stuns for 0.5s."
"§5SKILL — Soul Crash" "§7Right Click" "§7Create a massive soul shockwave."
"§5Cooldown: §d35s"
---
☠ Soul Shield
Lore: "§8Legendary Soul Weapon"
"§dPASSIVE — Cursed Guardian" "§7• 25% damage reduction." "§7• First hit every 15s is reduced by 60%."
"§5SKILL — Aura of Souls" "§7Right Click" "§7Release cursed souls around you." "§7Drains your HP while active."
"§5Cooldown: §d25s"
---
☠ Soul Trident
Lore: "§8Legendary Soul Weapon"
"§dPASSIVE — Abyss King's Spear" "§7• Soul Mark for 5 seconds." "§7• Marked enemies take +20% damage."
"§5SKILL — Soul Judgment" "§7Right Click" "§7Summon a giant cursed soul skull from the sky."
"§5Cooldown: §d35s"
✨ Extra
- Make every weapon glow without showing enchantments.
- Hide normal attribute lines ("+8 Attack Damage").
- Add a final lore line:
"§5☠ Bound to the Cursed Soul."
Update each Soul Weapon’s display name and lore with the requested passive, skill, cooldown, rarity, and binding text.
Apply hidden enchantment glow and hide normal attribute lines while preserving the existing custom weapon identifier and passive behavior.
Updated SoulWeaponManager.java.
Revamped all five Soul Weapon tooltips:
Name styling with bold dark purple text
Rarity and custom descriptions
Passive descriptions
Skill instructions
Cooldown lines
§5☠ Bound to the Cursed Soul.
Added hidden enchantment glow using Unbreaking and Loyalty on tridents.
Hid enchantment text with
HIDE_ENCHANTS.Hid normal attribute lines with
HIDE_ATTRIBUTES.Preserved the existing PersistentDataContainer weapon IDs and passive functionality.
ALUNARD SMP — FIX PLAYER DEATH CRASH (Paper 1.21.11)
Fix the crash that happens when a player is killed.
Requirements
- Fix "PlayerDeathEvent" so it never crashes the server or the player.
- Check that killer is not null before giving a Soul.
- If there is no killer (mob, fall, lava, void, fire, explosion), do not run the Soul transfer code.
- Remove the victim's Souls safely and set them to 0 only after confirming the death event is valid.
- Do not remove or modify Soul Weapons during the death event.
- If the player owns a Soul Weapon, keep it safe and do not duplicate or delete it.
- Save Soul data before respawn and restore player data correctly after respawn.
- Add null checks for inventory, PersistentDataContainer, and Soul values to prevent "NullPointerException".
- Log errors instead of crashing if something goes wrong.
Expected Result
- PvP death → victim loses Souls, killer gains 1 Soul, no crash.
- Non-PvP death → Souls stay the same, no crash.
- Player respawns normally without freezing or disconnecting
Plan:
Harden the death handler so only valid PvP deaths transfer Souls.
Make Soul storage null-safe and add an explicit safe save path before respawn.
Remove death-time weapon mutation and log unexpected failures instead of propagating them.
Add respawn reinitialization for Soul data without changing Soul Weapons.
The death path now ignores non-PvP deaths, validates both players, saves Soul data, and leaves death drops/inventory untouched. I’m tightening the remaining awakening edge case so reaching 5 Souls cannot mutate weapons inside PlayerDeathEvent or add a duplicate Soul Weapon.One remaining correctness issue is stale Player#getKiller() data after a player was hit and then died to fall, fire, lava, void, or another entity. I’m restricting Soul transfer to a death whose actual last damage cause came from that player (or their projectile).Fixed the Soul death handling.
Soul transfer now occurs only when:
PlayerDeathEventis valid.Killer is non-null and different from the victim.
The actual last damage cause came from that player or their projectile.
Fall, lava, fire, void, mob, explosion, and other non-PvP deaths preserve Souls.
Soul data is saved after PvP transfer and again during respawn.
Player Soul data is restored safely after respawn.
Added null checks for Soul values, inventories, item metadata, and PersistentDataContainers.
Death processing is wrapped with error logging instead of allowing exceptions to propagate.
Soul Weapons are not removed, cleared, or modified during death handling.
Awakening rewards are deferred until after the death event.
Awakening no longer gives duplicate Soul Weapon types.
Existing Soul Weapons remain safe in the player’s inventory.
Updated:
src/main/java/com/alunard/smp/listener/SoulListener.javasrc/main/java/com/alunard/smp/soul/SoulManager.javasrc/main/java/com/alunard/smp/weapon/SoulWeaponManager.java
☠ ALUNARD SMP — FIX ALL SOUL WEAPON PASSIVES (Paper 1.21.11)
Fix every Soul Weapon passive because they are not activating.
Global Passive System
- Detect Soul Weapons using PersistentDataContainer or a custom item ID (not display name only).
- Passives only work while the player is holding the correct Soul Weapon.
- Passives should trigger in PvP only and not on mobs unless enabled.
- Add cooldown protection so passives don't spam.
☠ Soul Nether — Soul Monarch
- Every hit applies Soul Burn for 4 seconds.
- Every 5th hit deals +50% damage.
- Reset hit counter after the critical hit.
☠ Soul Axe — Reaper's Hunger
- Every hit heals the user by 1 heart.
- Enemies below 35% HP take +35% damage.
- 15% chance to ignore shields.
☠ Soul Mace — Bone Crusher
- Ignore 30% armor.
- Every 4th hit stuns the target for 0.5 seconds using Slowness + Mining Fatigue.
☠ Soul Shield — Cursed Guardian
- Reduce incoming damage by 25% while blocking.
- First hit every 15 seconds is reduced by 60%.
☠ Soul Trident — Abyss King's Spear
- Thrown trident instantly returns.
- Hit applies Soul Mark for 5 seconds.
- Soul Mark increases damage taken by 20%.
Debug
- Send an action bar when a passive activates, like:
- "☠ Soul Burn Activated" - "☠ Reaper's Hunger" - "☠ Bone Crusher" - "☠ Soul Guard" - "☠ Soul Mark Applied"
- Prevent errors or crashes if the player switches weapons or dies.
Harden passive routing around tagged items and PvP-only damage.
Correct each weapon’s passive mechanics, hit counters, cooldowns, and safe cleanup.
Fix shield blocking, trident first-hit marking/return, and null-safe debug feedback.
Fixed all Soul Weapon passive activation and PvP handling.
Soul Weapons are identified through their
PersistentDataContainerIDs.Passives only activate against players, not mobs.
Passives require the correct weapon to be held.
Added throttled passive action-bar messages to prevent spam.
Added safe cleanup when players switch weapons, die, disconnect, or entities become invalid.
Weapon fixes:
Soul Nether
Soul Burn lasts 4 seconds.
Every fifth hit deals 50% bonus damage.
Hit counter resets after the fifth hit.
Added
☠ Soul Burn Activated.
Soul Axe
Heals the attacker by 1 heart per hit.
Deals 35% bonus damage against targets below 35% HP.
15% chance to bypass a blocking shield.
Added
☠ Reaper's Hunger.
Soul Mace
Ignores 30% of armor mitigation, with a safe fallback.
Every fourth hit applies Slowness and Mining Fatigue for 0.5 seconds.
Added
☠ Bone Crusher.
Soul Shield
Damage reduction now works only while actively blocking.
Reduces PvP damage by 25%.
The first blocked hit every 15 seconds receives an additional 60% reduction.
Environmental and mob damage no longer triggers the passive.
Added
☠ Soul Guard.
Soul Trident
Thrown Soul Tridents are tagged through PDC and return safely.
Soul Mark is applied for 5 seconds.
Marked players take 20% increased PvP damage from subsequent attacks.
The initial trident hit also receives the mark damage bonus.
Added
☠ Soul Mark Applied.
Updated:
src/main/java/com/alunard/smp/listener/SoulListener.javasrc/main/java/com/alunard/smp/weapon/SoulWeaponManager.java
package com.alunard.smp;
import com.alunard.smp.command.SoulCommand;
import com.alunard.smp.listener.SoulListener;
import com.alunard.smp.soul.SoulManager;
import com.alunard.smp.weapon.SoulWeaponManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class AlunardSMP extends JavaPlugin {
private SoulManager soulManager;
private SoulWeaponManager weaponManager;
@Override
public void onEnable() {
saveDefaultConfig();
this.weaponManager = new SoulWeaponManager(this);
this.soulManager = new SoulManager(this, weaponManager::awaken);
this.weaponManager.setSoulManager(soulManager);
Bukkit.getPluginManager().registerEvents(new SoulListener(soulManager, weaponManager), this);
SoulCommand soulCommand = new SoulCommand(soulManager);
if (getCommand("soul") != null) {
getCommand("soul").setExecutor(soulCommand);
getCommand("soul").setTabCompleter(soulCommand);
}
Bukkit.getScheduler().runTaskTimer(this, weaponManager::tick, 20L, 20L);
}
@Override
public void onDisable() {
if (soulManager != null) {
soulManager.save();
}
}
public SoulManager getSoulManager() {
return soulManager;
}
public SoulWeaponManager getWeaponManager() {
return weaponManager;
}
}