Crazy Crates Error

Discussion in 'Spigot Plugin Help' started by LunaRenzoX, Sep 17, 2018.

  1. can someone help me? i have error on console everytime i wil reload the plugin it says, blockmapping
    here's my config

    Code (YAML):
    Crate:
      CrateType
    : QuickCrate #Type of crate (CSGO/QuadCrate/QuickCrate/Roulette/CrateOnTheGo/FireCracker/Wonder/Wheel/War/Cosmic(This requires a additional info to work.)).
      CrateName
    : '&a&lVote Crate' #Name of the Inventory if a GUI crate.
      Preview-Name
    : '&a&lVote Crate Preview' #The name of the inventory that will be in the preview GUI.
      StartingKeys
    : 0 #Starting amount of keys when the player 1st joins.
      InGUI
    : true #If the crate shows in the /cc GUI. (If the crate type is QuickCrate/CrateOnTheGo/FireCracker then the Crate will not work. Quick Crate requires a Physical Crate.)
      Slot
    : 21 #Slot the item is in the GUI.
      OpeningBroadCast
    : false #Enables/Disables the Broadcasts message when they open a crate.
      BroadCast
    : '%Prefix%&6&l%Player% &7is opening a &7&lBasic Chest&7.' #Message that is broadcasted when opening the crate.
      Item
    : 'CHEST' #Item the crate is in the GUI
      Glowing
    : false #If the crate in the main /cc GUI is glowing or not.
      Name
    : '&a&lVote Crate' #Name of the item in the GUI.
      Lore
    : #The lore of the item in the GUI.
        - '&7This crate contains some awesome stuffs'
        - '&7You have &6%Keys% keys &7to open this crate with.'
        - '&7&l(&e&l!&7&l) Right click to view rewards.'
      PhysicalKey
    :
        Name
    : '&a&lVote Crate Key' #Name of the Key.
        Lore
    :
         - '&7Go to /warp crates to' #Lore of the Key.
          - '&7use this key. (Only for Vote Crate)'
        Item
    : 'TRIPWIRE_HOOK' #The item the key is.
        Glowing
    : True #Makes the key look enchanted.
    #         For Cosmic Crates Only
    #############################################
    #  Tiers: #The tiers in the Crate
    #    Basic: #The Config Name for the Crate
    #      Name: '&8Basic Prize' #The in-game name of the Crate
    #      Color: 7 #Use the MetaData for the color of the glass
    #      Chance: 80 #Chance of that item getting picked. It would be 80/100 chance because MaxRange is 100.
    #      MaxRange: 100 #The max range that the chance will go though.
    #    UnCommon:
    #      Name: '&aUnCommon Prize'
    #      Color: 5
    #      Chance: 55
    #      MaxRange: 100
    #    Rare:
    #      Name: '&4Rare Prize'
    #      Color: 14
    #      Chance: 20
    #      MaxRange: 100
    #############################################
      Prizes
    : #All the prizes that can be gotten in the Crate.
        1
    :
          DisplayName
    : 'TNT'
          DisplayItem
    : 'TNT'
          DisplayAmount
    : 16
          Lore
    :
           - '&6&lChance
    : &c&l50%'
          MaxRange
    : 100
          Chance
    : 50
          Firework
    : false
          Glowing
    : false
          Player
    : ''
          Unbreakable
    : false
          Items
    :
           - 'Item:TNT, Amount:16'
          Commands
    : {}
          Messages
    :
           - ''
          BlackListed-Permissions
    : {}
          Alternative-Prize
    : {}
            Toggle
    : false
            Messages
    : {}
            Commands
    : {}
            Items
    : {}
        2
    :
          DisplayName
    : '&c&lT&f&lN&c&lT'
          DisplayItem
    : 'TNT'
          DisplayAmount
    : 32
          Lore
    :
            - '&6&lChance
    : &c&l40%'
          MaxRange
    : 100
          Chance
    : 40
          Firework
    : false
          Glowing
    : false
          Unbreakable
    : false
          Items
    :
           - 'Item:TNT, Amount:32'
          Commands
    : {}
          Messages
    : {}
          BlackListed-Permissions
    : {}
          Alternative-Prize
    : {}
            Toggle
    : false
            Messages
    : {}
            Commands
    : {}
            Items
    : {}
        3
    :
          DisplayName
    : '&c&lT&f&lN&c&lT'
          DisplayItem
    : 'TNT'
          DisplayAmount
    : 64
          Lore
    :
            - '&6&lChance
    : &c&l40%'
          MaxRange
    : 100
          Chance
    : 40
          Firework
    : false
          Glowing
    : false
          Unbreakable
    : false
          Items
    :
           - 'Item:TNT, Amount:64'
          Commands
    : {}
          Messages
    :
           - ''
          BlackListed-Permissions
    : {}
          Alternative-Prize
    : {}
            Toggle
    : false
            Messages
    : {}
            Commands
    : {}
            Items
    : {}
        4
    :
          DisplayName
    : '&6Iron Block'
          DisplayItem
    : '42'
          DisplayAmount
    : 8
          Lore
    :
            - '&6&lChance
    : &c&l15%'
          MaxRange
    : 100
          Chance
    : 15
          Firework
    : false
          Glowing
    : false
          Unbreakable
    : false
          Items
    :
           - 'Item:42, Amount:8'
          Commands
    : {}
          Messages
    : {}
          BlackListed-Permissions
    : {}
          Alternative-Prize
    : {}
            Toggle
    : false
            Messages
    : {}
            Commands
    : {}
            Items
    : {}
        2
    :
          DisplayName
    : '&b&lCheap Helmet'
          DisplayItem
    : 'GOLD_HELMET'
          DisplayAmount
    : 1
          Lore
    :
           - '&7Win a cheap helmet.'
            - '&6&lChance
    : &c&l60%'
          DisplayEnchantments
    : #Adds enchantments to the display item.
            - 'PROTECTION_ENVIRONMENTAL:1'
            - 'OXYGEN:1'
          MaxRange
    : 100
          Chance
    : 60
          Firework
    : false
          Glowing
    : false
          Player
    : ''
          Unbreakable
    : false
          Items
    :
           - 'Item:GOLD_HELMET, Amount:1, Name:&bCheap Helmet, PROTECTION_ENVIRONMENTAL:1, OXYGEN:1'
          BlackListed-Permissions
    : {}
          Alternative-Prize
    :
            Toggle
    : false
            Messages
    : {}
            Commands
    : {}
            Items
    : {}
        3
    :
          DisplayName
    : '&e&l$1,000'
          DisplayItem
    : 'DOUBLE_PLANT:0'
          DisplayAmount
    : 1
          Lore
    :
           - '&7Make it rain Money.'
            - '&6&lChance
    : &c&l20%'
          MaxRange
    : 100
          Chance
    : 20
          Firework
    : true
          Glowing
    : false
          Player
    : ''
          Unbreakable
    : false
          Commands
    :
           - 'eco give %Player% 1000'
          # - 'pex user %player% add crazycrates.blacklist.basic.3' #This is the line where you would give the user the permission.
          Messages
    :
           - '&7You just won &a$1,000&7.'
          BlackListed-Permissions
    :
           - 'crazycrates.blacklist.basic.3'
          Alternative-Prize
    :
            Toggle
    : true
            Messages
    :
              - '&8[&bCrazyCrates&8]
    : &7You have already won that prize, so enjoy some gold nuggets.'
            Commands
    :
             - 'give %player% 371 16'
            Items
    : {}
     
  2. Send us the error.
     
  3. We need more information, which spigot version, what's the actual error?
     
  4. When your on the server you can type:
    /version (Server version)

    Also what is the version of the plugin?