HCCrates | Cleanest, Simplist Crates plugin 2.0

Best crates plugin for anything, specializing with HCF!
hccrates.png

Commands:

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


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------------'


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 types header: '&c&lCrate Types:'
Key types list object: ' &e* &7{crate}'
Preview crate chat hover: '&7&oClick to preview this crate!'

Rewards title: '&c&lYour Rewards'

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!'
    Wins:
      min: 3
      max: 5
    Prizes:
      100B:
        Chance: 25
        Commands:
          - 'eco give %player% 100000000000'
        Item: PAPER
        Name: '&a&l$100,000,000,000'
        Lore:
          - '&a&lChance: &a&o25%'
      200B:
        Chance: 15
        Commands:
          - ' '
        Item: PAPER
        Name: '&a&l$200,000,000,000'
        Lore:
          - '&a&lChance: &a&o25%'
      300B:
        Chance: 10
        Commands:
          - 'eco give %player% 300000000000'
        Item: PAPER
        Name: '&a&l$300,000,000,000'
        Lore:
          - '&a&lChance: &a&o25%'
Developer
HCCratesGiveKeyEvent
HCCratesOpenCrateEvent
  • hccrates.png
    hccrates.png
    299.4 KB · Views: 1,314

Latest updates

  1. Version 2.0

    From request of some customers I have added a way of giving items from the crates w/o having to...
  2. Update 1.4 - OB

    Obfuscated version.
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.