betterplayzop
📎 1 file 2,810 chars
📄
pasted-code-1778500238812.txt
txt 200 lines
▶
Here are **both prompts combined into one clean, copy-ready prompt**:

---

# MIRACLEBOUND SMP – FULL MIRACLE SYSTEM (PLUGIN PROMPT)

Create a Minecraft Paper/Spigot 1.21 plugin called **“Miraclebound SMP”**.

## CORE SYSTEM

Add 10 craftable magical items called **Miracles**.

Each Miracle has:

* Passive ability
* Active ability
* Ultimate ability
* PvP-balanced effects
* Cooldowns (60–180 seconds)
* Particles and sound effects
* Only 1 Miracle per player

---

## CRAFTING SYSTEM

* Each Miracle is crafted using a custom recipe
* Crafting is not instant
* Each craft takes **15 minutes**
* Progress is shown using a BossBar
* Crafting can pause/reset based on config (death/leave)

---

## ARMOR TRIM SYSTEM

* Silence Armor Trim → magic / dark / void Miracles
* Rib Armor Trim → movement / dimension Miracles

---

## COMMANDS

* /miracles → open INVENTORY GUI
* /miracle give  
* /miracle remove 
* /miracle reload

---

## DATABASE SUPPORT

* SQLite (default)
* MySQL (optional)
* Stores:

  * Miracle ownership
  * cooldowns
  * crafting progress

---

## DEATH SYSTEM

* Drop-on-death configurable OR
* Bind Miracle to player

---

## GLOBAL EVENTS

Broadcast:

* crafting started
* crafting completed
* first craft announcement

---

# MIRACLE CRAFTING RECIPES

## Mirage Miracle

```txt
N A N
A S A
N D N
```

## Gravity Miracle

```txt
N E N
E H E
N E N
```

## Chrono Miracle

```txt
G C G
C N C
G C G
```

## Abyss Miracle

```txt
O E O
E H E
O T O
```

## Echo Miracle

```txt
S E S
E C E
S N S
```

## Soulforge Miracle

```txt
S T S
T N T
S T S
```

## Rift Miracle

```txt
E C E
C R C
E C E
```

## Bloom Miracle

```txt
M G M
G N G
M G M
```

## Inferno Miracle

```txt
M B M
B N B
M B M
```

## Memory Miracle

```txt
T B T
B S B
T S T
```

---

## MATERIAL KEY

* N = Netherite Ingot / Block (as specified)
* A = Amethyst Block
* S = Silence Armor Trim / Sculk-related items
* D = Creeper Head
* E = End Crystal / Echo Shard
* B = Beacon / Blaze Powder 
* G = Gold Block
* C = Clock / Compass / Chorus
* O = Crying Obsidian
* T = Totem  / Soul Soil / wind charge (context based)
* R = Rib Armor Trim
* M = Zombie Head 2x
* H = Heart of the Sea

---

## GOAL

Build a legendary SMP artifact system designed for:

* PvP wars
* betrayal gameplay
* rare grinding progression
* YouTube SMP storytelling
* mystery crafting with BossBar “leaked code” effects

---

If you want next, I can turn this into:

* full Java plugin source code
* Skript version (no coding)
* or boss system that drops crafting materials
* or progression tier system (Common → Mythic → Godly)
Kodari AI
KodariMay 11 at 11:55 am 25,101 (v2)

I’ll create a legendary SMP artifact plugin with crafting progression, GUI system, and balanced PvP abilities.

MiracleboundSMP
A legendary artifact system featuring 10 craftable Miracles with passive, active, and ultimate abilities. Each Miracle requires a 15-minute crafting process with BossBar progress tracking. Designed for PvP-focused SMPs with player exclusivity (one Miracle per player), armor trim integration, database persistence, and balanced cooldowns for competitive gameplay.

MiracleboundSMP plugin created successfully!

✅ Core Systems:

  • 10 Miracles with unique recipes (Mirage, Gravity, Chrono, Abyss, Echo, Soulforge, Rift, Bloom, Inferno, Memory)

  • 15-minute crafting system with BossBar progress tracking

  • Database persistence (SQLite default, MySQL optional)

  • One Miracle per player enforcement

  • Cooldown system (60s active, 180s ultimate)

✅ Features:

  • /miracles - Opens GUI catalog

  • /miracle give/remove/reload - Admin commands

  • Crafting progress auto-saves and resumes on rejoin

  • Configurable death/leave behavior

  • Global event broadcasts

  • Drop-on-death or bind-to-player modes

✅ Technical:

  • XSeries for cross-version compatibility

  • MiniMessage for modern color formatting

  • Inventory GUI framework with lazy initialization

  • Async database operations with CompletableFuture

  • HikariCP connection pooling for MySQL

Place items in a crafting table matching any Miracle recipe to start the 15-minute crafting process. Track progress via BossBar!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
26 2,084
src/main/java/com/miraclebound/MiracleboundSMP.java
package com.miraclebound;

import com.miraclebound.commands.MiracleCommand;
import com.miraclebound.config.ConfigManager;
import com.miraclebound.crafting.CraftingManager;
import com.miraclebound.database.Database;
import com.miraclebound.database.MySQLDatabase;
import com.miraclebound.database.SQLiteDatabase;
import com.miraclebound.inventory.gui.GUIListener;
import com.miraclebound.inventory.gui.GUIManager;
import com.miraclebound.listener.CraftingListener;
import com.miraclebound.listener.DeathListener;
import com.miraclebound.listener.InteractListener;
import com.miraclebound.miracle.MiracleManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class MiracleboundSMP extends JavaPlugin {
    private ConfigManager configManager;
    private Database database;
    private MiracleManager miracleManager;
    private CraftingManager craftingManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        configManager = new ConfigManager(this);
        
        initializeDatabase();
        
        miracleManager = new MiracleManager(this, database);
        craftingManager = new CraftingManager(this);
        guiManager = new GUIManager();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("MiracleboundSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        craftingManager.shutdown();
        database.close();
        
        getLogger().info("MiracleboundSMP has been disabled!");
    }
    
    private void initializeDatabase() {
        String dbType = configManager.getDatabaseType();
        
        if (dbType.equals("MYSQL")) {
            database = new MySQLDatabase(
                this,
                configManager.getMySQLHost(),
                configManager.getMySQLPort(),
                configManager.getMySQLDatabase(),
                configManager.getMySQLUsername(),
                configManager.getMySQLPassword()
            );
        } else {
            database = new SQLiteDatabase(this);
        }
        
        database.initialize();
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new InteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CraftingListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void registerCommands() {
        MiracleCommand miracleCommand = new MiracleCommand(this);
        getCommand("miracles").setExecutor(miracleCommand);
        getCommand("miracle").setExecutor(miracleCommand);
        getCommand("miracle").setTabCompleter(miracleCommand);
    }
    
    public ConfigManager getConfigManager() {
        return configManager;
    }
    
    public Database getDatabase() {
        return database;
    }
    
    public MiracleManager getMiracleManager() {
        return miracleManager;
    }
    
    public CraftingManager getCraftingManager() {
        return craftingManager;
    }
    
    public GUIManager getGuiManager() {
        return guiManager;
    }
}