O

SYSTEM ROLE & PROJECT OBJECTIVE Act as a Senior Java Developer specializing in the PaperMC API (1.21+). Your task is to develop a highly complex, premium, and fully optimized Minecraft RPG plugin named "DEADLY: ZENITH".

IMPORTANT: Do NOT use any custom resource packs, Oraxen, or ItemsAdder. All items must be Vanilla items visually enhanced using custom HEX colors, deep lore arrays, Enchantment Glints, and PersistentDataContainer (PDC). All author credits, console startup logs, and plugin.yml metadata must explicitly state: "Developed by DEADLY_XPLAYZ".

ARCHITECTURAL REQUIREMENTS * Database: Implement SQLite/MySQL async data handling. Schema must track: UUID, PowerID, Lives (Int, Default 5), PowerLevel (Int, 1-10), Kills (Int), and StolenPowerExpiry (Unix Timestamp). * NBT/PDC Item Guard: Power items are strictly bound to the player. Use PersistentDataContainer to tag items. * Event Cancellations: * Cancel PlayerDropItemEvent. * Cancel BlockPlaceEvent if the item is a block. * Cancel InventoryClickEvent and InventoryDragEvent if the player attempts to move the item into ANY container (Chests, Shulkers, Item Frames, Hoppers) or drop it outside the UI. It can only exist in the Player's inventory.

MODULE 1: THE CINEMATIC "AWAKENING" RITUAL Trigger: On first join, give the player an Echo Shard named &#A020F0Your Power with the lore A gift by DEADLY_XPLAYZ. Right-clicking it consumes the item and starts a 30-second BukkitRunnable sequence.

  1. Phase 1 (Lock): Apply PotionEffectType.LEVITATION (amplifier 1, ambient false) and BLINDNESS for 1 second.
  2. Phase 2 (Dimension Rift): Every 2 seconds, use player.teleport() to safe, pre-calculated random coordinates cycling between the Overworld, Nether, and End. Send fake packet-based explosions on each jump.
  3. Phase 3 (The Roll): While teleporting, display a custom Title or BossBar rapidly cycling through the names of 20 different powers. Play Sound.UI_BUTTON_CLICK with increasing pitch (0.5 to 2.0).
  4. Phase 4 (Impact): At exactly 30 seconds, drop the player at their original spawn point. Spawn a non-lethal Particle.EXPLOSION_EMITTER and grant them 1 random Power Item based on weighted drop chances (Common 60%, Rare 30%, Godly 10%).

MODULE 2: LIFESTEAL & THE 24-HOUR THEFT ECONOMY * Base Lives: Players start with exactly 5 Lives. * Death Event: On PlayerDeathEvent, subtract 1 life. * Theft Logic: If lives hit 0, the victim enters a "Powerless" state. The plugin must scan their inventory, remove the PDC-tagged Power Item, and physically transfer it to the Killer's inventory. The killer can now use both their original power and the stolen one. * The 24h Auto-Return: Store System.currentTimeMillis() + 86400000 (24 hours) in the database. Create an async task that checks this timer every minute. Once expired, silently remove the stolen power from the thief's data/inventory (even if offline) and restore it to the original owner's inventory/data.

MODULE 3: THE 20 POWERS MATRIX Generate the logic for exactly 20 distinct powers. Each must have 1 Passive Ability (always active) and 1 Active Ability (triggered by Right-Clicking the specific item). Cooldowns must be managed via HashMaps. * Categories: 10 Common, 5 Rare, 5 Godly.

Examples to code: * Inferno (Common - Blaze Powder): * Passive: Fire Resistance. * Active: Shoots a volley of 5 fireballs. * Phantom (Rare - Ghast Tear): * Passive: No Fall Damage. * Active: Ghost Walk (Phases through walls for 5s using GameMode.SPECTATOR trick). * Gravity (Godly - Echo Shard): * Passive: Slow Falling. * Active: Zero-G (Applies levitation to all entities within 10 blocks).

Sentient Items: Use a random scheduler to occasionally send ActionBar messages to the player from the item's perspective (e.g., the Wither Skull power whispers: "I hunger for souls...").

MODULE 4: LEVELING, UPGRADES & PROCEDURAL AURAS * XP System: Kills grant XP (Players = 100, Mobs = 5). * Upgrades: Max Level is 10. Every level decreases the Active ability cooldown by 5% and increases particle density. * Math-Based Auras: Use Sine and Cosine (Math.sin(), Math.cos()) inside a repeating task to render geometric particle shapes (spirals, orbiting rings, spheres) around the player based on their specific power. * Level 10 Domain Expansion: At max level, when a player activates their ability, use Block Change Packets (player.sendBlockChange) to temporarily alter the visual appearance of the floor within a 5-block radius (e.g., Inferno turns Grass to Magma visually for 5 seconds).

MODULE 5: ADVANCED ECO-SYSTEM MECHANICS * Karma System: If a player with a Godly power kills 3 players who have less than 2 hours of total playtime (spawn killing), trigger "Corruption." Turn the item name dark red, double their cooldowns, and halve their passive buffs. * Combo Synergy: Run a proximity check. If two allied players with compatible powers (e.g., Gravity + Inferno) right-click their abilities within 5 blocks of each other, cancel the default active and trigger a massive "Meteor Shower" combo event at their location. * Echo of the Past: When a player loses their last life, spawn a temporary fake NPC (using Packets/ProtocolLib or basic ArmorStands) at the death coordinates. If a player clicks it, spawn a 3-second particle hologram recreating the death. * Doomsday Event: If the server detects 5 different "Godly" power holders within a 50x50 block radius, change the biome sky color (via packets) to red, display a server-wide BossBar ("DOOMSDAY CLASH"), and grant everyone in that radius Strength II until only one remains.

MODULE 6: NEURAL COMMAND SUITE Implement a sleek command structure under /zenith or /z: * /z what-is-this - Displays a clean text INVENTORY GUI explaining the held power's lore, level, and stats. * /z who-has-mine - If powerless, gives the player a cardinal direction (N, S, E, W) pointing toward the thief. * /z admin give <player> <power> - Admin override. * /z admin setlife <player> <amount> - Admin override.

Kodari AI
KodariMay 10 at 3:23 am 48,188 (v2)
DeadlyZenith
A premium Minecraft RPG plugin featuring 20 unique powers with passive/active abilities, a cinematic awakening ritual, lifesteal mechanics with 24-hour theft economy, and a deep progression system. Players gain powers through a dramatic ritual, level them up via kills, and compete in a living ecosystem with karma, combo synergies, doomsday events, and procedural particle auras. All powered by async SQLite/MySQL data handling and PDC-bound items.

I’ll architect this carefully before writing any code. Here’s my dependency plan:

Class dependency order:

  1. DeadlyZenith (main) → depends on all managers

  2. DatabaseManager → standalone

  3. PlayerData → standalone data class

  4. PowerType / PowerRarity → enums, standalone

  5. PowerRegistry → depends on PowerType

  6. ItemBuilder → utility, standalone

  7. PowerItemManager → depends on PowerRegistry, ItemBuilder, DatabaseManager

  8. AwakeningRitual → depends on PowerItemManager, DatabaseManager

  9. LifestealManager → depends on DatabaseManager, PowerItemManager

  10. PowerListener → depends on all managers

  11. AuraManager → depends on DatabaseManager, PowerRegistry

  12. KarmaManager → depends on DatabaseManager

  13. ComboManager → depends on PowerItemManager

  14. DoomsdayManager → depends on DatabaseManager

  15. ZenithCommand → depends on all managers

  16. GUI framework classes

  17. PowerInfoGUI → depends on GUI framework, PowerRegistry

Let’s build it:

The plugin is fully built. Here’s a summary of what was created:

Core Architecture:

  • DeadlyZenith — main plugin class wiring all managers together

  • DatabaseManager — async HikariCP-backed SQLite/MySQL with full schema

  • PlayerData — Lombok data class tracking UUID, PowerID, Lives, Level, XP, Kills, StolenPowerExpiry, Corruption

20 Powers (10 Common / 5 Rare / 5 Godly): Each defined in PowerType enum with material, rarity, descriptions, sentient whisper message, and base cooldown. PowerAbilityManager implements all 20 active abilities and all passive effects.

All 6 Modules implemented:

  • Awakening Ritual — 30s BukkitRunnable with dimension teleports, cycling BossBar, increasing-pitch sounds, weighted power roll

  • Lifesteal — Death → life subtraction → power theft → 24h async expiry task with offline restoration

  • Power Matrix — All 20 powers with passives (applied every 40 ticks) and actives with level-scaled cooldowns

  • Leveling/Auras — XP from kills, level-up events, math-based sin/cos particle auras (ring/spiral/sphere per rarity), Domain Expansion via sendBlockChange

  • Ecosystem — Karma corruption system, combo synergy (Meteor Shower), Doomsday detection with server-wide BossBar

  • Commands — /z what-is-this (GUI), /z who-has-mine (cardinal direction), /z admin give/setlife

Item Guard — Cancels drop, block place, inventory click/drag into any external container for all PDC-tagged items.

O

The compilation failed with this error:

code
Compilation failed with 1 error(s):

ERROR in src/main/java/com/deadlyx/zenith/listener/PowerListener.java at line 16: cannot find symbol
import org.bukkit.event.entity.EntityKillPlayerEvent;
                              ^
  symbol: class EntityKillPlayerEvent
  location: package org.bukkit.event.entity


=== COMPILATION ERROR ANALYSIS ===

MISSING CLASSES:
  - EntityKillPlayerEvent
ACTION: Create these classes or check imports

FILES TO INVESTIGATE:
  - src/main/java/com/deadlyx/zenith/listener/PowerListener.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariMay 10 at 3:24 am 1,307 (v2)

EntityKillPlayerEvent doesn’t exist in Bukkit’s API. The import is unused — the actual kill handling is done via PlayerDeathEvent. I just need to remove the bad import.

Removed the non-existent EntityKillPlayerEvent import — the kill logic was already handled by PlayerDeathEvent and EntityDamageByEntityEvent, so no functional change was needed.

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

import com.deadlyx.zenith.command.ZenithCommand;
import com.deadlyx.zenith.database.DatabaseManager;
import com.deadlyx.zenith.inventory.gui.GUIListener;
import com.deadlyx.zenith.inventory.gui.GUIManager;
import com.deadlyx.zenith.listener.PowerListener;
import com.deadlyx.zenith.listener.PlayerJoinListener;
import com.deadlyx.zenith.listener.ItemGuardListener;
import com.deadlyx.zenith.manager.*;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class DeadlyZenith extends JavaPlugin {

    private static DeadlyZenith instance;

    private DatabaseManager databaseManager;
    private PowerItemManager powerItemManager;
    private AwakeningRitual awakeningRitual;
    private LifestealManager lifestealManager;
    private AuraManager auraManager;
    private KarmaManager karmaManager;
    private ComboManager comboManager;
    private DoomsdayManager doomsdayManager;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();

        printBanner();

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

        this.powerItemManager = new PowerItemManager(this);
        this.awakeningRitual = new AwakeningRitual(this);
        this.lifestealManager = new LifestealManager(this);
        this.auraManager = new AuraManager(this);
        this.karmaManager = new KarmaManager(this);
        this.comboManager = new ComboManager(this);
        this.doomsdayManager = new DoomsdayManager(this);
        this.guiManager = new GUIManager();

        GUIListener guiListener = new GUIListener(guiManager);
        Bukkit.getPluginManager().registerEvents(guiListener, this);
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PowerListener(this), this);
        Bukkit.getPluginManager().registerEvents(new ItemGuardListener(this), this);

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

        auraManager.startAuraTask();
        lifestealManager.startExpiryTask();
        doomsdayManager.startDoomsdayCheck();

        getLogger().info("DEADLY: ZENITH has been enabled! Developed by DEADLY_XPLAYZ");
    }

    @Override
    public void onDisable() {
        if (databaseManager != null) {
            databaseManager.shutdown();
        }
        if (auraManager != null) {
            auraManager.stopAuraTask();
        }
        if (doomsdayManager != null) {
            doomsdayManager.stopDoomsdayCheck();
        }
        getLogger().info("DEADLY: ZENITH has been disabled.");
    }

    private void printBanner() {
        getLogger().info("§5╔══════════════════════════════════════╗");
        getLogger().info("§5║   §dDEADLY: ZENITH §5- Premium RPG Powers  ║");
        getLogger().info("§5║        §7Developed by §bDEADLY_XPLAYZ       §5║");
        getLogger().info("§5║              §7Version §a1.0.0               §5║");
        getLogger().info("§5╚══════════════════════════════════════╝");
    }

    public static DeadlyZenith getInstance() {
        return instance;
    }

    public DatabaseManager getDatabaseManager() {
        return databaseManager;
    }

    public PowerItemManager getPowerItemManager() {
        return powerItemManager;
    }

    public AwakeningRitual getAwakeningRitual() {
        return awakeningRitual;
    }

    public LifestealManager getLifestealManager() {
        return lifestealManager;
    }

    public AuraManager getAuraManager() {
        return auraManager;
    }

    public KarmaManager getKarmaManager() {
        return karmaManager;
    }

    public ComboManager getComboManager() {
        return comboManager;
    }

    public DoomsdayManager getDoomsdayManager() {
        return doomsdayManager;
    }

    public GUIManager getGuiManager() {
        return guiManager;
    }
}