O

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.

Kodari AI
KodariMay 10 at 4:01 am 43,346 (v2)

I’ll plan this carefully before writing any code.

Architecture Plan:

  • DeadlyZenith.java — main plugin class with all manager references

  • DatabaseManager.java — SQLite persistence for player data + power theft tracking

  • PlayerData.java — data model (Lombok)

  • ItemManager.java — soulbound Echo Shard + Power Items using PersistentDataContainer

  • RitualManager.java — cinematic ritual phases with BukkitRunnable scheduling

  • Power.java — abstract power base class

  • PowerRegistry.java — registers all 20 powers

  • SoulboundListener.java — drop/move/death protection

  • RitualListener.java — right-click trigger

  • LifestealListener.java — death/kill handling + 24h debt system

  • ZenithCommand.java — /zenith command tree

  • AdminGUI.java — inventory GUI for admin panel

  • Full GUI framework (InventoryGUI, InventoryButton, GUIManager, GUIListener)

  • All 20 power implementations

DeadlyZenith
A high-end cinematic RPG Lifesteal plugin featuring 20 unique god-tier powers with particle auras, a dramatic ritual assignment sequence, and a 24-hour power theft system. Players gain powers through a cinematic roll, level them up via kills, and risk losing them on death. Includes soulbound items, SQLite persistence, an admin GUI, and full command management via /zenith.

The full plugin is now generated. Here’s a summary of what was built:

Core Systems:

  • DatabaseManager — SQLite with async saves for player data and power theft tracking

  • ItemManager — Soulbound Echo Shard + Power Items + Stolen Power Items using PersistentDataContainer

  • RitualManager — 3-phase cinematic: dimension hopping → title roll → sonic boom landing with power assignment

20 Powers implemented:

  • 5 god-tier: Aetherial Glitch (dodge + teleport decoy), Star-Eater (black hole pull), Neural Link (mind control + spectate), Void Sovereign (flight + shadow cloak), Chronos (time freeze + rewind second chance)

  • 15 elemental/combat: Inferno Blood, Frost Warden, Thunder Strike, Shadow Blade, Earth Shaker, Storm Caller, Blood Rite, Iron Soul, Phantom Step, Solar Flare, Venom Fang, Crystal Mind, Gravity Pull, Arcane Echo, Necro Surge

Lifesteal & Debt:

  • -1 life per death, zero lives triggers power theft with 24h timestamp

  • DebtCheckTask runs every 60s async, restores powers with lightning strikes on both players

Commands: Full /zenith tree with tab completion — admin, givepower, setlevel, lives, reset, stoprolling, status

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
43 3,171
src/main/java/com/deadlyxplayz/zenith/DeadlyZenith.java
package com.deadlyxplayz.zenith;

import com.deadlyxplayz.zenith.command.ZenithCommand;
import com.deadlyxplayz.zenith.database.DatabaseManager;
import com.deadlyxplayz.zenith.inventory.gui.GUIListener;
import com.deadlyxplayz.zenith.inventory.gui.GUIManager;
import com.deadlyxplayz.zenith.item.ItemManager;
import com.deadlyxplayz.zenith.listener.LifestealListener;
import com.deadlyxplayz.zenith.listener.RitualListener;
import com.deadlyxplayz.zenith.listener.SoulboundListener;
import com.deadlyxplayz.zenith.power.PowerRegistry;
import com.deadlyxplayz.zenith.ritual.RitualManager;
import com.deadlyxplayz.zenith.task.DebtCheckTask;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class DeadlyZenith extends JavaPlugin {

    private DatabaseManager databaseManager;
    private ItemManager itemManager;
    private PowerRegistry powerRegistry;
    private RitualManager ritualManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.databaseManager = new DatabaseManager(this);
        this.databaseManager.initialize();

        this.itemManager = new ItemManager(this);
        this.powerRegistry = new PowerRegistry(this);
        this.ritualManager = new RitualManager(this);
        this.guiManager = new GUIManager();

        getServer().getPluginManager().registerEvents(new SoulboundListener(this), this);
        getServer().getPluginManager().registerEvents(new RitualListener(this), this);
        getServer().getPluginManager().registerEvents(new LifestealListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);

        ZenithCommand zenithCommand = new ZenithCommand(this);
        getCommand("zenith").setExecutor(zenithCommand);
        getCommand("zenith").setTabCompleter(zenithCommand);

        new DebtCheckTask(this).runTaskTimerAsynchronously(this, 1200L, 1200L);

        getLogger().info("DEADLY: ZENITH has awakened.");
    }

    @Override
    public void onDisable() {
        if (databaseManager != null) {
            databaseManager.close();
        }
        getLogger().info("DEADLY: ZENITH has gone dormant.");
    }
}