Bemmbu Xdd
📎 1 file 8,410 chars
📄
pasted-code-1789819810507.txt
txt 139 lines
▶
ROLE AND SYSTEM INSTRUCTIONS
You are an elite, senior Java developer specializing in the Minecraft Paper API (1.21.11), NMS (Nether Minecraft Server) entity manipulation, and advanced volumetric particle mathematics.

Your task is to build a massive, highly complex custom plugin called "Shadow Monarch (Solo Leveling) - Unthrottled VFX Edition".

🚨 MANDATORY VFX DIRECTIVE: MAXIMUM PARTICLE DENSITY
DO NOT OPTIMIZE OR THROTTLE PARTICLES. Maximize particle counts, volumetric particle geometry (3D spheres, wings, rings, vectors), continuous high-frequency runnables (every tick), and multi-layered particle combinations.

Prioritize cinematic spectacle over server performance.

PROCESSING PHASES (DO NOT WRITE THE WHOLE PLUGIN AT ONCE)
Phase 1: Read this entire document. Generate the complete file/folder structure. Provide a list of all necessary Java classes (separating AI, VFX Engine, Listeners, and Data Storage). Then, write the ShadowMonarch.java main class, the ShadowManager.java interface, and the multi-file configuration generator to automatically create all separate .yml files on startup.

Phase 2: Wait for my prompt. I will feed you individual features (e.g., "Code the Igris class with maximum VFX") one by one to avoid output limits.

MASTER DESIGN DOCUMENT
1. Core Architecture, Engine & Authentication
Target Engine: Paper 1.21.11.

Exclusive Access: The job, commands, and listeners are exclusively locked to IGN: BemmbuXD.

Trigger System: Use Paper's AsyncChatEvent listener instead of slash commands.

First Join Initialization: When BemmbuXD first joins, pre-load all Elite Shadows (Igris, Beru, Bellion, Iron, Tank, Greed, Tusk, Kaisel) into Shadow Storage.

The 200,000 MP System: Persistent action bar tracking a strict 200,000 MP pool that drains on skill use and extraction, and passively regenerates.

2. Shadow AI, Auto-Aggro & Block Demolition
Auto-Aggro: If BemmbuXD damages or is damaged by an entity, all active shadows immediately swarm the target.

Summon/Recall VFX: Massive explosions of DRAGON_BREATH, SOUL_FIRE_FLAME, SQUID_INK, and DUST particles. Sky-high void pillars on global summons ("Come out").

Targeted Assassination: [Shadow Name] kill [Target] connects shadow and target with a solid crimson particle laser beam.

Targeted Demolition: Looking at a structure and typing [Shadow Name] destroy that base. The plugin runs a 100-block raytrace from the crosshair. The shadow pathfinds to the block and permanently destroys blocks, turning them into FallingBlock explosive projectiles. (e.g., Igris cleaves a 5x5 square; Beru bores a 3x3 tunnel; Bellion creates a 15x15 sphere crater; Iron/Tank shatter the floor).

3. Elite Shadows: Rank Damage Engine & Max VFX
Shadows use 1.21.11 display entities/armor stands/modified mobs. Damage Engine: Final Damage = (Base Damage) * (Rank Multiplier).

Igris [Rank: Marshal | 7.0x Multiplier]:
VFX: Wither Skeleton, red leather armor, flowing particle cape.
Melee: Blood-Red Greatsword (Base 15) -> 105 Final Damage.
Skills: Blood Slash (35 Base AOE), Ruler's Hand (10 Base DPS), Lightning Dash (40 Base), Dominator's Flurry.

Beru [Rank: Marshal | 7.0x Multiplier]:
VFX: Pitch-black Enderman, swirling volumetric aura.
Melee: Shadow Claws (Base 12).
Skills: Venomous Strike (Base 20 + Poison IV), Healing Saliva (100% HP restore), Sonic Flight (Base 50 AOE).

Bellion [Rank: Grand Marshal | 10.0x Multiplier]:
VFX: Warden/Enderman with four massive 3D vector particle wings.
Melee: Centipede Sword (Base 20).
Skills: Centipede Whip (Base 60 True Damage), Ashborn's Will (Base 30 AOE), Heavenly Descent (Base 80 Epicenter).

Iron [Rank: Elite Knight | 2.5x Multiplier]:
Melee: Giant Battleaxe (Base 18).
Skills: Taunt, Shield Bash (Base 25 + Stun), Seismic Leap (Base 35 AOE).

Tank [Rank: Elite Knight | 2.5x Multiplier]:
Melee: Claws/Jaws (Base 14).
Skills: Earth Shatter (Base 30), Savage Bite (Base 25).

Greed [Rank: Commander | 4.0x Multiplier]:
Melee: Arcane Magic (Base 16).
Skills: Flame Pillar (Base 15/tick), Mana Explosion (Base 45 AOE).

Tusk [Rank: Commander | 4.0x Multiplier]:
Melee: Shaman Staff (Base 16).
Skills: Hymn of the Fire Dragon (Base 25/tick).

Kaisel [Rank: Elite Knight | 2.5x Multiplier]:
Mechanics: NMS Vehicle Controller (WASD flight). Base 20 melee. Dive Bomb skill (Base 60 Epicenter).

4. Extraction & Shadow Conversion ("Arise")
Mechanic: Mobs/Players dying leave a 30s soul pool (500+ particles). Typing "Arise" extracts them, draining MP.

PvP Extraction: Killed players can be extracted. They keep their exact skin and weapons but gain a dense SQUID_INK and red DUST aura.

VFX: Non-humanoid extracted shadows get enveloped in a continuous volumetric particle mesh that calculates their exact bounding box every tick.

5. The System (Dimensional Space Inventory)
Syntax: "Open Inventory". Opens a 54-slot virtual GUI. SFX: Ender Chest open/close.

Armory: Pre-loaded weapons with built-in VFX (Knight Killer, Demon King's Longsword, Kamish's Wrath, Quicksilver, Vital Strike).

6. Domain of the Monarch & Dimensional Movement
Domain of the Monarch: Turns skybox black via packets. 50-block expanding dome of purple particles. Floor turns to obsidian/coal temporarily. +50% stats to shadows.

Shadow Infestation & Exchange (Raytracing):
Looking directly at any mob/player and typing "Put shadow exchange" commands a shadow to sink into the ground and attach to that target (acting as a tracking particle beacon).
Typing Exchange [Shadow Name] instantly teleports BemmbuXD to that infested entity, bursting the shadow out of them in a massive SQUID_INK shockwave.

7. Advanced Monarch Mechanics
Immortal Army: Dead shadows auto-revive after 5s, actively draining the 200,000 MP pool.

Shadow Sensory: Shadow senses [Name] shifts camera to the shadow via Spectator mode.

Bloodlust: Paralyzes entities within 20 blocks (Slowness 255, Blindness).

8. The Monarch's Personal Abilities
Ruler's Authority: Pull/push entities. Aiming at the ground rips a 3x3 chunk of blocks out as FallingBlock entities wrapped in an anti-gravity field to be fired as artillery.

Shadow Armor: Fuses BemmbuXD inside a 10-block tall translucent black skeletal warrior avatar.

9. Polish & Data Persistence
Beru Voice Lines: MiniMessage chat logs sent directly to BemmbuXD on low HP or kills.

YML Saving: Save all inventories, active extractions, MP values, and loadouts into monarch_data.yml.

10. Shadow Evolution & Rank Progression
Mechanic: Shadows gain XP for kills.

Ranks & Multipliers: Infant (1.0x), Knight (1.5x), Elite Knight (2.5x), Commander (4.0x), Marshal (7.0x), Grand Marshal (10.0x).

Evolution VFX: Rank-ups freeze the shadow, play a Wither death sound, and explode with particles. Armor trims and particle density upgrade dynamically.

11. Multi-File Configuration Engine (Full Customization Architecture)
The plugin must generate and read from 5 separate .yml files inside `plugins/ShadowMonarch/` on startup so every statistic, multiplier, weapon, and dialogue line can be configured freely without changing source code:

1. `config.yml` (Core Settings & Mana System):
   - Owner-IGN: "BemmbuXD"
   - Max-MP: 200000
   - MP-Regen-Per-Second: 500
   - Action costs for Arise (Normal/Player), Shadow Exchange, Revive, Domain of the Monarch.

2. `ranks.yml` (Rank Hierarchy & Multipliers):
   - Defines required XP, damage multipliers, and particle density modifiers for: Infant (1.0x), Knight (1.5x), Elite_Knight (2.5x), Commander (4.0x), Marshal (7.0x), and Grand_Marshal (10.0x).

3. `elites.yml` (Elite Shadows Customization):
   - Full configuration blocks for Igris, Beru, Bellion, Iron, Tank, Greed, Tusk, and Kaisel.
   - Allows changing base health, weapon base damage, and active skill damage values individually.

4. `armory.yml` (Space Inventory & Custom Weapons):
   - Exposes pre-loaded armory items (Knight Killer, Kamish's Wrath, Demon King's Longsword, etc.), base stats, custom lore, materials, and special weapon effects.

5. `dialogues.yml` (Beru's Dynamic Voice System & Messages):
   - Stores custom chat triggers, prefixes, low-HP warning lines, kill messages, and summon responses.

Live Reload: Include a chat command "System reload" to instantly re-parse all 5 config files and update active shadow stats live in-game.
Kodari AI
KodariSep 20 at 2:56 am 1
ShadowMonarchVFX
Exclusive Shadow Monarch plugin for IGN BemmbuXD on Paper 1.21.11. Features an unthrottled volumetric particle VFX engine with 3D spheres, wings, and continuous per-tick particle emission. Eight elite shadows (Igris, Beru, Bellion, Iron, Tank, Greed, Tusk, Kaisel) with rank-based damage multipliers up to 10x, auto-aggro AI, targeted assassination lasers, and block demolition raytracing. Includes a 200,000 MP persistent action bar system, chat-triggered extraction via AsyncChatEvent, dimensional 54-slot armory inventory, Domain of the Monarch skybox dome, shadow exchange teleportation, and spectator sensory mode. Multi-file YAML configuration engine auto-generates five configurable files for stats, ranks, elites, armory, and dialogues with live reload.
  1. Establish the Gradle/Paper 1.21.11 project descriptor and plugin metadata.

  2. Add the ShadowMonarch bootstrap with owner-only chat dispatch and first-join hooks.

  3. Add the ShadowManager contract for future AI, VFX, extraction, and ability modules.

  4. Add a configuration generator that creates and loads all five YAML files with editable defaults.

Created the Phase 1 project foundation:

  • Gradle project targeting Paper 1.21.11 / Java 21.

  • plugin.yml with ShadowMonarch metadata.

  • ShadowMonarch main class with:

    • Owner-only AsyncChatEvent handling.

    • First-join initialization hook.

    • Configuration reload support.

    • Lifecycle management.

  • ShadowManager interface for future shadow AI, VFX, mana, and ability systems.

  • MultiFileConfigGenerator creating and loading:

    • config.yml

    • ranks.yml

    • elites.yml

    • armory.yml

    • dialogues.yml

The project is ready for the next feature phase.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
6 319
src/main/java/com/bembbuxd/shadowmonarch/ShadowMonarch.java
package com.bembbuxd.shadowmonarch;

import java.util.Locale;

import com.bembbuxd.shadowmonarch.config.MultiFileConfigGenerator;

import net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer;

import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.java.JavaPlugin;

import io.papermc.paper.event.player.AsyncChatEvent;

public final class ShadowMonarch extends JavaPlugin implements Listener {

    private MultiFileConfigGenerator configurationGenerator;
    private ShadowManager shadowManager;
    private String ownerName;

    @Override
    public void onEnable() {
        configurationGenerator = new MultiFileConfigGenerator(this);
        configurationGenerator.createAndLoad();
        ownerName = configurationGenerator.get(MultiFileConfigGenerator.CORE)
                .getString("owner-ign", "BemmbuXD");

        getServer().getPluginManager().registerEvents(this, this);
        getLogger().info("Shadow Monarch configuration loaded for owner " + ownerName + ".");
    }

    @Override
    public void onDisable() {
        if (shadowManager != null) {
            shadowManager.shutdown();
        }
    }

    @EventHandler
    public void onOwnerJoin(PlayerJoinEvent event) {
        Player player = event.getPlayer();
        if (!isOwner(player) || player.hasPlayedBefore() || shadowManager == null) {
            return;
        }
        shadowManager.initializeOwner(player.getUniqueId());
    }

    @EventHandler
    public void onOwnerChat(AsyncChatEvent event) {
        Player player = event.getPlayer();
        if (!isOwner(player) || shadowManager == null) {
            return;
        }

        String message = PlainTextComponentSerializer.plainText().serialize(event.message()).trim();
        if (!message.isEmpty()) {
            shadowManager.handleChat(player, message);
        }
    }

    public void reloadShadowConfiguration() {
        configurationGenerator.reloadAll();
        ownerName = configurationGenerator.get(MultiFileConfigGenerator.CORE)
                .getString("owner-ign", "BemmbuXD");
        if (shadowManager != null) {
            shadowManager.reloadConfiguration();
        }
    }

    public MultiFileConfigGenerator getConfigurationGenerator() {
        return configurationGenerator;
    }

    public ShadowManager getShadowManager() {
        return shadowManager;
    }

    public void setShadowManager(ShadowManager shadowManager) {
        this.shadowManager = shadowManager;
    }

    public boolean isOwner(Player player) {
        return player.getName().toLowerCase(Locale.ROOT).equals(ownerName.toLowerCase(Locale.ROOT));
    }
}