Skip to main content
Version: 1.20.4

CSGO Type

Crate:
# Type of crate -> CSGO/Casino/Cosmic/QuadCrate/QuickCrate/Roulette/CrateOnTheGo/FireCracker/Wonder/Wheel/War

# Make sure to check out the wiki for anything not explained here.
# https://docs.crazycrew.us/crazycrates/home

# See CosmicCrateExample.yml or CasinoExample.yml to see how the Cosmic/Casino CrateType works.
CrateType: CSGO
# Name of the Inventory if a GUI crate.
CrateName: "<green>Basic Crate"
# The name of the inventory that will be in the preview GUI.
Preview-Name: "<green>Basic Crate Preview"
# Starting amount of keys when the player 1st joins.
StartingKeys: 0
# The amount of keys required to use the crate.
RequiredKeys: 0
# Max amount of crates that can be opened at once using /cc mass-open
Max-Mass-Open: 10
# If the crate shows in the /cc GUI.
# If the type is QuickCrate/CrateOnTheGo/FireCracker, They will not work as they require a Physical Crate.
InGUI: true
# Slot the item is in the GUI.
Slot: 12
# Enables/Disables the Broadcasts message when they open a crate.
OpeningBroadCast: true
# Message that is broadcast when opening the crate.
BroadCast: "%prefix%<bold><gold>%player%</bold><reset> <gray>is opening a <bold><green>Basic Crate.</bold>"
# This section is related to commands opening when a crate is opened.
opening-command:
# If the commands should be sent or not.
toggle: false
# The commands to run when the crate opens.
# Supports all placeholderapi placeholders
# Supports %prefix which returns our prefix, %player% which uses the player name
commands:
- "put your command here."
sound:
# The sound options when the animation is cycling.
cycle-sound:
# If sound should be enabled or not.
toggle: true
# The type of sound to use.
# https://jd.papermc.io/paper/1.20.6/org/bukkit/Sound.html
value: "BLOCK_NOTE_BLOCK_XYLOPHONE"
# The volume of the pitch.
volume: 1.0
# The speed of the sound.
pitch: 1.0
# The sound options when an item is clicked.
click-sound:
# If sound should be enabled or not.
toggle: true
# The type of sound to use.
# https://jd.papermc.io/paper/1.20.6/org/bukkit/Sound.html
value: "UI_BUTTON_CLICK"
# The volume of the pitch.
volume: 1.0
# The speed of the sound.
pitch: 1.0
# The sound options when a crate ends.
stop-sound:
# If sound should be enabled or not.
toggle: true
# The type of sound to use.
# https://jd.papermc.io/paper/1.20.6/org/bukkit/Sound.html
value: "ENTITY_PLAYER_LEVELUP"
# The volume of the pitch.
volume: 1.0
# The speed of the sound.
pitch: 1.0
# A default message if the prize doesn't have any Messages
# i.e. Messages: [] or the value isn't there.
Prize-Message:
- "<gray>You have won <red>%reward% <gray>from <red>%crate%."
# A default command if the prize doesn't have any commands
# i.e. Commands: [] or the value isn't there.
Prize-Commands: []
# Item the crate is in the GUI
Item: "DIAMOND"
# If the crate in the main /cc GUI is glowing or not.
Glowing: false
# Name of the item in the GUI.
Name: "<bold><green>Basic Crate</bold>"
# The lore of the item in the GUI.
Lore:
- "<gray>This crate contains strange objects."
- "<gray>You have <gold>%keys% keys <gray>to open this crate with."
- "<gray>You have opened this crate: <gold>%crate_opened% times"
- "<gray>(<yellow>!<gray>) Right click to view rewards."
Preview:
# Turn on and off the preview for this crate.
Toggle: true
# How many lines the Crate Preview should have. Including Header and Bottom (Between 3 and 6)
ChestLines: 6
Glass:
# Turn the glass border in the preview on and off.
Toggle: true
# The name of the border item.
Name: " "
# The item that shows in the border. Can be glass or any other item.
Item: "GRAY_STAINED_GLASS_PANE"
PhysicalKey:
# Name of the Key.
Name: "<bold><green>Basic Crate Key</bold>"
# Lore of the Key.
Lore:
- "<gray>A special Key"
- "<gray>For a special Crate."
# The item the key is.
Item: "TRIPWIRE_HOOK"
# Makes the key look enchanted.
Glowing: true
# Settings for the holograms.
Hologram:
# Toggle on and off the holograms for the crates.
Toggle: true
# The height of the hologram above the crate.
Height: 1.5
# The distance the hologram can be seen.
Range: 8
# The background color of the hologram. It uses hex colors. This only works with CMI/FancyHolograms
# Set the color to transparent if you don't want any color.
Color: "transparent"
# The message that will be displayed above the crate.
# Note: MiniMessage or Color Codes being supported is depending on the 'holograms' plugin.
Message:
- "<bold><green>Basic Crate</bold>"
# All the prizes that can be gotten in the Crate.
Prizes:
1:
# Name of the item shown by the crate.
DisplayName: "<red>An example of a Player Head!"
# ITem shown by the crate.
DisplayItem: "PLAYER_HEAD"
# The amount displayed.
DisplayAmount: 1
# The lore in the crate preview
Lore:
- "<gray>Want a player head?"
- ""
- "<red>Chance: <yellow>25%"
# If you do not want a lore, Set the "Lore:" to look like the line below.
# Lore: []

MaxRange: 100 # Available values: 100, 1000, 10000, 100000, 1000000, 10000000
#
# 25 is 25% if Max Range is 100
# Read more on "Chance" @ https://github.com/Crazy-Crew/Crazy-Crates/wiki/Chance-System
#
Chance: 25 # The chance out of MaxRange to win an item.

# Can be a name as well.
Player: "https://textures.minecraft.net/texture/1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e" # Custom Texture Example.

# If you do not want a player supplied, Set the "Player:" to look like the line below.
# Player: ""

Items: # Give any item you want to the winning player & with a custom texture.
- "Item:PLAYER_HEAD, Player:https://textures.minecraft.net/texture/1ee3126ff2c343da525eef2b93272b9fed36273d0ea08c2616b80009948ad57e, Amount:1"
# If you do not want to give items, Set the "Items:" to look like the line below.
# Items: []

Commands: # You can run any plugin command here.
- "broadcast <bold><gold>%player%</bold><reset> <gray>won %reward%! WOW"
# If you do not want to send commands, Set the "Commands:" to look like the line below.
# Commands: []

Messages: # Send any message you want to the player.
- "<red>You won a <reset>%reward%!"
# If you do not want to send messages, Set the "Messages:" to look like the line below.
# Messages: []

#This allows for one time winnable prizes. If a player has one of the permissions then they will not be able to win it.
BlackListed-Permissions: []
#This allows users who have won the same prize before to get alternative prizes. They must have a BlackListed-Permission to get an alternative prize.
Alternative-Prize:
#Toggle if the prize will use alternative prizes for the blacklisted permission.
Toggle: false
Messages: []
Commands: []
Items: []
2:
DisplayName: "<bold><gold><blue>Cheap Helmet</bold>"
DisplayItem: "GOLDEN_HELMET"
# Only works on items with durability. This will make the item appear more damaged.
# It does not set the durability but subtracts this number from the durability is 100, It subtracts 50.
# It cannot be 0.
DisplayDamage: 50
DisplayTrim:
# Available Materials: https://jd.papermc.io/paper/1.20.6/org/bukkit/inventory/meta/trim/TrimMaterial.html
Material: "QUARTZ"
# Available Patterns: https://jd.papermc.io/paper/1.20.6/org/bukkit/inventory/meta/trim/TrimPattern.html
Pattern: "SENTRY"
DisplayAmount: 1
Lore:
- "<gray>Win a cheap helmet."
- "<bold><gold>Chance: <red>60%</bold>"
MaxRange: 100
Chance: 60
Items:
- "Item:GOLDEN_HELMET, Amount:1, Damage:50, Trim-Pattern:SENTRY, Trim-Material:QUARTZ, Name:<bold><blue>Cheap Helmet</bold>, PROTECTION_ENVIRONMENTAL:1, OXYGEN:1"
3:
DisplayName: "<bold><yellow>$1,000</bold>"
DisplayItem: "SUNFLOWER"
DisplayAmount: 1
Lore:
- "<gray>Make it rain Money."
- "<bold><gold>Chance: <red>20%</bold>"
MaxRange: 100
Chance: 20
Firework: true
Commands:
- "eco give %player% 1000"
# - "lp user %player% permission set crazycrates.blacklist.basic.3" -> This is the line where you would give the user the permission.
Messages:
- "<gray>You just won <reset>%reward%."
BlackListed-Permissions:
- "crazycrates.blacklist.basic.3"
Alternative-Prize:
Toggle: true
Messages:
- "<reset> <dark_gray>[<blue>CrazyCrates<dark_gray>]: <gray>You have already won that prize, so enjoy some gold nuggets."
Commands:
- "give %player% gold_nugget 16"
4:
DisplayName: "<bold><light_purple>Sharpness 5 / Looting 3</bold>"
DisplayItem: "ENCHANTED_BOOK"
DisplayAmount: 1
DisplayEnchantments:
- "SHARPNESS:5"
- "LOOTING:3"
Lore:
- "<gray>A sharp enchantment book."
- "<bold><gold>Chance: <red>25%</bold>"
MaxRange: 100
Chance: 25
Firework: true
Messages:
- "<gray>You just won <reset>%reward%."
Items:
- "Item:ENCHANTED_BOOK, Amount:1, DAMAGE_ALL:5, LOOTING:3"