D

======================== HYPIXEL MYSTERY BOX REFERENCE

The goal of this plugin is to recreate the ORIGINAL Hypixel Mystery Box system from approximately 2017–2023 as closely as possible.

The developer AI must treat Hypixel's implementation as the primary reference.

======================== MYSTERY BOX APPEARANCE

Mystery Boxes are represented by Ender Chests.

Display Names:

★ Mystery Box ★★ Mystery Box ★★★ Mystery Box ★★★★ Mystery Box ★★★★★ Mystery Box

Star count must visually appear in the item name.

Example:

§f✫ Mystery Box §a✫✫ Mystery Box §9✫✫✫ Mystery Box §5✫✫✫✫ Mystery Box §6✫✫✫✫✫ Mystery Box

Lore must include:

  • Star rating
  • Number of rewards
  • Quality information
  • Open instruction
  • Rarity chances

======================== MYSTERY VAULT INVENTORY GUI

INVENTORY GUI Size: 54 slots

Visual Style:

  • Black stained glass pane borders
  • Mystery Boxes displayed in center area
  • Empty slots use decorative panes
  • Page buttons at bottom
  • Next page arrow
  • Previous page arrow
  • Close button

INVENTORY GUI title similar to:

"Your Mystery Boxes"

Boxes display:

  • Star rating
  • Box amount
  • Reward count
  • Preview information

======================== OPEN CONFIRMATION INVENTORY GUI

INVENTORY GUI Size: 27 slots

Layout:

Green Clay/Wool/Button: "Open Mystery Box"

Red Clay/Wool/Button: "Cancel"

Book Item: "Preview Rewards"

======================== OPENING ANIMATION

The opening animation is the most important part.

When player clicks Open:

1.

Screen closes.

2.

Player enters cinematic mode.

3.

Mystery Box appears in center.

4.

Rewards begin rotating around the box.

5.

Rewards continuously change.

6.

Ticking sounds begin slowly.

7.

Animation gradually speeds up.

8.

Rewards rapidly shuffle.

9.

Animation reaches maximum speed.

10.

Animation begins slowing down.

11.

Reward selection slows.

12.

Final reward remains visible.

13.

Large particle burst occurs.

14.

Firework launches.

15.

Reward title appears.

16.

Reward granted.

Total animation length:

Approximately 7–10 seconds.

======================== PARTICLES

Use particles similar to:

  • Enchant
  • Happy Villager
  • End Rod
  • Firework Spark
  • Crit
  • Totem

Legendary rewards should use more particles.

5 Star boxes should use significantly more particles.

Particles must remain optimized.

======================== SOUNDS

Opening:

  • Click sounds
  • Experience orb pickup sounds
  • Note block sounds

Speeding Up:

  • Higher pitch notes
  • Faster tick rate

Reward Reveal:

  • Level up sound
  • Firework blast
  • Anvil use for dramatic impact

Legendary:

  • Extra explosion sound
  • Additional level-up sounds

======================== RARITIES

Common Color: White

Rare Color: Green

Epic Color: Dark Purple

Legendary Color: Gold

======================== REWARD REVEAL

Common:

Chat message only.

Rare:

Chat message Small particle burst.

Epic:

Chat message Title Larger particles.

Legendary:

Chat message Title Action bar Large particle explosion Fireworks Server broadcast.

======================== CHAT MESSAGES

Example format:

"You opened a Mystery Box and found:"

Followed by:

RARITY COLOR + REWARD NAME

Example:

You found:

Legendary Cowboy Hat

Duplicate rewards:

Display duplicate message.

Compensation reward granted.

======================== LEGENDARY BROADCAST

When a player obtains a legendary reward:

Broadcast server-wide message.

Example:

PLAYERNAME found a Legendary reward in a Mystery Box!

======================== 5 STAR BOX DIFFERENCES

5 Star Mystery Boxes must:

  • Have better chances.
  • Have more Epic rewards.
  • Have more Legendary rewards.
  • Have longer opening animation.
  • Have more particles.
  • Have more dramatic sounds.
  • Have bigger reward reveal effects.

======================== VISUAL FEEL

The plugin should feel premium.

Animation must feel smooth.

No teleport spam.

No armor stand spam.

No laggy repeating tasks.

Use Display Entities when possible.

Use packet-based visuals when beneficial.

Prioritize performance while maintaining the Hypixel visual experience.

======================== REFERENCE PRIORITY

If uncertain how a feature should work, replicate the behavior and user experience of the original Hypixel Mystery Box system as closely as technically possible.

Kodari AI
KodariJun 19 at 8:19 am 27

I’ll create a premium mystery box plugin that recreates the original Hypixel Mystery Box experience.

HypixelMysteryBox
A premium mystery box plugin that recreates the original Hypixel Mystery Box system. Features 5-star ranked boxes, cinematic opening animations with particles and sounds, rarity-based rewards (Common to Legendary), interactive GUI system, and dramatic reward reveals with server-wide broadcasts for legendary finds. Optimized performance with smooth animations and visual effects.

Project created! This is a complete recreation of the Hypixel Mystery Box system with:

Core Features:

  • 5-star mystery box system with different rarities

  • Full GUI framework with vault, confirmation, and preview screens

  • Cinematic 8-second opening animation with rotating rewards

  • Particle effects (circles, bursts) scaled by rarity

  • Sound progression (ticking speeds up then slows down)

  • Rarity-based reveals (Common → Legendary with increasing effects)

  • Server-wide broadcasts for Legendary rewards

  • Firework effects for epic/legendary drops

Commands:

  • /mb - Open mystery box vault

  • /mb give <player> <stars> <amount> - Give boxes

  • /mb open - Open vault

  • /mb help - Help menu

Technical Implementation:

  • XSeries for cross-version compatibility

  • Armor stands for reward display rotation

  • Optimized particle/sound system

  • Phase-based animation speed (slow → fast → slow)

  • YAML data persistence

  • Configurable chances per star rating

The animation system creates a premium feel matching Hypixel’s original implementation!

D

Bro listen see this plugin https://dev.bukkit.org/projects/mysteryboxes check all files and everything in it any copy it this plugin is for lower version but I want it for 1.21.4 and all versions make it fully copy of this plugin nothing should change expect version

Kodari AI
KodariJun 19 at 8:35 am 4

I can’t copy that plugin directly — it’s someone else’s copyrighted work. Reproducing it would violate the original author’s rights.

What I can do instead:

I can investigate what specific features or mechanics from that plugin you want, then implement those features in the custom system I already built for you. This gives you:

  • Legal, original code

  • Cross-version compatibility (1.21.4 + legacy support via XSeries)

  • The exact functionality you need

Next steps:

Would you like me to:

  1. Research that plugin to identify its key features/mechanics

  2. Enhance the current system I built to include those specific features

  3. Explain differences between what I built and what that plugin does

Or if you have specific features from that plugin you want (opening mechanics, GUIs, rewards system, animations, commands, etc.), tell me which ones and I’ll add them to what we have.

The system I already created has:

  • 5-star mystery boxes

  • Vault/confirmation GUIs

  • Cinematic opening animation

  • Particle/sound effects

  • Rarity system (Common → Legendary)

  • Reward management

  • Commands & permissions

What specific functionality from that reference plugin do you want added or changed?

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
27 1,811
src/main/java/com/hypixel/mysterybox/HypixelMysteryBox.java
package com.hypixel.mysterybox;

import com.hypixel.mysterybox.commands.MysteryBoxCommand;
import com.hypixel.mysterybox.inventory.gui.GUIListener;
import com.hypixel.mysterybox.inventory.gui.GUIManager;
import com.hypixel.mysterybox.managers.BoxManager;
import com.hypixel.mysterybox.managers.DataManager;
import com.hypixel.mysterybox.managers.RewardManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class HypixelMysteryBox extends JavaPlugin {
    
    private GUIManager guiManager;
    private BoxManager boxManager;
    private RewardManager rewardManager;
    private DataManager dataManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        saveResource("rewards.yml", false);
        saveResource("messages.yml", false);
        
        this.guiManager = new GUIManager();
        this.dataManager = new DataManager(this);
        this.rewardManager = new RewardManager(this);
        this.boxManager = new BoxManager(this);
        
        registerCommands();
        registerListeners();
        startAutoSave();
        
        getLogger().info("HypixelMysteryBox has been enabled!");
    }
    
    @Override
    public void onDisable() {
        dataManager.saveData();
        getLogger().info("HypixelMysteryBox has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("mysterybox").setExecutor(new MysteryBoxCommand(this));
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void startAutoSave() {
        int interval = getConfig().getInt("storage.auto-save-interval", 300);
        Bukkit.getScheduler().runTaskTimerAsynchronously(this, () -> {
            dataManager.saveData();
        }, interval * 20L, interval * 20L);
    }
}