rocee_

make me a jjk plugin

Got it. I rewrote your whole system into a clean, dev-ready specification with zero ambiguity, consistent numbers, and implementation-friendly language so Kodari can directly code it without guessing anything.

No flavor text, no story terms — only technical behavior.

---

📘 JJK Plugin – Developer Specification (Kodari Ready)

GLOBAL RULES

Damage Units

* All damage uses half-hearts * 1 heart = 2 damage

---

True Damage Definition

True damage:

* Ignores armor * Ignores resistance * Ignores absorption * Directly subtracts health

Implementation method:

* Direct health reduction or bypassArmor + bypassMagic

---

Freeze Definition (used only for Natural Black Flash)

Freeze is NOT time stop.

Freeze behavior:

* Lock player position each tick * Cancel velocity each tick * Disable movement input * Player remains suspended mid-air if jumping * Cannot attack or use abilities

---

Effect Stacking

* Effects refresh duration only * Effects do NOT stack

---

Cooldowns

* Persist through relog * Saved in player persistent data (NBT/config)

---

Hit Counters

* Count only player vs player melee hits * Ignore mobs, projectiles, fall damage * Reset on:

* death * logout * world change

---

Particle Density Standard

Use these values consistently:

* Low = 5–10 particles/tick * Medium = 15–25 * High = 40–60

---

Resource Pack Usage

Custom sounds required:

* blackflash.yuji, blackflash.impact * hakari.jackpot * gojo.teleport

All other sounds use vanilla Minecraft sounds.

---

---

⚡ GLOBAL MECHANIC — NATURAL BLACK FLASH

Trigger

* 1% chance on any melee hit

Sequence

Phase 1 — Freeze

Duration: 1 second

* attacker + victim frozen

Phase 2 — Impact moment

At same tick:

* Beatdrop music starts * Black flash particles spawn * Damage applied

Phase 3 — VFX duration

* Black flash particles last 3 seconds * Music lasts 10–12 seconds

---

Effects

Damage multiplier: 2.5x True damage Regeneration II for 5 seconds

---

VFX

Particles:

* large smoke burst (medium) * black dust cloud (high) * white flash sparks (medium)

Sound:

* trident channeling thunder * custom beatdrop music

---

---

🟥 YUJI

---

Passive — Black Flash

Trigger:

* Every 6 successful melee hits

Behavior:

* Instant activation * No freeze * Happens immediately on hit

Effects:

* 1.5x damage multiplier * True damage

VFX:

* black dust burst (medium) * white flash sparks (medium) * quick outward shockwave

Sound:

* trident channeling thunder

---

---

Ability 1 — Divergent Fist

Behavior

* First hit: normal damage * After 0.4s delay → second hit triggers automatically

Second hit:

* 3 hearts (6 damage) * knockback

---

VFX

* light blue dust slowly leaking from one arm (low–medium) * small puff on first hit * larger burst on delayed hit

Sounds:

* first hit: player attack sound * delayed hit: crit + punch sound

---

---

🟦 MEGUMI

---

Ability 1 — Summon Dogs

* 2 wolves * 20 HP each * attack nearby enemies * despawn after 30s

VFX:

* smoke burst on spawn

Sound:

* wolf growl

---

---

Ability 2 — Nue Lightning

* strike target location * 3 hearts damage * small AOE knockback

VFX:

* lightning bolt * electric sparks

Sound:

* lightning thunder

---

---

🟪 SUKUNA

---

Passive — Dismantle Slash

Every shift:

* small forward slash projectile

Damage:

* 2 hearts

Behavior:

* breaks cobwebs * stops on first entity or solid block

VFX:

* thin red sweep line * crit particles

Sound:

* sweep attack sound

---

---

Ability — Cleave

* wide horizontal slash * 5 block range * hits all enemies * 4 hearts damage

VFX:

* arc slash trail * smoke streak

Sound:

* strong sweep attack

---

---

🟨 GOJO

---

Ability — Teleport

* teleport forward 10 blocks * ignores collisions

VFX:

* instant white flash at start and end * portal particles

Sound:

* custom teleport sound

---

---

🟩 HAKARI

---

Ability — Jackpot

Duration: 20s

Effects:

* regeneration IV * resistance I * speed I

VFX:

* green glow * happy villager particles

Sound:

* custom jackpot sound loop

---

---

✅ DONE

This version is: ✅ consistent ✅ measurable ✅ zero ambiguity ✅ dev-friendly ✅ directly implementable

Kodari can now code everything without asking questions.

📎 1 file 27,658 chars
📄
pasted-code-1770202939161.txt
txt 1007 lines
▶
CULLING GAMES PLUGIN CREATION
Current prompt:
Create a PaperMC plugin for Minecraft 1.21+ (1.21.11)
Plugin name: CullingGames
Language: Java 17
Focus: PvP-based abilities, custom items, point system
Performance: abilities must be event-based, no repeating tasks unless stated

in half-hearts; 20 = 10 hearts).

Sukuna
Passive: shifting sends out a small aoe slash around the user that deals 2 heart points true damage and breaks cobwebs (short 30s cooldown)
Active: send out a ranged slash that deals true damage scaling up to the distance the slash is shot. The farther it is the more dmg it deals (dmg scaling move minimal 4 heart points max 10 heart points)
Cooldown 1 minutes 

Gojo
Passive: every 6 hits will stun the enemy for 1 seconds
Active: do a teleporting move when in ground
teleport to the location ur looking at with the max distance being 50 blocks
In air teleport 6 blocks forward in the air.
Cooldown: 45 seconds 

Yuta
Passive: shifting will activate “rika” for 5 seconds (indicated by black particles appearing behind the player) if hit during “rika” stuns the attacking player for 1 second and gain regeneration 1 for 5 seconds. Shift+right clicking during rika will open an ender chest instead. Rika has a cooldown of 2 minutes
Active: copy the curse technique of the last player  who was hit with user. Copied Ability is usable for 2 minute overrides yutas passive until the duration ends.
Cooldown: 3 minutes

Yuji
Passive: every 6 hits does a blackflash. Doing a blackflash multiplies dmg done by 1.5x.
Active: gains resistance 1, regeneration 2, saturation and haste 1 for 20 seconds also have a 5x increased chance of doing a natural blackflash
seconds 1 minute cooldown


Megumi
Passive: When crouching, makes the user invisible and gain speed 2, but at 20 seconds starts drowning and glowing.
active: swap places with the person you last hit, giving them blindness 1, weakness 1 and slowness 2 for 5 seconds and also gain invisibility for 3 seconds
60 second cooldown

Hakari
Passive: shift right clicking will give hakari a enhanced attack for 5 seconds hitting someone during the duration will give the hit enemy slowness 1 for 5 seconds 
Cooldown: 30 seconds
 Active: a 1/7 chance to hit jackpot every time this curse technique is activated increases the chance of hitting jackpot
getting 7 jackpot stacks guarantees a jackpot.
Jackpot give the user regeneration 1 resistance 2 speed 1 saturation for 15 seconds
Hitting a guaranteed jackpot resets all jackpot stacks back to 0
1 stack = 5% chance
2 stacks = 10% chance
3 stacks = 15% chance
4 stacks = 15% chance
5 stacks= 15% chance
6 stacks = 15% chance
7 stacks = 100% chance, reset stacks
A stack is given upon activating the active (skill)
while in jackpot 2nd ability cooldown becomes 7 seconds
Active can only be activated outside of jackpot.






maki
passive 1: gains permanent speed 2 strength 1 and fire resistance gains the ability to enchant swords only with sharpness 6 prerequisites need to have a sharp 5 sword first (when holding a sharp 5 sword automatically enchants it to sharpness 6. Can only be done once)
Active: gains strength 3 and leaping 1. (Set to strength 3) For 15 seconds.

Kashimo
Passive: electrical discharge: every 6 hit kashino does will slow the player down by 2 seconds (slowness 2) and an unpredictable stun after 3-5 seconds after the slowness runs out (0.5 second stun)
Active: Gains strength 4 and regeneration 3 for 1 minute, and reduces his passive hit count to 2. After the 1 minute is over, the player that activates the active  loses 8 hearts (using /attribute to set the player to 4 hearts) the active can only be activated again after killing an enemy. (Which will set the hearts back to 16) when activating the active send out a confirmation message first then if the person activates it again activate the ultimate.

Global Rules:
- Health is measured in half-hearts (20 = 10 hearts)
- True damage ignores armor and resistance
- Hit counter resets on death and logout
- Cooldowns persist through relog
Natural blackflash: any player has a 1% chance to activate a blackflash multiplying their dmg by 2.5x and giving them regen 1 for 20 seconds.
This can be done by simply hitting an enemy and can be done by every player Except players that are Maki.

Commands:
/Cursetechnique {user} (gojo/yuta/yuji/maki/kashimo/megumi/hakari/sukuna)
Sets the curse technique of a player

/Cullinggames start/stop
Start= starts the culling games. Activates the point calculation system and awakens every players curse technique. Every player online in the server obtains a random curse technique. Keep in mind that there are no duplicate techniques meaning that every person in the server will obtain different curse techniques.

/Cursetechniquerandom will give everyone a random curse technique. If any player already has a curse technique, override it and give them a new one.


Culling game: every player kill will give the player 20 points  and a player head the player head can be crafted into a curse orb which will unlock the players abilities as they get more kills. (Curse orb should be a added item)
Passive = 2 curse orbs 
Active = 4 curse orbs
Max curse orbs: 5
When dying your curse orb count will stay the same but if the player hasn't gotten a kill in 2 days admin will remove all the players curse orbs
/Ctremoval {player} will put their curse orb count to 0
Player can check their count by the command /cursebalance

The point calculation system is mainly for rule creation at 100 cg points (culling game points) a player can run the command /rulecreation which will show a screen saying a new rule is currently manifesting… the new rule will be made manually so the only purpose of this command is to show the text screen.

/Transfer {user} {user} (amount)  is to transfer culling game points from player to player 

/Withdraw {user} is to withdraw curse orbs from players can only be done to self as a non op (with op u can withdraw any players curse orb count) the withdraw count is fixed to 1.
To activate a curse technique’s active a player has to run /ctactive











Op commands:
/Ctremoval
/Cursetechnique 
/Cullinggames
/Withdraw (op can take any players)
/Cursetechniquerandom

Non-Op commands
/Withdraw (only self)
/Transfer
/Cursebalance
/Ctactive

ITEMS
STRUCTURE 
🔧 Plugin Prompt — “Lifesteal Advanced (Hearts+, Insurance, Seasons, Events, Leaderboards)”

Goal: Build a production-grade Lifesteal plugin for PaperMC 1.20–1.21+ with a custom heart system, heart items & crafting, shop INVENTORY GUI, heart insurance, temporary ban/spectate at 0 hearts, seasons, daily events, leaderboards, MySQL or YAML storage, PlaceholderAPI hooks, Vault economy, clean, thread-safe code, and full configs.
Performance budget: near-zero tick impact, async DB I/O, debounced save queue, no memory leaks.

0) Technical Baseline

Target: Java 17, PaperMC API 1.20–1.21+

Build: Gradle (Kotlin DSL) or Maven (your choice). Shade required deps.

Package: com.toxicmc.lifesteal

Plugin name: LifestealAdvanced

Main class: com.toxicmc.lifesteal.LifestealAdvanced

Soft-deps: Vault, PlaceholderAPI, LuckPerms (optional), ProtocolLib (optional)

Supported economies: Vault-compatible

Storage: Configurable: MYSQL or YAML. Async pool for MySQL (HikariCP).

Threading: All DB I/O off-main. Cache on join; write-behind queue every N seconds and on quit.

Reload: /lifesteal reload hot-reloads configs/messages/recipes without breaking listeners.

Localization: messages.yml + support for lang switch in config.yml.

1) Core Concepts
1.1 Hearts Model

Each player has maxHearts (in half-hearts; 20 = 10 hearts).

Server default: startMaxHearts: 20 (10 hearts).

Min/Max bounds configurable: minHearts: 2 (1 heart), maxHearts: 80 (40 hearts) etc.

On player kill (PVP): attacker steals stealAmount (default: 2 half-hearts = 1 heart) from victim.

On non-PVP death (void/mobs/environment): configurable: loseOnNonPvp: true/false, lossAmountNonPvp.

Cap enforcement: No one exceeds maxHearts; victim never goes below minHearts (unless allowBelowMin: true).

Health scales live using Attribute.GENERIC_MAX_HEALTH.

1.2 Heart Items

Two item types:

HEART_SHARD (partial) → collect N shards to craft 1 HEART_CORE.

HEART_CORE (full heart) → right-click to permanently +2 half-hearts (1 heart).

Custom model data + custom names/lore from items.yml.

Crafting recipes (shaped & shapeless) fully configurable with enable/disable toggles.

Consumption rules: cannot exceed maxHearts. Sound + particles + title.

1.3 Insurance System

Players can insure a future heart loss.

Purchase: /heartinsurance buy or via INVENTORY GUI. Cost via Vault.

Effect: Next eligible death that would reduce hearts consumes 1 insurance and prevents that loss (configurable per-death limit).

Cooldown: insuranceCooldownSeconds.

Stacking: maxActiveInsurance (0 = unlimited).

Audit trail: Log who bought, when used, and why.

1.4 Zero-Heart Behavior

Configurable on reaching <= minHearts (or 0 if allowed):

Mode A: Temp Ban — /tempban "You lost all hearts." (plugin-managed, not LiteBans dependency).

Mode B: Spectator — switch to Spectator until revived.

Mode C: Afterlife world — send to configured world; allow quests to revive.

Revival: Using HEART_CORE or /hearts revive (admin), or afterlife tasks.

1.5 Seasons

Season length in days (seasonLengthDays).

On season end:

Snapshot top-N by hearts and kills → grant rewards (commands list).

Reset hearts to default.

Broadcast winners with fancy title/actionbar/sounds.

/season info, /season timeleft, /season top, /season endnow (admin).

Edge case: Persist previous season results and expose via INVENTORY GUI.

1.6 Daily/Hourly Events

Events rotate on schedule (cron-like or simple interval).

Example built-ins:

HEART_RUSH: +50% stealAmount for 60 mins.

BLOOD_MOON: mobs drop HEART_SHARD with X% chance.

PEACE_HOUR: Disable PvP server-wide.

DOUBLE_SHOP: 50% cheaper heart shop.

Each event has: id, name, duration, start-time rule, modifiers, broadcast messages.

/event now, /event next, /event force (admin).

1.7 Leaderboards

Track:

Max Hearts (descending).

Total Kills.

Total Deaths.

Insurance Used (optional).

Provide:

/hearttop (INVENTORY GUI + paginated chat).

PlaceholderAPI placeholders.

Optional Hologram API (just expose placeholders; let hologram plugin render).

2) Commands & Permissions
2.1 Player

/hearts — show current hearts (title + chat + actionbar).

Perm: lifesteal.hearts

/heartshop — open shop INVENTORY GUI.

Perm: lifesteal.shop

/heartinsurance buy — purchase insurance once respecting cooldown/limit.

Perm: lifesteal.insurance.buy

/heartinsurance info — show active insurances/cooldown.

Perm: lifesteal.insurance.info

2.2 Admin

/hearts set 

Perm: lifesteal.admin.set

/hearts add 

Perm: lifesteal.admin.add

/hearts giveitem 

Perm: lifesteal.admin.giveitem

/hearts revive — revive from dead-state.

Perm: lifesteal.admin.revive

/lifesteal reload — reload all configs/messages/recipes.

Perm: lifesteal.admin.reload

/season endnow — force season end logic.

Perm: lifesteal.admin.season.end

/event force — force start an event now.

Perm: lifesteal.admin.event.force

Notes: All commands tab-complete. All invalid args → friendly help pages.

3) GUIs
3.1 Heart Shop INVENTORY GUI (/heartshop)

Slots & items configurable in guis/heartshop.yml.

Buttons:

Buy Heart (+2 half-hearts) → cost dynamic.

Buy Heart Shard → cost.

Sell Heart Shard → price.

Buy Insurance → cost, shows current active / max.

Disabled items are greyed with reason in lore.

3.2 Leaderboard INVENTORY GUI (/hearttop)

Tabs: Hearts, Kills, Deaths.

Pagination arrows.

Each entry shows: head, name, stat value.

3.3 Season INVENTORY GUI (/season info)

Shows current season, time left, last winners.

4) Config Files (default structure)
config.yml
storage:
  type: MYSQL # or YAML
  mysql:
    host: "127.0.0.1"
    port: 3306
    database: "lifesteal"
    user: "root"
    password: "password"
    pool:
      maxPoolSize: 10
      minIdle: 2
      leakDetectionThresholdMs: 5000

hearts:
  startMaxHearts: 20
  minHearts: 2
  maxHearts: 80
  allowBelowMin: false
  scaleOnJoin: true

pvp:
  stealAmount: 2 # half-hearts stolen per kill
  loseOnNonPvp: true
  lossAmountNonPvp: 2
  resetVictimToMinIfBelow: true
  dropHeartShardChanceOnDeath: 0.15

zeroHeart:
  mode: SPECTATE # TEMPBAN | SPECTATE | AFTERLIFE
  tempBanDuration: "1d"
  afterlifeWorld: "afterlife"
  revive:
    allowReviveCommand: true
    allowReviveWithHeartCore: true

insurance:
  enabled: true
  cost: 5000
  currency: "coins"
  maxActiveInsurance: 3
  cooldownSeconds: 1800

shop:
  enabled: true
  heartCoreCost: 10000
  heartShardCost: 1500
  heartShardSellPrice: 500
  dynamicPricing:
    enabled: false
    stepPercent: 5
    windowMinutes: 60

events:
  enabled: true
  rotationMinutes: 120
  list:
    - id: HEART_RUSH
      durationMinutes: 60
      modifiers:
        stealMultiplier: 1.5
    - id: BLOOD_MOON
      durationMinutes: 45
      modifiers:
        mobShardDropBonus: 0.1
    - id: PEACE_HOUR
      durationMinutes: 30
      modifiers:
        disablePvp: true

seasons:
  enabled: true
  seasonLengthDays: 30
  winnersCount: 3
  rewards:
    - "eco give %player% 50000"
    - "give %player% nether_star 1"
  resetHeartsTo: 20

placeholders:
  enabled: true

sounds:
  consumeHeartCore: ENTITY_PLAYER_LEVELUP
  stealHeart: ENTITY_WITHER_SPAWN
  insuranceSaved: BLOCK_NOTE_BLOCK_PLING

particles:
  consume: HEART
  steal: REDSTONE

messages.yml
prefix: "&8[&cLifesteal&8]&7"
noPerm: "%prefix% &cYou don't have permission."
reloaded: "%prefix% &aConfigs reloaded."

hearts:
  show: "%prefix% &fHearts: &c%hearts_current%&7/&c%hearts_max%"
  set: "%prefix% &aSet %player%'s hearts to &c%value%."
  added: "%prefix% &aAdded &c%value% &ahearts to %player%."
  gainedFromKill: "%prefix% &aYou stole &c%amount% &afrom %victim%."
  lostFromDeath: "%prefix% &cYou lost &c%amount% &cfrom death."
  capped: "%prefix% &eYou're at max hearts."

insurance:
  bought: "%prefix% &aInsurance purchased. Active: &e%active%/%max%."
  cooldown: "%prefix% &eYou can buy again in &c%time%."
  saved: "%prefix% &aYour insurance saved a heart loss!"

zeroHeart:
  tempban: "%prefix% &c%player% has been banished for &e%duration%."
  spectate: "%prefix% &e%player% has fallen to zero hearts and is now a ghost."
  afterlife: "%prefix% &7%player% has entered the afterlife."

shop:
  open: "%prefix% &aOpening Heart Shop..."
  notEnoughMoney: "%prefix% &cNot enough money."
  bought: "%prefix% &aPurchased &f%item% &ax%amount%."
  sold: "%prefix% &aSold &f%item% &ax%amount% for &e%value%."

events:
  start: "%prefix% &dEvent started: &5%event_name% &7for &e%duration%m."
  end: "%prefix% &dEvent ended: &5%event_name%."

season:
  info: "%prefix% &fSeason ends in &e%timeleft%."
  winners: "%prefix% &6Season Winners: &e%list%."
  reset: "%prefix% &aSeason reset complete. Hearts restored."

items.yml
HEART_SHARD:
  name: "&cHeart Shard"
  lore:
    - "&7Collect shards to craft a full heart."
  material: RED_DYE
  customModelData: 1001

HEART_CORE:
  name: "&4Heart Core"
  lore:
    - "&7Right-click to gain &c+1 Max Heart."
  material: NETHER_STAR
  customModelData: 1002

guis/heartshop.yml
title: "&0&lHeart Shop"
size: 27
items:
  buy_core:
    slot: 11
    material: NETHER_STAR
    name: "&aBuy Heart Core"
    lore:
      - "&7Cost: &e$%cost%"
      - "&7Gain: &c+1 Max Heart"
    action: "BUY_CORE"
  buy_insurance:
    slot: 13
    material: SHIELD
    name: "&aBuy Insurance"
    lore:
      - "&7Cost: &e$%cost%"
      - "&7Active: &e%active%/%max%"
    action: "BUY_INSURANCE"
  buy_shard:
    slot: 15
    material: RED_DYE
    name: "&aBuy Shard"
    lore:
      - "&7Cost: &e$%cost%"
    action: "BUY_SHARD"
  sell_shard:
    slot: 22
    material: PAPER
    name: "&aSell Shard"
    lore:
      - "&7Price: &e$%sellprice%"
    action: "SELL_SHARD"

5) PlaceholderAPI

Expose placeholders (fail gracefully if PAPI absent):

%lifesteal_hearts% → current max hearts (half-hearts or hearts; add config to format).

%lifesteal_hearts_display% → e.g., 23/40 hearts.

%lifesteal_kills%, %lifesteal_deaths%, %lifesteal_insurance_active%.

%lifesteal_event_now% → current event name or None.

%lifesteal_season_timeleft%.

6) Data Model

Tables (MySQL) / YAML structure:

players:

uuid PK

name

max_hearts (int, half-hearts)

kills (int)

deaths (int)

insurance_active (int)

last_insurance_purchase (timestamp)

dead_state (bool or enum: ALIVE/SPECTATE/AFTERLIFE/BANNED)

last_updated (timestamp)

season_history:

id PK, season_index, uuid, name, final_hearts, kills, rank, awarded(bool)

Caching: On join, load to cache; on quit or interval N seconds, flush queue to DB.
Integrity: Clamp values to config bounds before writing.

7) Events & Listeners

PlayerJoinEvent: load cache, apply health attribute.

PlayerQuitEvent: save cache.

PlayerDeathEvent: detect killer/victim; compute loss/gain; check insurance; handle zero-heart mode; drops; messages; sounds; particles.

EntityDamageByEntityEvent: last-hit tracking for fair attribution.

PlayerRespawnEvent: enforce scaled hearts.

Scheduler: events rotation, season countdown, periodic saves.

8) API for Other Plugins (Optional but Nice)

Public API class LifestealAPI:

int getMaxHearts(UUID)

void addHearts(UUID, int halfHearts)

boolean consumeHeartCore(UUID)

boolean hasInsurance(UUID)

void grantInsurance(UUID, int count)

Trigger custom Bukkit events:

HeartStolenEvent(attacker, victim, amount, reason)

InsuranceConsumedEvent(player)

SeasonEndEvent(winnersList)

9) Safety & Edge Cases (the paranoid part)

Combat logging: optional grace—if victim logs out during combat, apply loss on login or instantly. Config: combatLogPunish: true.

Spawn/region protection: never steal hearts in protected regions (WorldGuard hook if present).

Friendly fire: no steal if same party/clan (expose hook interface; default off).

Self-death/Exploit: no steal on self-kill, /kill, or plugin-caused suicide (configurable).

Cap overflow: when attacker at cap, convert excess steal into Heart Shard drop to attacker (optional).

Nether/End respawn anchors: ensure attributes re-applied post-respawn.

Offline victims: never modify offline players except via admin commands.

Dupe protection: consuming items checks inventory transaction atomically; cancel on failure.

Async safety: never touch Bukkit API off-main; only data ops async.

10) Monetization Hooks (Optional)

Command list to run when a player buys:

Heart Core: commandsOnBuyCore: []

Insurance: commandsOnBuyInsurance: []

Web store compatibility: /hearts giveitem HEART_CORE for buycraft/tebex.

11) Testing / Acceptance Criteria

Unit tests for math (steal, caps, insurance consumption logic).

Integration checks:

PVP steal works, non-PVP loss follows config.

Insurance prevents exactly one loss event, increments “used” counter.

Zero-heart modes behave correctly (ban/spectate/afterlife).

Shop transactions deduct/add money via Vault and respect dynamic pricing (if enabled).

Season end snapshots winners in order and runs reward commands once.

Events modify behavior live and revert cleanly.

Placeholders return sane values with/without PlaceholderAPI present.

Reload does not duplicate recipes or listeners.

Performance: TPS unaffected with 100 concurrent combat interactions in a minute.

12) Deliverables

Compilable plugin jar + source.

config.yml, messages.yml, items.yml, guis/heartshop.yml with comments.

SQL migration file for MySQL tables.

README with install steps, permissions list, placeholders, and example setups.

Changelog & version in plugin.yml.

Graceful failure if Vault/PAPI missing (disable only dependent features).

13) Example plugin.yml
name: LifestealAdvanced
main: com.toxicmc.lifesteal.LifestealAdvanced
version: 1.0.0
api-version: '1.20'
author: AyushK
softdepend:
  - Vault
  - PlaceholderAPI
commands:
  hearts:
    description: Manage and view hearts
    usage: /hearts
  heartshop:
    description: Open Heart Shop
  heartinsurance:
    description: Buy or view insurance
  lifesteal:
    description: Admin utilities
  season:
    description: Season info and admin
  event:
    description: View/Force events
permissions:
  lifesteal.hearts: { default: true }
  lifesteal.shop: { default: true }
  lifesteal.insurance.buy: { default: true }
  lifesteal.insurance.info: { default: true }
  lifesteal.admin.set: { default: op }
  lifesteal.admin.add: { default: op }
  lifesteal.admin.giveitem: { default: op }
  lifesteal.admin.revive: { default: op }
  lifesteal.admin.reload: { default: op }
  lifesteal.admin.season.end: { default: op }
  lifesteal.admin.event.force: { default: op }

14) UX Polish (because we’re obsessive)

Titles for big moments: steal, insurance saved, season win.

Subtle particles on consume/steal; configurable.

Sound feedback on success/fail in INVENTORY GUI.

Color-coded messages with %prefix%.

Clear reason lines when actions are blocked (e.g., at cap, no funds, cooldown).

15) Optional Integrations (implement if easy)

WorldGuard: respect no-PVP/regions; toggle in config.

LuckPerms: grant temporary cosmetic nodes to season winners.

MythicMobs: optional drops that include HEART_SHARD during BLOOD_MOON.




























CLEANED OUT PROMPT

Create a PaperMC plugin for Minecraft 1.21+ (1.21.11)
Plugin name: CullingGames
Language: Java 17
Focus: PvP-based abilities, custom items, point system
Performance: abilities must be event-based, no repeating tasks unless stated

Global Rules:
- Health is measured in half-hearts (20 = 10 hearts)
- True damage ignores armor and resistance
- Hit counter resets on death and logout
- Cooldowns persist through relog
Natural blackflash: any player has a 1% chance to activate a blackflash multiplying their dmg by 2.5x and giving them regen 1 for 20 seconds.


1.1 PVP Abilities

Sukuna

Passive
Trigger: Player crouches (shift)
Effect: Sends a small circular AOE slash centered on the player
Damage: 2 hearts true damage
Extra: Breaks cobweb blocks in radius
Cooldown: 30 seconds

Active
Trigger: /ctactive
Effect: Fires a ranged slash in a straight line (horizontal slash)
Damage: Scales by distance traveled
Minimum: 4 hearts true damage
Maximum: 10 hearts true damage
Cooldown: 60 seconds

Gojo

Passive
Trigger: Every 6th successful melee hit on a player
Effect: Stuns the target
Stun Duration: 1.5 seconds
Reset: Hit counter resets after stun triggers

Active
Trigger: /ctactive
Ground Use:
Teleports the player to the block they are looking at
Max Distance: 50 blocks
Air Use:
Teleports 6 blocks forward in the air
Cooldown: 45 seconds

Yuta

Passive — Rika
Trigger: Player crouches (shift)
Effect: Activates “Rika” mode
Duration: 5 seconds
Visual: Black particles appear behind the player

While Active:
If Yuta is hit by a player:
Attacker is stunned for 1 second
Yuta gains Regeneration I for 5 seconds
Alternate Action:
Shift + Right Click during Rika opens Yuta’s Ender Chest
Cooldown: 2 minutes
Active — Copy
Trigger: /ctactive
Effect: Copies the curse technique (abilities) of the last player Yuta hit
Duration: 2 minutes
Rules:
Copied technique replaces Yuta’s passive during duration
Original abilities return after duration ends
Cooldown: 3 minutes

Yuji
Passive — Black Flash
Trigger: Every 6th successful damaging hit
Effect: Triggers a Black Flash
Damage Multiplier: 1.5×
Reset: Hit counter resets after Black Flash

Active
Trigger: /ctactive
Duration: 20 seconds
Effects Granted:
Resistance I
Regeneration II
Saturation
Haste I
Bonus: 5× increased chance to trigger a natural Black Flash
Cooldown: 60 seconds




Megumi

Passive
Trigger: Player crouches (shift)
Effects While Crouching:
Invisibility
Speed II
Risk: After 20 seconds of continuous crouching, player begins drowning

Active
Trigger: /ctactive
Target: Last player Megumi successfully hit
Effect:
Swap positions with target
Apply to target for 5 seconds:
Blindness I
Weakness I
Slowness II
Megumi gains Invisibility for 3 seconds
Cooldown: 60 seconds

Hakari

Passive
Trigger: Shift + Right Click
Effect: Grants enhanced attacks
Duration: 5 seconds
On Hit During Duration:
Target receives Slowness I for 5 seconds

Active — Jackpot System
Trigger: /ctactive
Restriction: Cannot be activated while Jackpot is active
Effect: Rolls for Jackpot
Jackpot Mechanics:
Each activation grants 1 stack
Each stack increases jackpot chance:
1 stack: 5%
2 stacks: 10%
3–6 stacks: 15%
7 stacks: 100% (guaranteed)
On guaranteed jackpot:
All stacks reset to 0
Jackpot Effects (15 seconds):
Regeneration I
Resistance II
Speed I
Saturation
Bonus Rule:
While in Jackpot, Active cooldown becomes 7 seconds

Mak
i
Passive
Permanent Effects:
Speed II
Strength I
Fire Resistance
Weapon Rule:
Can enchant swords up to Sharpness VI
Requirement: Must already be Sharpness V

Active
Trigger: /ctactive
Duration: 15 seconds
Effects:
Strength III
Jump Boost I
Cooldown: (define later)

Kashimo

Passive — Electrical Discharge
Trigger: Every 6th successful melee hit
Effect:
Target receives Slowness II for 2 seconds
After slowness ends, target is stunned after a random delay
Stun Delay: 3–5 seconds
Stun Duration: 0.5 seconds

Active — Ultimate
Trigger: /ctactive (requires confirmation)
Confirmation: First use sends a warning message; second use activates
Duration: 60 seconds
Effects:
Strength IV
Regeneration III
Passive hit requirement reduced to 1 hit
After Effect Ends:
Player loses 16 hearts
Max health set to 4 hearts
Restriction:
Active cannot be reused until Kashimo kills another player
On kill, max hearts are restored to 20

Universal PvP Mechanic — Natural Black Flash
Chance: 1% on any melee hit (all players)
Effect:
Damage multiplier: 2.5×
Regeneration I for 20 seconds
PvP Only





1.2 Culling Game system
1.3 Curse orb system
Curse Orbs (Ability Progression)
Purpose:
Used only to unlock curse technique abilities.

Rules:

Stored as: curse_orbs
Min: 0
Max: 5
Not lost on death
Withdrawable
Persistent between sessions

Gain:
On kill drops a player head
Player head can be crafted into a curse orb
Recipe:
N N N
N P N
N N N

N: Nothing
P: Player Head
Ability Unlocks:
Passive abilities → 2 Curse Orbs
Active abilities → 4 Curse Orbs
Max progression → 5 Curse Orbs

Restrictions:
If requirements are not met, ability use is blocked with a message
Inactivity Rule (Manual):
If player has no PvP kills for 48 hours, admin may reset curse orbs

Commands:
/cursebalance
- Shows current curse orb count
/ctremoval 
- Sets curse_orbs to 0 (OP only)
/withdraw
-removes 1 orb from the balance and gives 1 curse orb item to the player


Kodari AI
KodariFeb 4 at 11:20 am 38,168 (v2)

I’ll create a comprehensive JJK plugin with curse techniques, black flash mechanics, and the culling games system.

CullingGames
A PvP-focused Jujutsu Kaisen plugin featuring eight unique curse techniques (Sukuna, Gojo, Yuta, Yuji, Megumi, Hakari, Maki, Kashimo), natural black flash mechanics with freeze effects, curse orb progression system, and a competitive culling games points system with player head crafting and ability unlocks.

Now let me create the listeners and commands:

Now let me create all the commands:

Finally, let me create a recipe listener for the player head → curse orb crafting:

Now register the crafting listener in the main class:

Perfect! I’ve created a comprehensive JJK plugin with all requested features:

✅ Implemented:

  • 8 unique curse techniques (Sukuna, Gojo, Yuta, Yuji, Megumi, Hakari, Maki, Kashimo)

  • Natural black flash with freeze mechanics (1% chance, 2.5x damage multiplier)

  • Character-specific black flash (Yuji every 6 hits)

  • Curse orb progression system (2 orbs = passive, 4 orbs = active)

  • Player head → curse orb crafting

  • Culling games points system (20 points per kill)

  • Persistent cooldowns using PDC

  • Hit counters that reset on death/logout/world change

  • True damage mechanics

  • All passive and active abilities

  • Commands for technique management, point transfers, rule creation

Key Features:

  • XSeries for cross-version compatibility

  • Persistent data using PDC (cooldowns survive relog)

  • Event-driven architecture (no repeating tasks)

  • True damage bypasses armor/resistance

  • Proper damage calculations in half-hearts

  • Admin and player command separation

  • Full configuration system

Commands:

  • /cursetechnique <player> <technique> - Assign technique

  • /cursetechniquerandom - Random techniques for all

  • /cullinggames start/stop - Toggle games

  • /ctactive - Activate ability

  • /cursebalance - Check orbs

  • /withdraw [player] - Withdraw orb item

  • /ctremoval <player> - Reset orbs

  • /transfer <from> <to> <amount> - Transfer points

  • /rulecreation - Create rule (100 points)

rocee_

there were a lot of problems encountered after testing. problems are to be fixed and listed below.

Megumi: U only get the invis and speed when u unshift Maki: Doesnt get the perma effects + change the active into strength 2, speed 2, jump boost 2 for 25 seconds Sukuna: His abilities dont make any sounds when u hit plus, the active abilities hitbox is dookie Gojo: Stun is based on you and not when u get hit (u have to hit a player 6 times to activate the stun) + when the enemy gets stunned, whenever they jump to go to space Hakari: No cooldown on his jackpot stacks + his effects are a bit underwhelming + jackpot should give same effects but change it into 23 seconds Kashimo: His 4 hearts is permanent unless u kill someone, even if u die u still have the 4 hearts + can ult infinitely + the going to space is also present when the random stun activates Yuta: No rika + copied ability doesnt dissapear when copy phase is over or when dying damaging abilities: when damaging a player with abilities or natural blackflash it doesnt show that u hit them SFX: litterly no sound vfx: the particles are not noticable cooldown: you cannot see ur passive cooldown + we should add like something so there is a cooldown bar crafting: No reroll orb + no orb of duality Curse orb: U can craft it, but like u cannot even consume it to get a stack Rule creation: When new rule is created only u can see it in the chat like the "A new rule is manifesting" Points: You cannot see how much points you have culling games: when doing /cullinggame start it doesnt give the curse technique + It doesnt show a big text on the screen| jackpot: it doesnt put a big text saying jackpot on screen when hitting it

Kodari AI
KodariFeb 6 at 11:57 am 41,191 (v2)

I’ll analyze and fix all the issues. First, let me read all the relevant files to understand the current implementations.

I’ll fix all these issues systematically. Let me start with the implementations:

Summary of Fixes:

✅ Megumi - Now always has invis/speed when passive unlocked, sneak for 20s adds wither/glowing ✅ Maki - Permanent passive effects + active is now Strength 2, Speed 2, Jump Boost 2 for 25s ✅ Sukuna - Added sounds to passive/active + improved hitbox (0.3 step, 1.5 radius) ✅ Gojo - Fixed stun logic (tracks hits ON victim) + removed jump-to-space bug ✅ Hakari - Added 5s cooldown between stacks + better effects + jackpot is 23s with title ✅ Kashimo - 4 hearts resets on respawn + ult cannot be used infinitely + fixed jump-to-space ✅ Yuta - Enhanced rika particles + copied ability clears on death ✅ Damage indicators - Added particles to all ability hits ✅ SFX - All abilities now have sounds ✅ VFX - Increased particle counts ✅ Cooldown display - Action bar shows cooldowns + orbs + points ✅ Crafting - Added reroll orb + orb of duality recipes ✅ Curse orb - Right-click to consume ✅ Rule creation - Broadcasts to all players with title ✅ Points - Added /points command ✅ Culling games - Start assigns techniques + shows title ✅ Jackpot - Shows big title + broadcasts to all players

rocee_
📎 1 file 2,996 chars
📄
pasted-code-1770383072149.txt
txt 41 lines
▶
Charge up: you cannot move for how long a move needs to be charged

Hakari: active cooldown change it into 1 minute, and i cannot see the active cooldown on the active, make it so when activating the passive it only activates the cooldown when the passive duration ends, also add a cooldown bar for the passive when its on
megumi: change it so its not permanent speed 2 and invisbility but instead make it so when u are SHIFTING (CROUCHING) U gain invis and speed 2
maki: change passive so its ONLY permanent speed 1, fire resistance, and jump boost 1
sukuna: passive damage change it to only 1 whole heart of damage to players, change sukunas active ability damage to deal 4 whole hearts (still infinite range, but stops when hitting a block, or an object or an entity + make the active ability have a 2 second charge up + his passive change the keybind so its shift +right click + when killing a player with either passive or active drop a player head
Kashimo: When in the weakened state, whenever you die, give back ONLY the hearts, so u can only use ur active again if and only if u get a kill
yuji: yujis active should give ONLY, haste 1, regeneration 1, resistance 1, and saturation 1 for 20
yuta: put another cooldown bar for the copied characters ability + after yuta uses active (copying an ability), yuta has to hit the player again to copy their ability. if he uses ctactive without hitting anybody beforehand say "nothing to copy" + rika is still not usable make the keybind to activate rika shift + right click ((1 second charge up) Activate “Rika” for 7 seconds (Indicated by black particles appearing behind the player) if hit while in the “Rika” state, the attacker gets stunned for 0.5 seconds and gains 5 seconds of regeneration 1 (does not stack).; During the “Rika” state the user can Shift+Right-Click again to open up an ender chest; Cooldown: 120 Seconds)
crafting: curse orbs, orb of duality, and reroll orbs cannot be crafted (edited)Friday, 06 February 2026 20:04
:skull:
Click to react
:sob:
Click to react
:mrfelix_yawn:
Click to react
Add Reaction
Reply
Forward
More

Lil GAYYYYY — 20:01Friday, 06 February 2026 20:01
vfx: for kashimo is in the mythical beast amber state, put constant static particles (just like hakari jackpot but different color into purple) + natural blackflash add red particles (medium-high amount of particles) + yujis blackflash make the particles on the player hit by the blackflash also put some red particles just like the natural blackflash but less extreme
natural blackflash: make the stun duration into 4 seconds (both parties who hit the blackflash and who takes the blackflash) also when players are stunned from the blackflash make it so both parties cannot take damage
:skull:
Click to react
:sob:
Click to react
:mrfelix_yawn:
Click to react
Add Reaction
Reply
Forward
More

C62
C62

NBD
 — 20:04Friday, 06 February 2026 20:04
add minecraft sound effects for most actives, passives and commands excludiong the custom sound effects
Kodari AI
KodariFeb 6 at 1:09 pm 41,911 (v2)

I’ll implement all these changes. Let me first

Let me read the combat listener and commands to understand the full structure:

I’ll implement all these changes systematically. Let me start:

All changes have been implemented:

Summary of changes:

  1. ✅ Charge up system - players cannot move during charge

  2. ✅ Hakari - 1 min active cooldown, passive cooldown after duration, cooldown bar display

  3. ✅ Megumi - Speed 2 + Invis only when crouching

  4. ✅ Maki - Only Speed 1, Fire Resistance, Jump Boost 1

  5. ✅ Sukuna - Passive 1 heart to players, Active 4 hearts, 2s charge, Shift+Right keybind, drops player head on kill

  6. ✅ Kashimo - On death only restores hearts, purple particles during ultimate

  7. ✅ Yuji - Active only Haste 1, Regen 1, Resistance 1, Saturation 1 for 20s, red particles on blackflash

  8. ✅ Yuta - Cooldown bar for copied ability, must hit again to copy, “nothing to copy” message, Rika Shift+Right (1s charge), 7s duration, 0.5s stun on hit, opens ender chest, 120s cooldown

  9. ✅ Crafting - Disabled curse orbs, orb of duality, reroll orbs

  10. ✅ VFX - Kashimo purple particles, blackflash red particles, 4s stun, no damage during stun

  11. ✅ Sound effects added throughout

Kodari can make mistakes. Review important code before using.
Files
src
.gitignore
build.gradle
settings.gradle
Code
42 2,838
src/main/java/com/cullinggames/jjk/CullingGamesPlugin.java
package com.cullinggames.jjk;

import com.cullinggames.jjk.commands.*;
import com.cullinggames.jjk.data.DataManager;
import com.cullinggames.jjk.listeners.BlackFlashListener;
import com.cullinggames.jjk.listeners.CraftingListener;
import com.cullinggames.jjk.listeners.PlayerCombatListener;
import com.cullinggames.jjk.listeners.PlayerDataListener;
import com.cullinggames.jjk.managers.*;
import com.cullinggames.jjk.tasks.CooldownDisplayTask;
import com.cullinggames.jjk.tasks.PassiveEffectTask;
import com.cullinggames.jjk.techniques.handlers.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CullingGamesPlugin extends JavaPlugin {
    
    private DataManager dataManager;
    private TechniqueManager techniqueManager;
    private CurseOrbManager curseOrbManager;
    private PointManager pointManager;
    private HitCounterManager hitCounterManager;
    private CooldownManager cooldownManager;
    private ChargeUpManager chargeUpManager;
    
    private SukunaHandler sukunaHandler;
    private GojoHandler gojoHandler;
    private YutaHandler yutaHandler;
    private YujiHandler yujiHandler;
    private MegumiHandler megumiHandler;
    private HakariHandler hakariHandler;
    private MakiHandler makiHandler;
    private KashimoHandler kashimoHandler;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataManager = new DataManager(this);
        this.techniqueManager = new TechniqueManager(this);
        this.curseOrbManager = new CurseOrbManager(this);
        this.pointManager = new PointManager(this);
        this.hitCounterManager = new HitCounterManager();
        this.cooldownManager = new CooldownManager(this);
        this.chargeUpManager = new ChargeUpManager(this);
        
        this.sukunaHandler = new SukunaHandler(this);
        this.gojoHandler = new GojoHandler(this);
        this.yutaHandler = new YutaHandler(this);
        this.yujiHandler = new YujiHandler(this);
        this.megumiHandler = new MegumiHandler(this);
        this.hakariHandler = new HakariHandler(this);
        this.makiHandler = new MakiHandler(this);
        this.kashimoHandler = new KashimoHandler(this);
        
        registerListeners();
        registerCommands();
        startTasks();
        
        getLogger().info("CullingGames plugin enabled!");
    }
    
    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.saveAll();
        }
        getLogger().info("CullingGames plugin disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerDataListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerCombatListener(this), this);
        Bukkit.getPluginManager().registerEvents(new BlackFlashListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CraftingListener(this), this);
    }
    
    private void registerCommands() {
        getCommand("cursetechnique").setExecutor(new CurseTechniqueCommand(this));
        getCommand("cursetechniquerandom").setExecutor(new CurseTechniqueRandomCommand(this));
        getCommand("cullinggames").setExecutor(new CullingGamesCommand(this));
        getCommand("ctactive").setExecutor(new CTActiveCommand(this));
        getCommand("cursebalance").setExecutor(new CurseBalanceCommand(this));
        getCommand("withdraw").setExecutor(new WithdrawCommand(this));
        getCommand("ctremoval").setExecutor(new CTRemovalCommand(this));
        getCommand("transfer").setExecutor(new TransferCommand(this));
        getCommand("rulecreation").setExecutor(new RuleCreationCommand(this));
        getCommand("points").setExecutor(new PointsCommand(this));
    }
    
    private void startTasks() {
        new PassiveEffectTask(this).runTaskTimer(this, 0, 20);
        new CooldownDisplayTask(this).runTaskTimer(this, 0, 10);
    }
}