Solved CratesPlus help

Discussion in 'Plugin Help/Development/Requests' started by Xladen18, May 21, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Xladen18

    I have CratesPlus and when i add items for winnings in crate ingame it show only first item.
    If someone pls can help here is config
    Code:
    Crates:
      Dnevni:
        Knockback: 0.0
        Broadcast: false
        Firework: false
        Color: WHITE
        Winnings:
          '1':
            Type: ITEM
            Item Type: OBSIDIAN
            Item Data: 0
            Name: '&c&l64xObsidian'
            Amount: 64
            Percentage: 80
            Enchantments: []
            Lore: []
          '2':
            Type: ITEM
            Item Type: OBSIDIAN
            Item Data: 0
            Name: '&c&l32xObsidian'
            Amount: 32
            Percentage: 75
            Enchantments: []
            Lore: []
          '3':
            Type: ITEM
            Item Type: TNT
            Item Data: 0
            Name: '&c&l16xTnT'
            Amount: 16
            Percentage: 70
            Enchantments: []
            Lore: []
          '4':
            Type: ITEM
            Item Type: BEDROCK
            Item Data: 0
            Name: '&c&l16xBedrock'
            Amount: 16
            Percentage: 65
            Enchantments: []
            Lore: []
          '5':
            Type: ITEM
            Item Type: MONSTER_EGG
            Item Data: 50
            Name: '&c&l2xCreeperEgg'
            Amount: 2
            Percentage: 60
            Enchantments: []
            Lore: []
          '6':
            Type: ITEM
            Item Type: DIAMOND
            Item Data: 0
            Name: '&c&l8xDiamond'
            Amount: 8
            Percentage: 55
            Enchantments: []
            Lore: []
          '7':
            Type: ITEM
            Item Type: DIAMOND
            Item Data: 0
            Name: '&c&l16xDiamond'
            Amount: 16
            Percentage: 50
            Enchantments: []
            Lore: []
          '8':
            Type: ITEM
            Item Type: 322
            Item Data: 0
            Name: '&c&l12xGoldenApple'
            Percentage: 45
            Amount: 12
            Enchantments: []
            Lore: []
          '9':
            Type: ITEM
            Item Type: 322:1
            Item Data: 1
            Name: '&c&l6xEnchantedGoldenApple'
            Percentage: 40
            Amount: 6
            Enchantments: []
            Lore: []
    
    And here is ingame picture
    https://i.imgur.com/75POjAL.png
     
    Last edited by a moderator: May 21, 2017
  2. Offline

    Dessie_YT

    @Xladen18
    https://pastebin.com/sBrvcZLy
    I fixed it up for you. Your percentages exceeded 100%, which it can't do. And you had a Creeper Egg in there, CratesPlus for some reason doesn't support eggs. Not sure why. To fix this, make a kit with Essentials, then in the CratesPlus config, make a command to be ran that runs the /kit <kitname> command on the player, this should give them their eggs. You can't display the egg though, so put something like the egg, such as gunpowder, or a creeper head.
     
  3. Offline

    Xladen18

    Man thanks so mutch,i was looking for error 3 days.
     
Thread Status:
Not open for further replies.

Share This Page