Crazy Crates ERROR HELP

Discussion in 'Spigot Plugin Help' started by GameDropYT, Jun 20, 2016.

  1. I downloaded the crazy crates plugin and then I created new crates, but when I did it messud up the command /cc admin

    Here are the crates i made I have looked for hours for the mistake in the coding but i can't seem to find it can someone please help me thanks.

    Common Crate: https://codetidy.com/8536/
    Uncommon Crate: https://codetidy.com/8532/
    Rare Crate: https://codetidy.com/8533/
    Mythical Crate: https://codetidy.com/8534/
    Legendary Crate: https://codetidy.com/8535/
    Exotic Crate: https://codetidy.com/8538/


    Link to plugin: Click Me


    Server Version: Bukkit 1.10
     
  2. also the plugin was working before i tried to make new ones
     
  3. Is there a error in your console, or dose the command just not work?
     
  4. @GameDropYT if you need support on my plugins just tag me ;)

    Here is your error. Go to your Mythical Crate.
    http://wiki.ess3.net/yaml/261414
    That line at the bottom is missing the closing '.
    So it should look like this
    Code (Text):
    - '&7You just won &aMagical Angel Dust&7.'
     
  5. i have the same problem but everything is fine at my file i see:
    Crate:

    CrateType: Cosmic #Type of crate.
    CrateName: '&8Galactic Crate' #Name of the Inventory if a GUI crate.
    StartingKeys: 0 #Starting amount of keys when the player 1st joins.
    InGUI: true #If the crate shows in the /cc GUI.
    Slot: 23 #Slot the item is in the GUI.
    OpeningBroadCast: false #Enables/Disables the Broadcasts message when they open a crate.
    BroadCast: '' #Message that is broadcasted when opening the crate.
    Item: '130' #Item the crate is in the GUI
    Glowing: false #If the crate in the main /cc GUI is glowing or not.
    Name: '&d&lGalactic Chest' #Name of the item in the GUI.
    Lore: #The lore of the item in the GUI.
    - '&7This crate contains strange objects,'
    - '&7from somewhere beyond this planet.'
    - '&7You have &6%Keys% keys &7to open this crate with.'
    - '&7&l(&e&l!&7&l) Right click to view rewards.'
    PhysicalKey:
    Name: '&d&lGalactic Crate &b&lKey' #Name of the Key.
    Lore:
    - '&7A special Key' #Lore of the Key.
    - '&7For a special Crate.'
    Item: '131' #The item the key is.
    Glowing: true
    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: '&d&lGalactic Grass' #Name of the item shown by the crate.
    DisplayItem: '2' #Item that is shown by the crate.
    DisplayAmount: 1 #The ammount that is displayed
    Lore: #Lore will be shown in rewards GUI.
    - '&7Win some grass for your fields.'
    - '&6&lChance: &c&l40%'
    MaxRange: 100 #The max range that the chance will go though.
    Chance: 40 #Chance of that item getting picked. It would be 40/100 chance because MaxRange is 100.
    Firework: false #Firework when it is won.
    Glowing: false
    Tiers: #The Tiers the rewards can be found in.
    - 'Basic'
    - 'UnCommon'
    - 'Rare'
    #Items that the player wins if this prize is picked. (If you wish not to give an Item in the prize just delete the Items Section)
    #Please use these to make the item.
    #Item: to decide the kind of item it is.
    #Amount: the amount of that item they get.
    #Name: a custom name for that item (ColorCode dose work).
    #Lore: a custom lore for the item (ColorCode does work) and to make a new line in the lore use a , to split the lines.
    Items:
    - 'Item:2, Amount:32, Name:&d&lGalactic Grass'
    #Commands are the commands that are run when this prize is won. (If you wish not to use a CMD in the prize just delete the Commands Section)
    #You can use %Player% to get the player that won the prize.
    Commands:
    - 'broadcast &6&l%Player% &7has just won some Basic Grass.'
    2:
    DisplayName: '&d&lGalactic Crate &b&lKey'
    DisplayItem: '131'
    DisplayAmount: 1
    Lore:
    - '&7Win another key.'
    - '&6&lChance: &c&l10%'



    MaxRange: 100
    Chance: 60
    Firework: true
    Glowing: false
    Tiers:
    - 'Basic'
    - 'UnCommon'
    - 'Rare'
    Items:
    - 'Item:131, Amount:1, Name:&d&lGalactic Crate &b&lKey'
    3:
    DisplayName: '&e&l$1,000,000,000'
    DisplayItem: '339'
    DisplayAmount: 1
    Lore:
    - '&7Make it rain Money.'
    - '&6&lChance: &c&l20%'
    MaxRange: 100
    Chance: 20
    Firework: true
    Glowing: false
    Tiers:
    - 'Basic'
    - 'UnCommon'
    - 'Rare'
    Commands:
    - 'eco give %Player% 1000000000'
    4:
    DisplayName: '&b&lCrazy Crate &6&lKey'
    DisplayItem: '131'
    DisplayAmount: 1
    Lore:
    - '&7Win another key.'
    - '&6&lChance: &c&l10%'


    MaxRange: 100
    Chance: 10
    Firework: false
    Glowing: false
    Tiers:
    - 'Rare'
    Items:
    - 'Item:131, Amount:1, Name:&b&lCrazy Crate &6&lKey'
    5:
    DisplayName: '&e&l$1,000,000,000,000'
    DisplayItem: '175'
    DisplayAmount: 1
    Lore:
    - '&7Make it rain a butt load of Money.'
    - '&6&lChance: &c&l20%'
    MaxRange: 100
    Chance: 20
    Firework: true
    Glowing: false
    Tiers:
    - 'Rare'
    Commands:
    - 'Eco give %Player% 1000000000000'
    6:
    DisplayName: '&b&lCrazy Crate &6&lKey &7(x2)'
    DisplayItem: '131'
    DisplayAmount: 1
    Lore:
    - '&7A special Key'
    - '&7For a special Crate.'
    - '&6&lChance: &c&l5%'
    MaxRange: 100
    Chance: 5
    Firework: true
    Glowing: true
    Tiers:
    - 'UnCommon'
    - 'Rare'
    Commands:
    - 'cc give physical crazy 2 %Player%'