Solved CrazyCrates Issue

Discussion in 'Spigot Help' started by Blackhawks8872, Jun 12, 2019.

  1. Hey, I recently changed the config of 1 of my crates. Now it stopped working, here is its config, thanks for the help!
    ---

    Crate:
    CrateType: Wheel
    CrateName: '&e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &7Crate'
    StartingKeys: 0
    InGUI: true
    Slot: 25
    OpeningBroadCast: false
    BroadCast: '%Prefix%&b%Player% &7opened a box &f&lUSER&7.'
    Item: chest
    Name: '&e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &7Crate'
    Lore:
    - '&b&l*&3&l*&9&l* &e&lM&6&li&e&ll&6&lk&e&ly &7Crate &9&l*&3&l*&b&l*'
    - '&b&lTier &9&l4 &bCrate'
    - '&bYou have &9%Keys% &bCrate(s) Left.'
    - '&bBuy more at &9&nLunarSky.Buycraft.Net'
    PhysicalKey:
    Name: '&e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &7Crate Key'
    Lore:
    - '&7Use this crate to claim your'
    - '&e&lM&6&li&e&ll&6&lk&e&l6&e&ly &e&lW&6&la&e&ly &7Crate at /warp crates'
    Item: '131'
    Glowing: true
    Prizes:
    '1':
    DisplayName: '&bx64 &7&l⏐ &9Coal Block '
    DisplayItem: coal_block
    DisplayAmount: 64
    Lore:
    - '&945% &bChance Of Winning'
    MaxRange: 100
    Chance: 45
    Firework: false
    Glowing: false
    Commands:
    - Give %Player% coal_block 64
    Messages:
    - ''
    '2':
    DisplayName: '&bx64 &7&l⏐ &9Iron Block '
    DisplayItem: iron_block
    DisplayAmount: 64
    Lore:
    - '&930% &bChance Of Winning'
    MaxRange: 100
    Chance: 30
    Firework: false
    Glowing: false
    Commands:
    - Give %Player% iron_block 64
    Messages:
    - ''
    '3':
    DisplayName: '&bx64 &7&l⏐ &9Gold Block '
    DisplayItem: gold_block
    DisplayAmount: 64
    Lore:
    - '&925% &bChance Of Winning'
    MaxRange: 100
    Chance: 25
    Firework: false
    Glowing: false
    Commands:
    - Give %Player% gold_block 64
    Messages:
    - ''
    '4':
    DisplayName: '&bx64 &7&l⏐ &9Diamond Block '
    DisplayItem: diamond_block
    DisplayAmount: 64
    Lore:
    - '&920% &bChance Of Winning'
    MaxRange: 100
    Chance: 20
    Firework: false
    Glowing: false
    Commands:
    - Give %Player% diamond_block 64
    Messages:
    - ''
    '5':
    DisplayName: '&bx64 &7&l⏐ &9Emerald Block '
    DisplayItem: emerald_block
    DisplayAmount: 64
    Lore:
    - '&915% &bChance Of Winning'
    MaxRange: 100
    Chance: 15
    Firework: true
    Glowing: false
    Commands:
    - Give %Player% emerald_block 64
    Messages:
    - ''
    '6':
    DisplayName: '&bx2 &7&l⏐ &e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly Crate '
    DisplayItem: tripwire_hook
    DisplayAmount: 2
    Lore:
    - '&910% &bChance Of Winning'
    MaxRange: 100
    Chance: 10
    Firework: true
    Glowing: false
    Commands:
    - cc give v milky 1 %player_name%
    Messages:
    - ''
    '7':
    DisplayName: '&bx1 &7&l⏐ &9$50000 '
    DisplayItem: paper
    DisplayAmount: 1
    Lore:
    - '&950% &bChance Of Winning'
    MaxRange: 100
    Chance: 50
    Firework: false
    Glowing: false
    Commands:
    - banknote give %Player% 50000
    Messages:
    - ''
    '8':
    DisplayName: '&bx1 &7&l⏐ &9$100000 '
    DisplayItem: paper
    DisplayAmount: 1
    Lore:
    - '&930% &bChance Of Winning'
    MaxRange: 100
    Chance: 30
    Firework: false
    Glowing: false
    Commands:
    - banknote give %Player% 100000
    Messages:
    - ''
    '9':
    DisplayName: '&bx1 &7&l⏐ &9$1000000 '
    DisplayItem: paper
    DisplayAmount: 1
    Lore:
    - '&910% &bChance Of Winning'
    MaxRange: 100
    Chance: 10
    Firework: true
    Glowing: true
    Commands:
    - banknote give %Player% 1000000
    - broadcast &9&l%player%&b Just won &e&l1 Milion Dollars&b from a &e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &e&lCrate&b&l! &7&o(( Get your's at &b&oHttps://LunarSky.Buycraft.Net&7&o ))
    Messages:
    - ''
    '11':
    DisplayName: '&bx1 &7&l⏐ &9Mars Rank '
    DisplayItem: paper
    DisplayAmount: 1
    Lore:
    - '&98% &bChance Of Winning'
    MaxRange: 100
    Chance: 8
    Firework: true
    Glowing: true
    Commands:
    - voucher give %Player% marsrank
    - broadcast &9&l%player%&b Just won &e&lx1 Mars Rank&b from a &e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &e&lCrate&b&l! &7&o(( Get your's at &b&oHttps://LunarSky.Buycraft.Net&7&o ))
    Messages:
    - ''
    '10':
    DisplayName: '&bx1 &7&l⏐ &9Milky Rank '
    DisplayItem: paper
    DisplayAmount: 1
    Lore:
    - '&95% &bChance Of Winning'
    MaxRange: 100
    Chance: 5
    Firework: true
    Glowing: true
    Commands:
    - voucher give %Player% milkyrank
    - broadcast &9&l%player%&b Just won &e&lx1 Milky Rank&b from a &e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &e&lCrate&b&l! &7&o(( Get your's at &b&oHttps://LunarSky.Buycraft.Net&7&o ))
    Messages:
    - ''
    '12':
    DisplayName: '&bx16 &7&l⏐ &9Blaze Spawner '
    DisplayItem: mob_spawner
    DisplayAmount: 1
    Lore:
    - '&920% &bChance Of Winning'
    MaxRange: 100
    Chance: 20
    Firework: false
    Glowing: false
    Commands:
    - us givespawner %Player% Blaze 16
    Messages:
    - ''
    '13':
    DisplayName: '&bx32 &7&l⏐ &9Blaze Spawner '
    DisplayItem: mob_spawner
    DisplayAmount: 1
    Lore:
    - '&920% &bChance Of Winning'
    MaxRange: 100
    Chance: 20
    Firework: false
    Glowing: false
    Commands:
    - us givespawner %Player% Blaze 32
    Messages:
    - ''
    '14':
    DisplayName: '&bx1 &7&l⏐ &9Iron Golem Spawner '
    DisplayItem: mob_spawner
    DisplayAmount: 1
    Lore:
    - '&920% &bChance Of Winning'
    MaxRange: 100
    Chance: 20
    Firework: false
    Glowing: false
    Commands:
    - us givespawner %Player% irongolem 1
    Messages:
    - ''
    '20':
    DisplayName: '&bx1 T4 &7&l⏐ &9Money Pouch'
    DisplayItem: ender_chest
    DisplayAmount: 1
    Lore:
    - '&940% &bChance Of Winning'
    MaxRange: 100
    Chance: 40
    Firework: true
    Glowing: true
    Commands:
    - mp 4 %player% 1
    Messages:
    - ''
     
  2. What do you get in the console?
     
  3. Celebrimbor

    Patron

    It would be helpful if there was a console error describing the config error.

    Maybe it has to do with you reordering #10 and #11 and skipping #15-19.

    Other shot in the dark guess.
    I would guess the plugin does not like you using a ' in the commands of #10 and 11.

    - broadcast &9&l%player%&b Just won &e&lx1 Mars Rank&b from a &e&lM&6&li&e&ll&6&lk&e&ly &e&lW&6&la&e&ly &e&lCrate&b&l! &7&o(( Get your's at &b&oHttps://LunarSky.Buycraft.Net&7&o ))

    If that's not it, please shared the config in a code post or something like hastebin.
     
  4. Fixed! Turns out when i was switching around the rewards i messed up with a space.
     

Share This Page