CC - Crate Files

May 23, 2019
CC - Crate Files

  • Note, these are simply the DEFAULT / EXAMPLE crates and can be 100% customized
    BasicCrate.crate
    > ---------------

    Code (Text):

    enabled: true
    obtain-method: DYNAMIC
    inventory-name: 'Super basic crate'

    display:
      type: block

    crate:
      material: Chest;0
      name: '&7&lCrate &3&l>> &eBasic Crate'

    key:
      require: false
      material: TRIPWIRE_HOOK
      name: '&7&lKey &3&l>> &eBasic Crate'

    rewards:
      - Diamond
      - Dirt

    open:
      crate-animation: GIVE_KEY

      tier-actions-override-defaults: false
     
    BeginnerCrate.crate
    > ---------------

    Code (Text):

    enabled: true
    obtain-method: STATIC
    cooldown: 300
    inventory-name: '&eBox for Beginners'

    display:
      type: block

    crate:
      material: Chest;0
      name: '&c&lBeginner Crate &7[&eTier 2&7]'

    key:
      require: true
      material: TRIPWIRE_HOOK
      name: '&c&lBeginner Key &7[&eTier 2&7]'

    rewards:
    - Diamond
    - Dirt

    hologram:
      lines:
      - '&6&lBeginner Crate'
      - '&eTier: &72'

    play:
      particles:
       '1':
         type: CRIT
         range-x: 0.2
         range-y: 0.0
         range-z: 0.2
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: SMOKE_NORMAL
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 0.01
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
    open:
      crate-animation: INV_MENU

      tier-actions-override-defaults: false

      particles:
       '1':
         type: VILLAGER_HAPPY
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: CLOUD
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0

      actions:
      - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
      - BROADCAST, &7&lCrates &3&l> &e&l%player% just unboxed a case!
     
    MiddleCrate.crate
    > ---------------

    Code (Text):

    enabled: true
    obtain-method: STATIC
    inventory-name: '&6&l[&aMiddle Crate&6&l]'

    display:
      type: block

    crate:
      material: Chest;0
      name: '&6&l[&aMiddle Crate&6&l]'
      lore:
      - '&bTry placing me down!'

    key:
      require: true
      material: TRIPWIRE_HOOK
      name: '&6&l[&aMiddle Crate Key&6&l]'
      lore:
      - '&bTry using me on a &9Middle Crate!'

    rewards:
    - Diamond
    - Dirt
    - Speed

    hologram:
      reward-hologram: '&a%reward%'
      lines:
      - '&6&l[&aMiddle Crate&6&l]'
      - '&7&oOpen me for a small reward!'

    play:
      particles:
       '1':
         type: FIREWORKS_SPARK
         range-x: 0.7
         range-y: 0.7
         range-z: 0.7
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: VILLAGER_HAPPY
         range-x: 0.7
         range-y: 0.7
         range-z: 0.7
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
    open:
      crate-animation: INV_CSGO

      tier-actions-override-defaults: false

      particles:
       '1':
         type: LAVA
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: HEART
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0

      fireworks:
      - RED;ORANGE;GREEN;PURPLE, black, true, true, BALL_LARGE, 0

      sounds:
      - ENTITY_PLAYER_LEVELUP, 10, 10

      actions:
      - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
      - BROADCAST, &7&lCrates &3&l> &e&l%player% just unboxed a case!
      - ACTIONBAR, &eYou have won an award!
      - TITLE, &6You just opened
      - SUBTITLE, &c%reward%
    cooldown: 0
     
    MasterCrate.crate
    > ---------------

    Code (Text):

    enabled: true
    obtain-method: STATIC
    inventory-name: '&5&l> &dMaster Crate &5&l<'

    display:
      type: block

    crate:
      material: Chest;0
      name: '&5&l> &dMaster Crate &5&l<'
      lore:
      - ''
      - '&5&lCrate&e&l:'
      - ''
      - '&7This crate will be used'
      - '&7when you place it.'
      enchantments:
      - DURABILITY;0

    key:
      require: true
      material: TRIPWIRE_HOOK
      enchantments:
      - DURABILITY;0
      name: '&5&l> &dMaster Crate Key &5&l<'
      lore:
      - ''
      - '&5&lKey&e&l:'
      - ''
      - '&7This key is only usable'
      - '&7on the &eMaster Crate&7.'

    rewards:
    - Diamond
    - Dirt
    - DiamondSword
    - Speed
    - SuperGoldenApple
    - GoldenApple
    - Grass
    - SpecialDirt
    - Jump
    - SpecialDirt2

    hologram:
      reward-hologram: '&a+ &c%reward% &a+'
      reward-hologram-duration: 60
      reward-hologram-yoffset: 0
      lines:
      - '&5&l> &dMaster Crate &5&l<'
      - '&c--'
      - '&e&oBuy me on store.website.com'

    play:
      particles:
       '1':
         type: FLAME
         range-x: 0.7
         range-y: 0.7
         range-z: 0.7
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: SMOKE_NORMAL
         range-x: 1.0
         range-y: 0.0
         range-z: 0.0
         speed: 0.0
         amount: 1
         animation: TILTED_RINGS
         center-x: 0
         center-y: 0
         center-z: 0

    open:
      crate-animation: INV_ROULETTE

      tier-actions-override-defaults: true

      particles:
       '1':
         type: SUSPENDED_DEPTH
         range-x: 3.0
         range-y: 2.0
         range-z: 3.0
         speed: 1.0
         amount: 30
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: CRIT_MAGIC
         range-x: 3.0
         range-y: 2.0
         range-z: 3.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '3':
         type: EXPLOSION_HUGE
         range-x: 0.0
         range-y: 0.0
         range-z: 0.0
         speed: 1.0
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0

      fireworks:
      - BLUE;AQUA, WHITE;YELLOW;ORANGE, false, true, STAR, 1

      sounds:
      - ENTITY_PLAYER_LEVELUP, 10, 10

      actions:
      - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
      - BROADCAST, &7&lCrates &3&l> &e&l%player% just unboxed a case!
      - ACTIONBAR, &eYou have won an award!
      - TITLE, &6You just opened
      - SUBTITLE, &c%reward%
      - PRE_BROADCAST, &6&l%player% &7is unboxing a &cMaster Crate!


      crate-tiers:
       rare:
         actions:
         - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
         - BROADCAST, &aCrates &3&l> &e&l%player% just won a &eRARE &eitem.
         particles:
           '1':
             type: SPELL_WITCH
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.01
             amount: 100
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
           '2':
             type: FLAME
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.05
             amount: 50
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
         sounds:
         - ENTITY_ENDER_DRAGON_GROWL, 1, 5
         - AMBIENT_CAVE, 1, 5

       legendary:
         actions:
         - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
         - BROADCAST, &aCrates &3&l> &e&l%player% just won a &eLEGENDARY &eitem.
         particles:
           '1':
             type: SPELL_WITCH
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.01
             amount: 100
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
           '2':
             type: FLAME
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.05
             amount: 50
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
         sounds:
         - ENTITY_ENDER_DRAGON_GROWL, 1, 5
         - AMBIENT_CAVE, 1, 5
         fireworks:
         - BLACK, WHITE, false, true, STAR, 1
    cooldown: 0
     
    ExpertCrate.crate
    > ---------------

    Code (Text):

    enabled: true
    cooldown: -1
    permission: crates.expertcrate
    inventory-name: '&5&lExpert Crate'
    auto-close: true
    hologram offset: 0.1

    obtain-method: STATIC

    display:
      type: mob
      creature: Zombie

    crate:
      material: Ender_chest;0
      name: '&5&lExpert Crate'
      lore:
      - ''
      - '&5&lCrate&e&l:'
      - ''
      - '&7This crate will be used'
      - '&7when you place it.'
      enchantments:
      - DURABILITY;0

    key:
      require: true
      material: TRIPWIRE_HOOK
      enchantments:
      - DURABILITY;0
      name: '&5&lExpert Crate Key'
      lore:
      - ''
      - '&5&lKey&e&l:'
      - ''
      - '&7This key is only usable'
      - '&7on the &eMaster Crate&7.'

    rewards:
    - Diamond
    - Dirt
    - DiamondSword
    - Speed
    - SuperGoldenApple
    - GoldenApple
    - Grass
    - SpecialDirt
    - Jump
    - SpecialDirt2

    hologram:
      reward-hologram: '&a[&e%reward%&a]'
      reward-hologram-duration: 60
      reward-hologram-yoffset: 0
      lines:
      - ''
      animation:
       type: SINGLELINE_CHANGE
       speed: 10
       prefixes:
       - '&6&lE'
       - '&6&lEx'
       - '&6&lExp'
       - '&6&lExpe'
       - '&6&lExper'
       - '&6&lExpert'
       - '&6&lExpert &e&lC'
       - '&6&lExpert &e&lCr'
       - '&6&lExpert &e&lCra'
       - '&6&lExpert &e&lCrat'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrate'
       - '&6&lExpert &e&lCrat'
       - '&6&lExpert &e&lCra'
       - '&6&lExpert &e&lCr'
       - '&6&lExpert &e&lC'
       - '&6&lExpert'
       - '&6&lExper'
       - '&6&lExpe'
       - '&6&lExp'
       - '&6&lEx'
       - '&6&lE'
       - ''
    play:
      particles:
       '1':
         type: PORTAL
         range-x: 2.0
         range-y: 2.0
         range-z: 2.0
         speed: 0.0
         amount: 20
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: FLAME
         range-x: 0.0
         range-y: 0.0
         range-z: 0.0
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '3':
         type: SMOKE_NORMAL
         range-x: 1.0
         range-y: 0.0
         range-z: 0.0
         speed: 20.0
         amount: 3
         animation: TILTED_RINGS
         center-x: 0
         center-y: 0
         center-z: 0

    open:
      crate-animation: INV_ENCLOSE

      particles:
       '1':
         type: SUSPENDED_DEPTH
         range-x: 3.0
         range-y: 2.0
         range-z: 3.0
         speed: 1.0
         amount: 30
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: CRIT_MAGIC
         range-x: 3.0
         range-y: 2.0
         range-z: 3.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '3':
         type: EXPLOSION_HUGE
         range-x: 0.0
         range-y: 0.0
         range-z: 0.0
         speed: 1.0
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
      fireworks:
      - BLUE;AQUA, WHITE;YELLOW;ORANGE, false, true, STAR, 0

      sounds:
      - ENTITY_PLAYER_LEVELUP, 10, 10

      actions:
      - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
      - BROADCAST, &7&lCrates &3&l> &e&l%player% just unboxed a case!
      - ACTIONBAR, &eYou have won an award!
      - TITLE, &6You just opened
      - SUBTITLE, &c%reward%
      - PRE_BROADCAST, &7&lCrates &3&l> &e&l%player% is unboxing a case!

      crate-tiers:
       rare:
         actions:
         - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
         - BROADCAST, &aCrates &3&l> &e&l%player% just won a &eRARE &eitem.
         particles:
           '1':
             type: SPELL_WITCH
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.01
             amount: 100
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
           '2':
             type: FLAME
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.05
             amount: 50
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
         sounds:
         - ENTITY_ENDER_DRAGON_GROWL, 1, 5
         - AMBIENT_CAVE, 1, 5
       legendary:
         actions:
         - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
         - BROADCAST, &aCrates &3&l> &e&l%player% just won a &eLEGENDARY &eitem.
         particles:
           '1':
             type: SPELL_WITCH
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.01
             amount: 100
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
           '2':
             type: FLAME
             range-x: 3.0
             range-y: 3.0
             range-z: 3.0
             speed: 0.05
             amount: 50
             animation: NONE
             center-x: 0
             center-y: 0
             center-z: 0
         sounds:
         - ENTITY_ENDER_DRAGON_GROWL, 1, 5
         - AMBIENT_CAVE, 1, 5
         fireworks:
         - BLACK, WHITE, false, true, STAR, 1
     
    AllCrates.multicrate
    > ---------------

    Code (Text):

    enabled: true
    cooldown: 10
    inventory-name: '&b&lMULTI&7Crate'
    permission: multicrates.allcrates
    hologram-offset: 0.2

    obtain-method: STATIC

    display:
      type: block

    crate:
      material: Ender_chest;0
      name: '&5&lMulti Crate'
      lore:
      - ''
      - '&5&lCrates&e&l:'
      - '&7BeginnerCrate'
      - '&7MediumCrate'
      - '&7MasterCrate'
      enchantments:
      - DURABILITY;0

    gui:
      rows:
      - '#########'
      - '#1##2##3#'
      - '#########'
      objects:
       '#': AIR;0
       '1': BeginnerCrate
       '2': MiddleCrate
       '3': MasterCrate

    hologram:
      lines:
      - '&a&lMulti Crate'
      - '&4&l---'
      - '&e&oBeginnerCrate'
      - '&e&oMiddleCrate'
      - '&e&oMasterCrate'

    play:
      particles:
       '1':
         type: FLAME
         range-x: 0.7
         range-y: 0.7
         range-z: 0.7
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: VILLAGER_ANGRY
         range-x: 0.7
         range-y: 0.7
         range-z: 0.7
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '3':
         type: PORTAL
         range-x: 0.5
         range-y: 0.5
         range-z: 0.5
         speed: 1.0
         amount: 2
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
     

    MineChestExample.crate (Lucky Chest)
    > ---------------
    Code (Text):

    enabled: false
    obtain-method: LUCKYCHEST
    inventory-name: '&7&lCrate &3&l>> &eMine Chest'
    cooldown: 0

    lucky-chest:
      chance: 1/100
      is-block-list-whitelist: true
      block-list:
      - IRON_ORE
      - GOLD_ORE
      - DIAMOND_ORE
      - COAL_ORE
      - EMERALD_ORE
      worlds:
      - world
      - world_nether
      - world_the_end

    display:
      type: block

    crate:
      material: Chest;0
      name: '&7&lCrate &3&l>> &eMine Chest'

    key:
      require: false
      material: TRIPWIRE_HOOK
      name: '&7&lKey &3&l>> &eMine Chest'

    rewards:
    - Diamond
    - Dirt

    hologram:
      lines:
      - '&6&l[&bMine Chest&6&l]'
      - '&eTier: &72'

    play:
      particles:
       '1':
         type: CRIT
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 0.05
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: SMOKE_NORMAL
         range-x: 0.0
         range-y: 0.2
         range-z: 0.0
         speed: 0.01
         amount: 1
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0

    open:
      crate-animation: INV_CSGO

      tier-actions-override-defaults: false

      particles:
       '1':
         type: VILLAGER_HAPPY
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0
       '2':
         type: HEART
         range-x: 1.0
         range-y: 1.0
         range-z: 1.0
         speed: 1.0
         amount: 10
         animation: NONE
         center-x: 0
         center-y: 0
         center-z: 0

      actions:
      - MESSAGE, &7&lCrates &3&l> &eYou won %reward%
      - BROADCAST, &7&lCrates &3&l> &e&l%player% just unboxed a case!
     
  • Loading...
  • Loading...