PLUGIN DEVELOPMENT BLUEPRINT: DEADLY: ZENITH
Target Server Version: Minecraft Paper 1.21.1+ Plugin Name: DEADLY: ZENITH Author: DEADLY_XPLAYZ Goal: Create a high-end, cinematic RPG and Lifesteal plugin that surpasses premium market plugins. Use advanced 1.21.1 Paper API features, specifically Data Components (avoiding old NBT tag methods), and asynchronous task handling for smooth server performance.
1. CORE DATA & PERSISTENCE
* Database Engine: Use SQLite or a robust JSON system to store player data persistently. * Data Stored Per Player: UUID, Assigned Power (String), Power Level (Int 1-10), Lives (Int, max 5), Kill Count (Int). * Power Theft Data: A separate table/file tracking VictimUUID, KillerUUID, PowerName, and ExpirationTimestamp (System.currentTimeMillis + 24 hours).
2. THE JOIN MECHANIC & SOULBOUND ITEMS
* First Join: Give the player an Echo Shard named "&b&lYour Power". * Lore: "&7A gift by DEADLY_XPLAYZ". * Soulbound Logic (Crucial): Use 1.21.1 PersistentDataContainer and Data Components. * The item cannot be dropped (PlayerDropItemEvent). * The item cannot be moved into Chests, Shulkers, Hoppers, or Item Frames (InventoryClickEvent, InventoryDragEvent). If attempted, cancel the event. * The item stays in the inventory on death (unless lives reach 0).
3. THE CINEMATIC RITUAL (Triggered by Right-Clicking 'Your Power')
* Initialization: When clicked, remove the Echo Shard. Apply Levitation 255 and Blindness to the player. Set them to invulnerable during the ritual. * Phase 1 (Dimension Hop): Teleport the player rapidly (every 2-3 seconds) to safe generated locations in the Nether, End, and Overworld sky. Play ENTITY_ENDERMAN_TELEPORT sounds. * Phase 2 (The Roll): Use player.sendTitle() to flash 20 different power names on the screen rapidly, accompanied by clicking UI sounds. * Phase 3 (The Landing): After 30 seconds, teleport them safely to the Overworld surface. Trigger a massive SONIC_BOOM particle explosion, play a heavy bass sound (ENTITY_WARDEN_SONIC_BOOM), and announce their assigned power. Give them their specific Power Item.
4. THE 20 POWERS SYSTEM (Object-Oriented Design)
* Architecture: Create a Power abstract class with methods onActiveUse(), onPassiveTick(), and getAuraParticles(). * Progression: 10 Levels per power. Level up by getting player/mob kills. Damage and cooldowns scale with the level. * Visual Auras: Each power generates mathematical particle shapes (e.g., Fibonacci spirals, Halos) around the player using asynchronous BukkitRunnable timers. * Specific God-Tier Powers to Implement: 1.
Aetherial Glitch: Active (Teleport to line of sight, leave exploding decoy). Passive (15% chance to dodge damage, teleporting 2 blocks away). 2.
Star-Eater: Active (Suck nearby entities into a particle black hole, dealing true damage). Passive (Flight using a daylight-recharging fuel system). 3.
Neural Link: Active (Mind control: lock a target's movement and spy through their camera view for 5s). Passive (Glow effect on all players within 30 blocks). 4.
Void Sovereign: Active (Abyssal Leap: 10s of fast flight without Elytra). Passive (Shadow Cloak: Sneaking hides nameplate and particles completely). 5.
Chronos: Active (Time Freeze: Root all nearby entities in place). Passive (Second Chance: Fatal hit rewinds player position and health to 5 seconds prior).
(Generate 15 additional standard rare powers with elemental/combat themes).*
5. LIFESTEAL & 24-HOUR DEBT SYSTEM
* Lives System: Players start with 5 lives. -1 life per death. * Zero Lives Logic: When a player hits 0 lives: * Their Power Item is removed from their inventory. * A duplicate item named "&c[VictimName]'s Stolen Power" is given to the killer. * A 24-hour timestamp is saved in the database. * The Return Task: A BukkitRunnable checks the database every 60 seconds. If currentTime > ExpirationTimestamp: * Remove the stolen item from the killer's inventory (or data if offline). * Restore the power to the original victim and reset their lives to 1. * Send a cinematic lightning strike to both players upon transfer.
6. COMMANDS & ADMINISTRATION
Create a professional command structure using the /zenith alias. * /zenith admin: Opens a INVENTORY GUI to manage the server. * /zenith givepower <player> <power>: Force-give a specific power. * /zenith setlevel <player> <1-10>: Modify a player's power level. * /zenith lives <add/remove/set> <player> <amount>: Manage lifesteal lives. * /zenith reset <player>: Wipes player data and triggers the starting ritual again. * /zenith stoprolling: Emergency stop for the cinematic animation if a player gets stuck. * /zenith status: Shows a player if their power is stolen, who has it, and the countdown timer.
Please generate the foundational Main Class, the Database Manager, the custom Item Manager using 1.21 Data Components, and the Ritual Cinematic logic to begin.