Jump to content
  • 0

Crazy Crates plugin - What did I do wrong?


komando_pingwin123

Question

Crate:
  CrateType: QuickCrate
  CrateName: '&bSky Crate'
  Preview-Name: '&b&lSky Crate'
  StartingKeys: 0
  InGUI: false
  Slot: 14

  Item: 'CHEST'
  Glowing: false
  Name: '&b&lSky Crate'
  Lore:
    - '&7This crate contains classic items.'
    - '&7You have &6%Keys% keys &7to open this crate with.'
    - '&7&l(&e&l!&7&l) Right click to view rewards.'
  Preview:
    Toggle: true
    ChestLines: 8
    Glass:
      Toggle: true
      Item: 'BLACK_STAINED_GLASS_PANE'
  PhysicalKey:
    Name: '&b&lSky Crate &3&lKey'
    Lore:
      - '&7A special Key'
      - '&7For a special Crate.'
    Item: 'TRIPWIRE_HOOK'
    Glowing: True
  Hologram:
    Toggle: true
    Height: 1.5
    Message:
      - '&b&lSky Crate'
  Prizes:
    1:
      DisplayName: '&d&lSpeed Medalion'
      DisplayItem: 'End_crystal'
      DisplayAmount: 1
      Lore:
        - '&7Win Speed Medalion that gives you speed boost.'
        - '&6&lChance: &c&l25%'

      MaxRange: 100
      Chance: 25
      Items:
        - 'Item:End_crystal, Amount:1, Name:&d&lSpeed Medalion'
      Messages:
        - '&7You just won an &d&lSpeed Medalion!&7.'
    2:
      DisplayName: '&6&lEnergy Powder'
      DisplayItem: 'GLOWSTONE_DUST'
      DisplayAmount: 2
      Lore:
        - '&7Win Energy Powder that gives you haste 2 for 5 min.'
        - '&6&lChance: &c&l50%'

      MaxRange: 100
      Chance: 50
      Items:
        - 'Item:GLOWSTONE_DUST, Amount:2, Name:&6&lEnergy Powder'
      Messages:
        - '&7You just won a &6&lEnergy Powder&7.'
    3:
      DisplayName: '&a&lJump Medalion'
      DisplayItem: 'rabbit_foot'
      DisplayAmount: 1
      Lore:
        - '&7Win Jump Medalion that gives you jump boost'
        - '&6&lChance: &c&l25%'

      MaxRange: 100
      Chance: 25
      Firework: false
      Items:
        -'item:rabbit_foot, AMOUNT:1, Name:&a&lJump Medalion'
      Messages:
        - '&7You just won &a&lJump Medalion!'

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
14 hours ago, komando_pingwin123 said:

Crate:
  CrateType: QuickCrate
  CrateName: '&bSky Crate'
  Preview-Name: '&b&lSky Crate'
  StartingKeys: 0
  InGUI: false
  Slot: 14

  Item: 'CHEST'
  Glowing: false
  Name: '&b&lSky Crate'
  Lore:
    - '&7This crate contains classic items.'
    - '&7You have &6%Keys% keys &7to open this crate with.'
    - '&7&l(&e&l!&7&l) Right click to view rewards.'
  Preview:
    Toggle: true
    ChestLines: 8
    Glass:
      Toggle: true
      Item: 'BLACK_STAINED_GLASS_PANE'
  PhysicalKey:
    Name: '&b&lSky Crate &3&lKey'
    Lore:
      - '&7A special Key'
      - '&7For a special Crate.'
    Item: 'TRIPWIRE_HOOK'
    Glowing: True
  Hologram:
    Toggle: true
    Height: 1.5
    Message:
      - '&b&lSky Crate'
  Prizes:
    1:
      DisplayName: '&d&lSpeed Medalion'
      DisplayItem: 'End_crystal'
      DisplayAmount: 1
      Lore:
        - '&7Win Speed Medalion that gives you speed boost.'
        - '&6&lChance: &c&l25%'

      MaxRange: 100
      Chance: 25
      Items:
        - 'Item:End_crystal, Amount:1, Name:&d&lSpeed Medalion'
      Messages:
        - '&7You just won an &d&lSpeed Medalion!&7.'
    2:
      DisplayName: '&6&lEnergy Powder'
      DisplayItem: 'GLOWSTONE_DUST'
      DisplayAmount: 2
      Lore:
        - '&7Win Energy Powder that gives you haste 2 for 5 min.'
        - '&6&lChance: &c&l50%'

      MaxRange: 100
      Chance: 50
      Items:
        - 'Item:GLOWSTONE_DUST, Amount:2, Name:&6&lEnergy Powder'
      Messages:
        - '&7You just won a &6&lEnergy Powder&7.'
    3:
      DisplayName: '&a&lJump Medalion'
      DisplayItem: 'rabbit_foot'
      DisplayAmount: 1
      Lore:
        - '&7Win Jump Medalion that gives you jump boost'
        - '&6&lChance: &c&l25%'

      MaxRange: 100
      Chance: 25
      Firework: false
      Items:
        -'item:rabbit_foot, AMOUNT:1, Name:&a&lJump Medalion'
      Messages:
        - '&7You just won &a&lJump Medalion!'

 

I checked the data, it is correct. What is the problem? Can you show logs after reloading the plugin data?

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...