Sueta

Crates - The easy to configure Crates Plugin! [1.8 / 1.12-1.

1.19

The easy to configure Crates Plugin!

·Config

Crates
That's what makes creating crates fun.

► Features

  • You can change all messages in a YML file.
  • You can give player rewards with commands and items.
  • You can add items to a crate with an inventory. (/crate additem <crate>)
  • A nice open animation.

► Commands & Permissions

Commands

/crates reload Reload Configuration
/crates give <Crate> [Player] Give a Crate
/crates give <Crate> @all Give everyone a Crate
/crates list List of all crates.
/crates additem <Crate> Add Item to crate content
/crates addcrate <Crate> Add a new crate
/crates setmaterial <crate> Set the Item of the Crate to the Item of your main hand.
Permission for all commands: crate.command


► Config

crates.yml
crates:
  money:
    name: Money Crate
    item:
      material: GOLD_INGOT
      amount: 1
      durability: 0
      meta:
        displayName: §6§lMoney Crate
        lore:
        - §7Money! Anybody needs money.
      enchantments:
        unsafe:
        - LUCK:1
    content:
      rivet:
        name: §cRivet
        chance: 50
        item:
          material: BARRIER
          amount: 1
          durability: 0
          meta:
            displayName: §cRivet
        commands: []
      100-dollar:
        name: §6100 Dollar!
        chance: 30
        item:
          material: GOLD_INGOT
          amount: 1
          durability: 0
          meta:
            displayName: §6100 Dollar!
        commands:
        - money give %player 100
      250-dollar:
        name: §6250 Dollar!
        chance: 15
        item:
          material: GOLD_INGOT
          amount: 1
          durability: 0
          meta:
            displayName: §6100 Dollar!
        commands:
        - money give %player 250
      500-dollar:
        name: §6500 Dollar!
        chance: 5
        item:
          material: GOLD_BLOCK
          amount: 1
          durability: 0
          meta:
            displayName: §6500 Dollar!
        commands:
        - money give %player 500
  food:
    name: Food Crate
    item:
      material: MELON
      amount: 1
      durability: 0
      meta:
        displayName: §a§lFood Crate
        lore:
        - §7Food! Anybody needs food.
      enchantments:
        unsafe:
        - LUCK:1
    content:
      melon:
        name: §aMelon
        chance: 1
        item:
          material: MELON
          amount: 16
          durability: 0
          meta:
            displayName: §aMelon
        items:
          item:
            material: MELON
            amount: 16
            durability: 0
            meta:
              displayName: ''
      bread:
        name: §6Bread
        chance: 1
        item:
          material: BREAD
          amount: 16
          durability: 0
          meta:
            displayName: §6Bread
        items:
          item:
            material: BREAD
            amount: 16
            durability: 0
            meta:
              displayName: ''
      apple:
        name: §cApple
        chance: 1
        item:
          material: APPLE
          amount: 16
          durability: 0
          meta:
            displayName: §cApple
        items:
          item:
            material: APPLE
            amount: 16
            durability: 0
            meta:
              displayName: ''
      cookie:
        name: §6Cookie
        chance: 1
        item:
          material: COOKIE
          amount: 16
          durability: 0
          meta:
            displayName: §6Cookie
        items:
          item:
            material: COOKIE
            amount: 16
            durability: 0
            meta:
              displayName: ''
      beef:
        name: §dBeef
        chance: 1
        item:
          material: COOKED_BEEF
          amount: 16
          durability: 0
          meta:
            displayName: §dBeef
        items:
          item:
            material: COOKED_BEEF
            amount: 16
            durability: 0
            meta:
              displayName: ''
      chicken:
        name: §dChicken
        chance: 1
        item:
          material: COOKED_CHICKEN
          amount: 16
          durability: 0
          meta:
            displayName: §dChicken
        items:
          item:
            material: COOKED_CHICKEN
            amount: 16
            durability: 0
            meta:
              displayName: ''

Similar projects

Config →