deadly_xplayz

Act as an Expert Senior Java Minecraft Developer and Custom Resource Pack Designer. I need you to write the COMPLETE, production-ready code for a massive PaperMC plugin (Version 1.21.x) named "DeadlyFates". The plugin must use modern 1.21 Data Components. All plugin credits, messages, and UI elements must explicitly state: "Developed & Designed by DEADLY_XPLAYZ".

CRITICAL INSTRUCTION: I need the ENTIRE plugin in one go. Do not give me just snippets. Provide the complete Java class structures, config files, and Resource Pack JSON files. If you reach your output token limit, end the code block cleanly and I will type "continue" for you to resume exactly where you left off. Do not omit any features.

Here is the comprehensive feature list:

1. Security Integration (AlixSystem Hook)

  • The plugin MUST hook into "AlixSystem" (Login/Register plugin).
  • The initial "Fate Rolling Animation" and any power-giving logic must NOT trigger on PlayerJoinEvent. It must ONLY trigger after the player successfully authenticates via AlixSystem (listen to the Alix authentication success event).

2. The "Fate" Roll & Setup

  • Upon successful AlixSystem login (for first-time players), player movement/camera is frozen.
  • A central screen Title/Subtitle animation rolls through 10 ultimate power names with changing colors and Note Block "Pling" sounds.
  • After 5 seconds, an explosion sound plays, particles surround the player, and they get 1 of 10 powers.
  • The player receives a permanent, un-droppable, un-moveable "Power Card" custom item (using CustomModelData) in their 9th hotbar slot.

3. Lives & The 24-Hour Steal Mechanic

  • Action Bar: Players permanently see: "Lives: ❤ ❤ ❤ ❤ ❤ | Power: [Name] | [Ready/Cooldown]"
  • Players start with 5 Lives. Dying to another player subtracts 1 Life.
  • THE STEAL: If Player A kills Player B, and Player B reaches 0 lives, Player B's Power Card and abilities are transferred to Player A.
  • Player A keeps this stolen power for exactly 24 HOURS (Real-time, stored in a database/SQLite so it survives server restarts).
  • Once 24 hours pass, the power is forcefully taken back and returned to Player B's inventory, regardless of whether players are online or offline.

4. NEW FEATURE: Power Evolution & Bounties

  • Power Leveling: Kills permanently upgrade a player's base power.

- Level 1 (0 Kills): Base abilities. - Level 2 (15 Kills): Ability cooldowns reduced by 20%. - Level 3 (30 Kills): Active ability duration/damage is doubled, and passive aura gets denser particles.

  • Wanted System: A player holding a "Stolen" power has a subtle red particle trail, marking them as a target.

5. Visuals, Auras, and Resource Pack

  • Generate the exact pack.mcmeta and custom item .json files required for 10 unique Power Cards.
  • Every power has a unique passive particle aura playing every 2 seconds around the player without causing TPS drops. Active abilities must feature complex particle geometry (circles, domes) and heavy sounds.

6. The 10 Ultimate Powers (Right-click card for Active)

[DIMENSIONAL / RARE]

  1. Void Reaper: Passive: Immune to void/fall damage. Purple end rod aura. Active: "Phase" - Teleport 15 blocks forward through solid walls (Enderman sound).
  2. Inferno Lord: Passive: Fire immunity & Lava walking (creates basalt). Flame aura. Active: "Fire Nova" - Expanding ring of fire particles (10 blocks) igniting enemies.
  3. Earth Guardian: Passive: Permanent Resistance 1. Green aura. Active: "Ground Slam" - Throws all nearby enemies 5 blocks into the air.

[OTHER POWERS]

  1. Shadow Ninja: Passive: "Ghost Walk" - Shifting completely hides armor, name tag, and aura, making them 100% invisible. Active: "Smoke Bomb" - Blinds enemies in 8 blocks, gives user Speed 3.
  2. Sky Sovereign: Passive: "Wingless Flight" - Double jumping allows the player to fly like an Elytra without wearing one. White cloud aura. Active: "Tornado" - Pushes all entities away in a 15-block radius.
  3. Blood Fiend: Passive: Heals 1 heart on every melee hit. Redstone aura. Active: "Life Drain" - AOE Wither effect stealing health from enemies.
  4. Oceanic Titan: Passive: Water breathing, Dolphin's Grace, Night Vision. Splash aura. Active: "Tsunami" - Line of water particles dealing massive knockback.
  5. Storm Caller: Passive: Speed 2 in rain. Electric aura. Active: "Lightning Strike" - Summons real lightning at the target block up to 30 blocks away.
  6. Time Weaver: Passive: Haste 2. Glyph aura. Active: "Rewind" - Teleports the user back to the exact XYZ they were at 5 seconds ago.
  7. Beast Master: Passive: Mobs ignore the player. Slime aura. Active: "Wolf Pack" - Summons 4 angry, glowing wolves attacking the nearest enemy for 15 seconds.

7. Commands & Admin Panel (Prefix: /dx)

  • /dx reset <player> (Resets lives and triggers the Alix-auth roll again)
  • /dx setpower <player> <power>
  • /dx lives <player> <add/remove/set> <amount>
  • /dx reload
  • /dx info (Player command: INVENTORY GUI showing their power level, stats, and abilities)
  • /dx timer (Player command: shows remaining time for stolen powers)

Provide the plugin.yml, main class, listeners, ability managers, database logic, and resource pack files now.

Kodari AI
KodariMay 9 at 7:57 am 100 (v2)

The generation was stopped before any content could be produced.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code