froxypie_

KODARI AI – ULTIMATE PLUGIN PROMPT Plugin Name: ChaosCopperSMP Target Create a Minecraft Paper/Purpur plugin for version 1.21+

1️⃣ CORE IDEA

Add multiple custom copper ingots

Crafting ANY custom copper automatically starts a global chaos ritual

Ritual lasts exactly 20 minutes

No bosses

No conditions

No altars

Only crafting triggers rituals

2️⃣ CUSTOM ITEMS (BASED ON COPPER INGOT) All custom items must:

Be COPPER_INGOT

Use CustomModelData

Have custom name + lore

Glow effect (fake enchant)

Be identifiable via NBT

Be unstackable

Copper Types NameCustomModelDataRaw Chaos Copper1001Charged Copper1002Corrupt Copper1003Molten Copper1004Pure Chaos Copper1005

3️⃣ CRAFTING RECIPES ❌ DO NOT use any custom copper inside recipes ✅ ONLY vanilla items allowed Raw Chaos Copper Shape:

CCC CDC CCC

C = Copper Ingot

D = Diamond

Charged Copper RLR LRL RLR

R = Redstone Block

L = Lightning Rod

Corrupt Copper RSR SNS RSR

R = Rotten Flesh

S = Slime Ball

N = Nether Wart

Molten Copper BLB LCL BLB

B = Blaze Rod

L = Lava Bucket (consumed)

C = Copper Ingot

Pure Chaos Copper (Endgame) NEN ECE NEN

N = Netherite Scrap

E = End Crystal

C = Copper Ingot

4️⃣ RITUAL SYSTEM Ritual Start

Ritual starts immediately when any custom copper is crafted

If a ritual is already running, block new rituals

Ritual Duration

20 minutes (1200 seconds) fixed

5️⃣ GLOBAL RITUAL EFFECTS (ACTIVE DURING RITUAL)

Force PvP ON

Disable sleeping

Enable friendly fire

Prevent server reload abuse

Show global BossBar

Broadcast ritual start message

6️⃣ BOSSBAR

Title: ⚡ CHAOS COPPER RITUAL ⚡

Visible to all players

Progress decreases over time

Shows remaining time (MM:SS)

Color changes every 5 minutes

7️⃣ CHAOS EVENTS SYSTEM

Trigger random chaos event every 30–60 seconds

Choose randomly from enabled events

Events must be configurable and lag-safe

Example Events

Lightning strikes near players

Temporary gravity flip

Inventory shuffle

Random potion effects

Kodari AI
KodariJan 19 at 4:51 pm 13,186 (v2)

I’ll create a comprehensive chaos copper ritual plugin with custom items, global rituals, and random events.

ChaosCopperSMP
A chaos-inducing SMP plugin where crafting custom copper items triggers global 20-minute rituals. Features five unique copper types with custom models, forced PvP, sleep blocking, and random chaos events like lightning strikes, gravity flips, and inventory shuffling. Includes dynamic BossBar tracking and configurable event system.

ChaosCopperSMP plugin complete!

✅ 5 custom copper types with CustomModelData (1001-1005)
✅ Vanilla-only crafting recipes (no custom items in recipes)
✅ Global 20-minute rituals triggered by crafting
✅ 8 chaos events (lightning, gravity flip, inventory shuffle, potions, explosions, mobs, blindness, teleport swap)
✅ Dynamic BossBar with time tracking and color stages
✅ Forced PvP & sleep blocking during rituals
✅ Configurable event weights and intervals
✅ Admin commands (/cc give, startritual, stopritual, reload)
✅ Glow effect on all copper items
✅ Unstackable items with persistent NBT data

All items use XSeries for cross-version compatibility. Events fire every 30-60 seconds during rituals. BossBar updates every second with remaining time.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
23 1,054
src/main/java/com/chaoscopper/ChaosCopperSMP.java
package com.chaoscopper;

import com.chaoscopper.command.ChaosCopperCommand;
import com.chaoscopper.item.CopperItemManager;
import com.chaoscopper.listener.CraftListener;
import com.chaoscopper.listener.RitualProtectionListener;
import com.chaoscopper.recipe.RecipeManager;
import com.chaoscopper.ritual.RitualManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ChaosCopperSMP extends JavaPlugin {
    private CopperItemManager copperItemManager;
    private RecipeManager recipeManager;
    private RitualManager ritualManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.copperItemManager = new CopperItemManager(this);
        this.recipeManager = new RecipeManager(this);
        this.ritualManager = new RitualManager(this);
        
        this.recipeManager.registerRecipes();
        
        Bukkit.getPluginManager().registerEvents(new CraftListener(this), this);
        Bukkit.getPluginManager().registerEvents(new RitualProtectionListener(this), this);
        
        getCommand("chaoscopper").setExecutor(new ChaosCopperCommand(this));
        
        getLogger().info("ChaosCopperSMP enabled!");
    }

    @Override
    public void onDisable() {
        if (this.ritualManager != null && this.ritualManager.isRitualActive()) {
            this.ritualManager.endRitual(true);
        }
        
        this.recipeManager.unregisterRecipes();
        
        getLogger().info("ChaosCopperSMP disabled!");
    }
}