HCCrates
$5 (PayPal F&F)
Sniper#8762
Features
Easily configurable
Key drops on ground if inventory is full
Multiple commands per reward
Change Key appearance
All Enderchests are crates (for HCF)
Developer Events for easy add-ons
Full support from me
Clean looking messages
Images
Commands [Alias of /key is /crate]
Default
/key (view help)
/key types (view crate types)
Admin
/key (view help)
/key giveall <crate> <amount>
/key give <player> <crate> <amount>
/key logs <player>
/key reload
Configuration File
$5 (PayPal F&F)
Sniper#8762
Features
Easily configurable
Key drops on ground if inventory is full
Multiple commands per reward
Change Key appearance
All Enderchests are crates (for HCF)
Developer Events for easy add-ons
Full support from me
Clean looking messages
Images
Commands [Alias of /key is /crate]
Default
/key (view help)
/key types (view crate types)
Admin
/key (view help)
/key giveall <crate> <amount>
/key give <player> <crate> <amount>
/key logs <player>
/key reload
Configuration File
Code:
###################
# MESSAGES
###################
Help menu:
admin:
- '&8&m------------&r &c&lHCCrates &8&m------------'
- '&e/key giveall <crate> <amount> &7&oGive all players keys'
- '&e/key give <player> <crate> <amount> &7&oGive keys'
- '&e/key logs <player>'
- '&8&m------------&r &c&lHCCrates &8&m------------'
non admin:
- '&8&m------------&r &c&lHCCrates &8&m------------'
- '&e/key types &7&oView all types of crates'
- '&8&m------------&r &c&lHCCrates &8&m------------'
Key types: '&c&lCrate Types: &e{types}'
Invalid arguments: '&8[&c*&8] &cInvalid arugments.'
Unknown command: '&8[&c*&8] &cThat is not a valid command.'
Not a crate: '&8[&c*&8] &cThis is not a crate!'
Invalid crate type: '&8[&c*&8] &cThat is not a valid crate type!'
Player not online: '&8[&c*&8] &cThat player is not online!'
Cant use wand: '&8[&c*&8] &cYou cant use the wand!'
Created crate: '&8[&c*&8] &aYou have made a crate!'
Key giving:
recieve: '&8[&c*&8] &eYou have received &cx{amount} {crate} &ekey.'
give: '&8[&c*&8] &eYou have gifted &cx{amount} {crate} &ekey to &b{player}&e.'
giveall: '&8[&c*&8] &eYou have given all online players x{amount} {crate} &ekey.'
###################
# ITEMS
###################
Wand:
ID: '369:0'
Name: '&cCrate Wand'
Lore:
- '&7Left click a block to set it as a crate.'
###################
# CRATES
###################
Crates:
Silver:
Identifier: silver
Crate Key:
Name: '&6&lSilver &7Crate Key'
Lore:
- '&7&oUse this at a crate!'
Prizes:
100B:
Chance: 25
Commands:
- 'eco give %player% 100000000000'
Item: PAPER
Name: '&a&l$100,000,000,000'
200B:
Chance: 15
Commands:
- 'eco give %player% 200000000000'
Item: PAPER
Name: '&a&l$200,000,000,000'
300B:
Chance: 10
Commands:
- 'eco give %player% 300000000000'
Item: PAPER
Name: '&a&l$300,000,000,000'
Gold:
Identifier: Gold
Crate Key:
Name: '&e&lGold &7Crate Key'
Lore:
- '&7&oUse this at a crate!'
Prizes:
100B:
Chance: 25
Commands:
- 'eco give %player% 200000000000'
Item: PAPER
Name: '&e&l$200,000,000,000'
200B:
Chance: 15
Commands:
- 'eco give %player% 300000000000'
Item: PAPER
Name: '&e&l$300,000,000,000'
300B:
Chance: 10
Commands:
- 'eco give %player% 400000000000'
Item: PAPER
Name: '&e&l$400,000,000,000'
Developer
HCCratesGiveKeyEvent
HCCratesOpenCrateEvent
