tanvirisback_

Create a premium-quality Minecraft Crate Plugin (Spigot/Paper 1.20+) inspired by Phoenix Crates / high-end servers with advanced animations, smooth UI, and modern design.

---

🌟 Core Features

  • Multiple crate tiers:

- Phoenix - Legendary - Epic - Rare - Common - Vote

  • Each crate must have:

- Custom 3D-looking key item - Unique color theme & INVENTORY GUI design - Fully configurable rewards with chances

---

🎰 Animation System (IMPORTANT)

  • Smooth spinning reward animation (like Phoenix Crates)
  • Items scroll horizontally in INVENTORY GUI before stopping
  • Adjustable animation speed
  • Fake “near-miss” system for excitement
  • Final reward lands in center slot
  • Optional instant open mode

---

🧱 Crate Placement System

  • Physical crate blocks placed in world
  • Right-click to open
  • Floating hologram above crate:

- Crate name - “Right Click to Open” - Key requirement display

---

🎁 Rewards System

Support:

  • Items (with enchantments, custom names, lore)
  • Commands (rank, perks, etc.)
  • Money (Vault)
  • Keys for other crates
  • Potion effects

Include:

  • Chance system (percentage based)
  • Rare reward broadcast
  • Fireworks for high-tier rewards

---

🧾 Commands

  • /crate give <player> <crate> <amount>
  • /crate key <player> <crate> <amount>
  • /crate open <crate>
  • /crate preview <crate>
  • /crate reload
  • /crate create <name>

---

🔐 Permissions

  • crate.admin
  • crate.use
  • crate.give
  • crate.preview

---

🖥️ INVENTORY GUI Design

  • Clean, modern Phoenix-style INVENTORY GUI
  • Glass pane background
  • Center reward slot
  • Smooth animation row
  • Configurable titles & layouts

---

⚙️ Config System

Files:

  • config.yml
  • crates.yml
  • messages.yml

Must support:

  • Fully customizable rewards
  • Animation speed & duration
  • Sounds & particle effects
  • INVENTORY GUI layout editing

---

🎵 Effects

  • Custom sounds during spin
  • Explosion/firework on win
  • Particle effects around crate

---

🔌 Integrations

  • PlaceholderAPI
  • Vault (economy)
  • HolographicDisplays / DecentHolograms

---

📊 Advanced Features

  • Cooldowns per crate
  • Key-all system
  • Crate opening statistics
  • Optional MySQL/SQLite support
  • Anti-spam / anti-glitch protection

---

💻 Code Requirements

  • Java (Spigot/Paper API)
  • Optimized & lag-free
  • Clean OOP structure
  • Well-commented
  • No errors

---

📦 Output Required

  • Full source code
  • plugin.yml
  • Example configs (Phoenix crate setup included)
  • Build instructions (Maven/Gradle)

---

🎯 Goal

The plugin should feel like a premium Phoenix Crates plugin with smooth animations, satisfying reward system, and professional polish suitable for big Minecraft servers.

Kodari AI
KodariMar 31 at 4:38 pm 26,579 (v2)

I’ll create a premium Phoenix-style crate plugin with smooth animations, GUI system, and modern features.

PhoenixCrates
A premium crate plugin featuring smooth spinning animations, multiple crate tiers (Phoenix, Legendary, Epic, Rare, Common, Vote), physical crate block placement, floating holograms, GUI-based reward system, configurable chances, Vault economy integration, and advanced effects. Includes admin commands, preview system, anti-spam protection, broadcast system for rare rewards, and full customization through YAML configs.

Premium Phoenix Crates plugin created! Features smooth spinning animations, 6 crate tiers (Phoenix/Legendary/Epic/Rare/Common/Vote), GUI-based reward system, physical crate blocks with holograms, configurable rewards with chances, Vault economy support, anti-spam protection, broadcast system for rare rewards, and full admin commands. All configs are ready with example Phoenix crate setup. Build with ./gradlew build and drop the JAR in your plugins folder.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
29 2,046
src/main/java/com/phoenixcrates/PhoenixCrates.java
package com.phoenixcrates;

import com.phoenixcrates.commands.CrateCommand;
import com.phoenixcrates.inventory.gui.GUIListener;
import com.phoenixcrates.inventory.gui.GUIManager;
import com.phoenixcrates.listeners.BlockListener;
import com.phoenixcrates.managers.AnimationManager;
import com.phoenixcrates.managers.BlockManager;
import com.phoenixcrates.managers.ConfigManager;
import com.phoenixcrates.managers.CrateManager;
import com.phoenixcrates.managers.HologramManager;
import com.phoenixcrates.managers.KeyManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class PhoenixCrates extends JavaPlugin {
    
    private ConfigManager configManager;
    private CrateManager crateManager;
    private KeyManager keyManager;
    private AnimationManager animationManager;
    private BlockManager blockManager;
    private HologramManager hologramManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.crateManager = new CrateManager(this);
        this.keyManager = new KeyManager(this);
        this.blockManager = new BlockManager(this);
        this.hologramManager = new HologramManager(this);
        this.guiManager = new GUIManager();
        this.animationManager = new AnimationManager(this);
        
        getCommand("crate").setExecutor(new CrateCommand(this));
        getCommand("crate").setTabCompleter(new CrateCommand(this));
        
        getServer().getPluginManager().registerEvents(new BlockListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
        
        hologramManager.updateAll();
        
        getLogger().info("PhoenixCrates has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (hologramManager != null) {
            hologramManager.removeAll();
        }
        
        if (blockManager != null) {
            blockManager.saveData();
        }
        
        getLogger().info("PhoenixCrates has been disabled!");
    }
}