endernokamii

๐Ÿง  OVERVIEW:

This plugin combines:

  • Core Ability System
  • Soul Fragment (Life System)
  • Ban & Revival Mechanics

The goal is to create a high-risk PvP SMP with unique player abilities.

---

โค๏ธโ€๐Ÿ”ฅ LIFE SYSTEM (SOUL FRAGMENTS):

  • Each player has a maximum of 4 Soul Fragments (acts as lives)
  • Default on join: 4 Soul Fragments

๐Ÿ’€ On Player Death:

  • Victim loses 1 Soul Fragment
  • Killer gains that Soul Fragment

๐Ÿšซ If Soul Fragments = 0:

  • Player is banned (or spectator/locked)

---

๐Ÿ’Ž SOUL FRAGMENT ITEM:

  • Custom item with Owner UUID (PDC)
  • Can be dropped, traded, stored
  • Only correct owner fragments can be used for revival

---

๐Ÿ“– REVIVAL SYSTEM:

Recipe:

  • 4 Soul Fragments (same UUID)
  • 4 Diamonds (corners)
  • 1 Netherite Sword (center)

Output: Revival Book

Use:

  • Right click โ†’ revive banned player
  • Consumes all fragments
  • Revived player gets 1 fragment

---

๐Ÿงฟ CORE SYSTEM:

  • Each player has ONE Core
  • Core is a physical item
  • Drops on death
  • Stored using PDC

---

๐ŸŽฎ CORE USAGE SYSTEM:

Each core has 4 abilities mapped to player actions:

  1. Left Click (Primary Ability)
  2. Right Click (Secondary Ability)
  3. Sneak + Right Click (Special Ability)
  4. Sneak + Left Click (Ultimate Ability)

All abilities must have cooldowns.

---

๐Ÿงฟ NORMAL CORES (16):

๐Ÿ”ฅ Flame Core

  • Passive: Fire resistance
  • Left Click: Burn enemy
  • Right Click: Fire wave
  • Sneak + Right Click: Rage mode (strength boost)
  • Sneak + Left Click: Fire explosion (area damage)

โšก Storm Core

  • Passive: Speed boost
  • Left Click: Lightning strike
  • Right Click: Dash forward
  • Sneak + Right Click: Thunder field
  • Sneak + Left Click: Lightning storm

๐ŸŒ‘ Shadow Core

  • Passive: Night vision
  • Left Click: Backstab bonus damage
  • Right Click: Temporary invisibility
  • Sneak + Right Click: Teleport behind enemy
  • Sneak + Left Click: Shadow burst

๐Ÿชจ Earth Core

  • Passive: Extra hearts
  • Left Click: Knockback punch
  • Right Click: Resistance boost
  • Sneak + Right Click: Ground slam
  • Sneak + Left Click: Earth wall

โ„๏ธ Frost Core

  • Passive: Slow aura
  • Left Click: Freeze hit
  • Right Click: Ice projectile
  • Sneak + Right Click: Freeze enemy
  • Sneak + Left Click: Ice explosion

๐Ÿฉธ Blood Core

  • Passive: Lifesteal
  • Left Click: Drain health
  • Right Click: Berserk mode
  • Sneak + Right Click: Speed + lifesteal boost
  • Sneak + Left Click: Blood rage

๐ŸŒช๏ธ Wind Core

  • Passive: No fall damage
  • Left Click: Push enemy
  • Right Click: Double jump
  • Sneak + Right Click: Speed burst
  • Sneak + Left Click: Tornado

๐ŸŒŠ Ocean Core

  • Passive: Water breathing
  • Left Click: Drown damage
  • Right Click: Water dash
  • Sneak + Right Click: Heal in water
  • Sneak + Left Click: Water wave

โ˜ฃ๏ธ Toxic Core

  • Passive: Poison immunity
  • Left Click: Poison hit
  • Right Click: Toxic cloud
  • Sneak + Right Click: Strong poison
  • Sneak + Left Click: Toxic explosion

โœจ Light Core

  • Passive: Regeneration
  • Left Click: Heal self
  • Right Click: Heal allies
  • Sneak + Right Click: Blind enemies
  • Sneak + Left Click: Light burst

๐Ÿบ Beast Core

  • Passive: Strength at night
  • Left Click: Claw attack
  • Right Click: Speed boost
  • Sneak + Right Click: Track nearest player
  • Sneak + Left Click: Beast mode

โš™๏ธ Iron Core

  • Passive: Armor boost
  • Left Click: Heavy hit
  • Right Click: Resistance buff
  • Sneak + Right Click: Durability boost
  • Sneak + Left Click: Iron smash

๐Ÿœ๏ธ Sand Core

  • Passive: Faster in desert
  • Left Click: Blind enemy
  • Right Click: Sand throw
  • Sneak + Right Click: Sandstorm
  • Sneak + Left Click: Desert trap

๐Ÿ•ณ๏ธ Void Step Core

  • Passive: Dodge chance
  • Left Click: Blink attack
  • Right Click: Short teleport
  • Sneak + Right Click: Phase mode
  • Sneak + Left Click: Long teleport

๐Ÿ”Š Echo Core

  • Passive: Detect nearby movement
  • Left Click: Copy last ability
  • Right Click: Confuse enemy
  • Sneak + Right Click: Reflect damage
  • Sneak + Left Click: Echo burst

๐Ÿ”ฅ๐Ÿฉธ Ember Core

  • Passive: Fire + lifesteal
  • Left Click: Burn + steal health
  • Right Click: Fire dash
  • Sneak + Right Click: Berserk flame
  • Sneak + Left Click: Ember explosion

---

๐Ÿ’Ž RARE CORES (4):

โณ Time Core

  • Left Click: Slow enemy
  • Right Click: Speed boost
  • Sneak + Right Click: Freeze time briefly
  • Sneak + Left Click: Reverse last 3 seconds damage

๐Ÿ‘๏ธ Soul Core

  • Passive: See player health
  • Left Click: Drain fragment chance
  • Right Click: Mark player
  • Sneak + Right Click: Steal fragment
  • Sneak + Left Click: Full soul steal

โ˜ ๏ธ Chaos Core

  • All abilities produce random effects

๐ŸŒŒ Gravity Core

  • Left Click: Pull enemy
  • Right Click: Slow area
  • Sneak + Right Click: Gravity trap
  • Sneak + Left Click: Massive pull (area)

---

โš–๏ธ RULES:

  • Max fragments: 4
  • Core limit: 1
  • Core drops on death
  • Cooldowns required

---

๐Ÿ› ๏ธ COMMANDS:

/core give <player> <core> /core remove <player> /core info

/soul check <player> /soul give <player> <amount> /soul remove <player> <amount>

/revive <player>

---

โš™๏ธ CONFIG:

starting_fragments: 4 max_fragments: 4 ban_on_zero: true revive_fragments: 1 core_on_join: random

---

๐ŸŽฏ GOAL:

High-risk PvP SMP with abilities + life system.

---

NOTES:

  • Use PersistentDataContainer
  • Use PlayerInteractEvent
  • Add cooldown system
  • Optimize performance
Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code