DreamCrates is a feature-rich and highly customizable crate plugin for Minecraft servers running Paper 1.21.1+.
## Features- Multiple Crate Types: Create unlimited custom crate types with different rarities
- Animation System: 5 unique opening animations (Spin, Flicker, Drop, Wheel, CSGO-style)
- Dual Key System: Support for both physical and virtual keys
- Reward System: Weighted reward system with command execution
- Visual Effects: Customizable particles and sounds for each crate
- Hologram Support: Display crate names as holograms
- Preview System: Let players preview crate contents
- Daily Rewards: Built-in daily login crate key rewards
- Vote Rewards: Integration with voting plugins
- Legendary Broadcasts: Announce when players receive legendary items
- Download the latest version of DreamCrates from GitHub Releases
- Place the JAR file in your server's
pluginsfolder - Restart your server
- Edit the configuration files to customize crates and rewards
| Command | Description | Permission |
|---|---|---|
/crate |
Main command for DreamCrates | dreamcrates.command |
/crate help |
Shows help information | dreamcrates.command |
/crate create <name> |
Creates a new crate | dreamcrates.admin.create |
/crate delete <name> |
Deletes a crate | dreamcrates.admin.delete |
/crate givekey <player> <crate> [amount] [type] |
Gives keys to a player | dreamcrates.admin.givekey |
/crate reload |
Reloads the plugin configuration | dreamcrates.admin.reload |
/crate setlocation <crate> |
Sets the location of a crate | dreamcrates.admin.setlocation |
/crate preview <crate> |
Previews crate rewards | dreamcrates.preview |
| Permission | Description | Default |
|---|---|---|
dreamcrates.command |
Allows use of the /crate command | true |
dreamcrates.preview |
Allows previewing crate rewards | true |
dreamcrates.admin.create |
Allows creating crates | op |
dreamcrates.admin.delete |
Allows deleting crates | op |
dreamcrates.admin.givekey |
Allows giving keys to players | op |
dreamcrates.admin.reload |
Allows reloading the plugin | op |
dreamcrates.admin.setlocation |
Allows setting crate locations | op |
dreamcrates.admin |
Grants all admin permissions | op |
DreamCrates uses three main configuration files:
Contains general settings for the plugin:
# DreamCrates - Main Configuration
settings:
debug: false
language: "en_US"
use-holograms: true
check-for-updates: true
holograms:
enabled: true
height: 1.5
line-spacing: 0.25
messages:
prefix: "&8[&bDreamCrates&8] "
no-permission: "&cYou don't have permission to do that!"
crate-created: "&aCrate '%name%' created successfully!"
animations:
spin:
duration: 80
sound: "BLOCK_NOTE_BLOCK_PLING"
sound-volume: 0.5
sound-pitch: 1.0
daily-login-bonus:
enabled: true
crate: "daily"
key-type: "VIRTUAL"
message: "&aYou received a daily login bonus key!"Defines all crate types and their rewards:
crates:
# Common Crate
common:
display-name: "&aCommon Crate"
gui-size: 27
animation: "SPIN"
key-type: "PHYSICAL"
key-material: "TRIPWIRE_HOOK"
hologram-color: "&a" # Green for common
sounds:
- "ENTITY_PLAYER_LEVELUP"
- "ENTITY_FIREWORK_ROCKET_BLAST"
particles:
- "END_ROD"
- "WITCH"
rewards:
iron_ingot:
material: "IRON_INGOT"
amount: 8
display-name: "&fIron Ingot"
lore:
- "&7A common metal."
- "&7From Common Crate"
rarity: "COMMON"
weight: 10.0
commands:
- "eco give {player} 50"
- "tell {player} You received 50 coins with your iron ingots!"
coins_50:
material: SUNFLOWER
amount: 1 # Must be at least 1
command-only: true # This makes it command-only
display-name: "&e50 Coins"
lore:
- "&7Adds 50 coins to your account."
rarity: COMMON
weight: 10.0
commands:
- "eco give {player} 50"
- "tell {player} You received 50 coins!"Stores the physical locations of placed crates (automatically generated).
- Left-Click on a crate to preview its rewards
- Right-Click with the correct key to open the crate
- Virtual keys are automatically consumed when right-clicking a crate
DreamCrates offers 5 unique animation types:
- SPIN: Items rotate around the GUI border
- FLICKER: Item appears and disappears in the center
- DROP: Item drops from the top to bottom of GUI
- WHEEL: A wheel of items rotates with an indicator
- CSGO: Items scroll horizontally like CS:GO cases
- Use
/crate create <name>to create a new crate - Edit
crates.ymlto configure the crate appearance and rewards - Use
/crate reloadto apply your changes - Use
/crate setlocation <name>while looking at a block to place the crate
DreamCrates supports two types of keys:
- PHYSICAL: Item-based keys that appear in player inventories
- VIRTUAL: Virtual keys stored in the database, not in inventory
Rewards have several properties:
- Material: The Minecraft item to give
- Amount: How many of the item to give
- Display Name: Custom name for the item
- Lore: Custom lore for the item
- Rarity: COMMON, UNCOMMON, RARE, EPIC, LEGENDARY
- Weight: The chance of getting this reward (higher = more likely)
- Commands: Commands to execute when the reward is given
- Command-only: Set to true for rewards that only execute commands
These placeholders can be used in reward commands:
{player}- Player's name{player_uuid}- Player's UUID{world}- World name{crate}- Crate name{reward}- Reward ID
For support, please create an issue on the GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.