realnot_yahya
📎 1 file 4,405 chars
📄
pasted-code-1774275036274.txt
txt 115 lines
▶
Perfect! Tumhare liye main **recipe difficulty ko aur hard kar deta hoon**, taake cube crafting **real challenge** ho, lekin phir bhi craftable ho. Ye version ready-to-use prompt ke liye hai:

---

**PROMPT (Harder Cube Recipes Version):**

Create a **Minecraft Paper / Spigot plugin (Java, latest API)** called **CubeSMP** that adds **10 magical cubes**, each with **unique powers**, **hard crafting recipes**, and a **crafting ritual system**.

---

## 🎨 Cube Powers

| Cube Name      | Power                        |
| -------------- | ---------------------------- |
| Celestial Cube | Shoots fireballs             |
| Flux Cube      | Heal + shield                |
| Earth Cube     | Resistance + wall            |
| Air Cube       | Speed + double jump          |
| Lightning Cube | Lightning strike             |
| Shadow Cube    | Invisibility                 |
| Light Cube     | Regeneration + blind enemies |
| Time Cube      | Slow enemies                 |
| Gravity Cube   | Pull enemies                 |
| Rose Cube      | Give enemies slowness        |

---

## ⚒️ Hard Crafting System

* Each cube has a **unique shaped recipe**
* Recipes now **require multiple rare/uncommon items** and **more slots**, making them harder than before
* Recipes **must not conflict** with vanilla Minecraft

### Suggested Hard Recipes

| Cube           | Ingredients                                                                             |
| -------------- | --------------------------------------------------------------------------------------- |
| Celestial Cube | 2 Blaze Rods + 2 Magma Cream + 2 Redstone + 1 Nether Star + 1 Nether Wart               |
| Flux Cube      | 1 Heart of the Sea + 2 Prismarine Crystals + 2 Gold Ingots + 1 Water Bucket + 1 Diamond |
| Earth Cube     | 4 Iron Ingots + 2 Obsidian + 1 Emerald + 1 Dirt Block + 1 Nether Brick                  |
| Air Cube       | 2 Feathers + 1 Ghast Tear + 2 Sugar + 1 Paper + 1 Elytra Feather (or Phantom Membrane)  |
| Lightning Cube | 2 Gold Ingots + 2 Quartz + 1 Stick + 1 Nether Star + 1 Ender Pearl                      |
| Shadow Cube    | 2 Ender Pearls + 1 Wither Skeleton Skull + 1 Coal + 3 Obsidian                          |
| Light Cube     | 3 Glowstone Dust + 1 Diamond + 2 Gold Blocks + 1 Quartz                                 |
| Time Cube      | 2 Clocks + 1 Nether Star + 2 Ender Pearls + 1 Lapis Lazuli                              |
| Gravity Cube   | 2 Iron Blocks + 2 Slimeballs + 1 Feather + 3 Redstone                                   |
| Rose Cube      | 3 Redstone + 1 Rose + 1 Slimeball + 2 Gold Ingots                                       |

✔ Recipes are **shaped**, spread across multiple slots for extra difficulty
✔ Configurable via `config.yml`

---

## 🔮 Crafting Ritual System

* When a player crafts a cube:

  1. Start a **ritual**
  2. Show **bossbar** displaying:

     * Player’s coordinates
     * Name of the cube being crafted
  3. Ritual lasts **15 minutes**
  4. During ritual:

     * Cube **does not appear immediately**
     * After 15 minutes, the cube **drops near the crafting table**
  5. Optional: Particle effects + sound effects during ritual

---

## ⚙️ Commands

* `/cubesmp start` → SMP countdown system
* `/cubes give  ` → Admin can give any cube by name

  * Validate cube name
  * Show error if cube not found

---

## ⏳ SMP & World Border

* Countdown system (optional) with levitation, particle effects, smooth animation
* Shrink world border smoothly at SMP start (configurable size & duration)

---

## ⚙️ Technical Requirements

* Latest Paper API
* Include `plugin.yml`
* Main class required
* Use **BukkitRunnable / Scheduler** for rituals & delayed drops
* Multiplayer safe & optimized
* Store cube data (names, lore, powers) in memory or config

---

## 📦 Output

* Full Java plugin source code with:

  * Hard shaped recipes
  * Crafting ritual system (15-minute bossbar + delayed drop)
  * Particle & sound effects
  * Cube powers & command system
* Ready to compile and integrate with CubeSMP

---

Agar chaho, main abhi tumhare liye **hard recipes + crafting ritual + 15-minute delayed cube drop ka complete ready Java code** bhi likh doon, jisme ye saari cubes aur powers implement ho 😎🔥

Kya main ye code bana doon?
Kodari AI
KodariMar 23 at 2:13 pm 23,302 (v2)

I’ll create the complete CubeSMP plugin with hard crafting recipes, 15-minute ritual system, and all 10 magical cubes.

CubeSMP
A magical cube system plugin featuring 10 unique cubes with special powers, challenging shaped crafting recipes requiring rare materials, and a 15-minute crafting ritual system. Players must complete a ritual with bossbar tracking and particle effects before receiving their crafted cube. Includes SMP countdown mechanics, world border shrinking, and admin commands for cube management. Each cube provides unique abilities like fireball shooting, healing shields, lightning strikes, and time manipulation.

I’ll now create all the remaining files for the CubeSMP plugin with the hard crafting system, ritual mechanics, and cube powers.

All files created! The CubeSMP plugin is complete with:

  • 10 magical cubes with unique powers (fireball, healing, lightning, invisibility, etc.)

  • Hard crafting recipes requiring rare materials (Nether Stars, Hearts of the Sea, Wither Skulls, etc.)

  • 15-minute ritual system with bossbar showing coordinates and cube name

  • Particle effects and sound effects during rituals and cube usage

  • SMP countdown with levitation effects and smooth animations

  • World border shrinking system

  • Admin commands (/cubes give and /cubesmp start)

  • Configurable cooldowns and ritual durations

The plugin uses XSeries for cross-version compatibility and Lombok for cleaner code.

realnot_yahya

add a new command to give all cube in one time and fix the bugs

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
13 995
src/main/java/com/cubesmp/plugin/CubeSMP.java
package com.cubesmp.plugin;

import com.cubesmp.plugin.commands.CubeCommand;
import com.cubesmp.plugin.commands.CubeSMPCommand;
import com.cubesmp.plugin.cube.CubeManager;
import com.cubesmp.plugin.cube.CubePowerListener;
import com.cubesmp.plugin.crafting.CraftingRitualManager;
import com.cubesmp.plugin.crafting.RecipeManager;
import com.cubesmp.plugin.smp.SMPManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class CubeSMP extends JavaPlugin {
    private CubeManager cubeManager;
    private RecipeManager recipeManager;
    private CraftingRitualManager ritualManager;
    private SMPManager smpManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.cubeManager = new CubeManager(this);
        this.recipeManager = new RecipeManager(this);
        this.ritualManager = new CraftingRitualManager(this);
        this.smpManager = new SMPManager(this);
        
        this.recipeManager.registerAllRecipes();
        
        Bukkit.getPluginManager().registerEvents(new CubePowerListener(this), this);
        
        getCommand("cubes").setExecutor(new CubeCommand(this));
        getCommand("cubesmp").setExecutor(new CubeSMPCommand(this));
        
        getLogger().info("CubeSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.cancelAllRituals();
        }
        getLogger().info("CubeSMP has been disabled!");
    }
}