Uploaded image for project: 'SpigotPlugins'
  1. SpigotPlugins
  2. PLUG-255

can somoene please fix my config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • None
    • when I edited my config in CustomCrates the plugin no seems to think that their is no crates in the config when their is 4 crates that I deved myself. Can someone please fix this for me and explain where I went wrong thanks so much <3

    • CustomCrates

      Crates:
         vote:
          ParticleEffect:
            enabled: false
            onlywhenopening: true
            particle: LAVA
          Key:
            material: TRIPWIRE_HOOK
            name: '&e&lVote &7&lKey'
            enchanted: true
            lore:
            - '&7&oThis is a %Crate% Crate Key'
          Sound:
            movingSound: WOOD_CLICK
            prizeSound: BAT_TAKEOFF
            closeInventorySound: CHEST_CLOSE
          LeftClickInv:
            enablechancelore: true
            lore:
            - '&7Chance: &c&l%chance%%'
            name: '&cItems for %crate%'
          OpenInv:
            name: '&cOpening %crate% Crate'
          PrizeItem:
            material: REDSTONE_TORCH_ON
            name: '&aPrize'
            enchanted: false
          PreCommands:
          - msg:%prefix%Now opening %crate% crate.
          BlockType: TRAPPED_CHEST
          Items:
            '1':
              enchanted: true
              material: BOOK
              chance: 25
              name: '&7&l$&e&l150,000'
              commands:
              - eco give %player% 50000
            '2':
              enchanted: true
              material: MAGMA_CREAM
              chance: 5
              name: '&7&l$&e&lMythical key'
              commands:
              - crate gk %player% Mythical 1
            '3':
              enchanted: true
              material: Diamond
              chance: 5
              name: '&7&l$&e&lDonor key'
              commands:
              - crate gk %player% Donor 1
            '4':
              enchanted: true
              material: Emerald
              name: '&7&lx&e&lLegendary key'
              chance: 1
              commands:
              - crate gk %player% Legendary 1
            '5':
              enchanted: true
              material: MOB_SPAWNER
              name: '&7&lx&e&lIronGolem Spawner'
              chance: 1
              commands:
              -ss give %player% Irongolem 1
            '6':
              enchanted: true
              material: MOB_SPAWNER
              name: '&7&lx&e&lBlaze spawner'
              chance: 3
              commands:
              -ss give %player% Blaze 1
            '7':
              enchanted: true
              material: MOB_SPAWNER
              chance: 5
              name: '&7&lx&e&l1 Mystery mob spawner'
              commands:
              - ms give %player%
           
         Donor:
          ParticleEffect:
            enabled: false
            onlywhenopening: true
            particle: LAVA
          Key:
            material: Diamond
            name: '&e&lDonor &7&lKey'
            enchanted: true
            lore:
            - '&7&oThis is a %Crate% Crate Key'
          Sound:
            movingSound: WOOD_CLICK
            prizeSound: BAT_TAKEOFF
            closeInventorySound: CHEST_CLOSE
          LeftClickInv:
            enablechancelore: true
            lore:
            - '&7Chance: &c&l%chance%%'
            name: '&cItems for %crate%'
          OpenInv:
            name: '&cOpening %crate% Crate'
          PrizeItem:
            material: REDSTONE_TORCH_ON
            name: '&aPrize'
            enchanted: false
          PreCommands:
          - msg:%prefix%Now opening %crate% crate.
          BlockType: CHEST
          Items:
            '1':
              enchanted: true
              material: MOB_SPAWNER
              chance: 25
              name: '&7&l$&e&l2Mystery mob spawner0'
              commands:
              - ms give %player%
              - ms give %player%
            '2':
              enchanted: true
              material: Diamond
              chance: 10
              name: '&7&l$&e&lDonor key'
              commands:
              - crate gk %player% Donor 1
            '3':
              enchanted: true
              material: MAGMA_CREAM
              chance: 5
              name: '&7&l$&e&lMythical key
              commands:
              - crate gk %player% Mythical 1
            '4':
              enchanted: true
              material: Emerald
              name: '&7&lx&e&lLegendary crate'
              chance: 3
              commands:
              - crate gk %player% Legendary 1
            '5':
              enchanted: true
              material: Book
              name: '&7&lx&e&l250000
              chance: 25
              commands:
              - eco give %player% 250000
            '6':
              enchanted: true
              material: DIAMOND AXE
              name: '&7&lx&e&lSuper tier 1 axe'
              chance: 3
              commands:
              - kit supertier1axe %player%
          
         Mythical:
          ParticleEffect:
            enabled: false
            onlywhenopening: true
            particle: LAVA
          Key:
            material: MAGMA_CREAM
            name: '&e&lMythical &7&lKey'
            enchanted: true
            lore:
            - '&7&oThis is a %Crate% Crate Key'
          Sound:
            movingSound: WOOD_CLICK
            prizeSound: BAT_TAKEOFF
            closeInventorySound: CHEST_CLOSE
          LeftClickInv:
            enablechancelore: true
            lore:
            - '&7Chance: &c&l%chance%%'
            name: '&cItems for %crate%'
          OpenInv:
            name: '&cOpening %crate% Crate'
          PrizeItem:
            material: REDSTONE_TORCH_ON
            name: '&aPrize'
            enchanted: false
          PreCommands:
          - msg:%prefix%Now opening %crate% crate.
          BlockType: TRAPPED_CHEST
          Items:
            '1':
              enchanted: true
              material: MOB_SPAWNER
              chance: 25
              name: '&7&l$&e&l3 Mystery Mob Spawner'
              commands:
              - ms give %player%
              - ms give %player%
              - ms give %player%
            '2':
              enchanted: true
              material: Diamond
              chance: 25
              name: '&7&l$&e&l5 Donor keys'
              commands:
              - crate gk %player% Donor 5
            '3':
              enchanted: true
              material: MAGMA_CREAM
              chance: 15
              name: '&7&l$&e&lMythical key'
              commands:
              - crate gk %player% Mythical
            '4':
              enchanted: true
              material: Emerald
              name: '&7&lx&e&lLegendary key'
              chance: 10
              commands:
              - crate gk %player% Legendary
            '5':
              enchanted: true
              material: BOOK
              name: '&7&lx&e&l500000s'
              chance: 25
              commands:
              - eco give %player% 500000
            '6':
              enchanted: true
              material: PAPER
              name: '&7&lx&e&l100 McMMO Credits'
              chance: 15
              commands:
              - addcredits %player% 100
          
        Legendary:
          ParticleEffect:
            enabled: false
            onlywhenopening: true
            particle: LAVA
          Key:
            material: Emerald
            name: '&e&lLegendary &7&lKey'
            enchanted: true
            lore:
            - '&7&oThis is a %Crate% Crate Key'
          Sound:
            movingSound: WOOD_CLICK
            prizeSound: BAT_TAKEOFF
            closeInventorySound: CHEST_CLOSE
          LeftClickInv:
            enablechancelore: true
            lore:
            - '&7Chance: &c&l%chance%%'
            name: '&cItems for %crate%'
          OpenInv:
            name: '&cOpening %crate% Crate'
          PrizeItem:
            material: REDSTONE_TORCH_ON
            name: '&aPrize'
            enchanted: false
          PreCommands:
          - msg:%prefix%Now opening %crate% crate.
          BlockType: CHEST
          Items:
            '1':
              enchanted: true
              material: MOB_SPAWNER
              chance: 25
              name: '&7&l$&e&l5 Mystery mob spawners'
              commands:
              - ms give %player%
              - ms give %player%
              - ms give %player%
              - ms give %player%
              - ms give %player%
            '2':
              enchanted: true
              material: Diamond
              chance: 25
              name: '&7&l$&e&l10 Donor keys'
              commands:
              - crate gk %player% Donor 10
            '3':
              enchanted: true
              material: MAGMA_CREAM
              chance: 20
              name: '&7&l$&e&l3 Mythical keys'
              commands:
              - crate gk %player% Mythical 3
            '4':
              enchanted: true
              material: Emerald
              name: '&7&lx&e&lLegendary'
              chance: 50
              commands:
              - crate gk %player% Legendary
            '5':
              enchanted: true
              material: Book
              name: '&7&lx&e&l1500000'
              chance: 25
              commands:
              - eco give %player% 1500000
            '6':
              enchanted: true
              material: feather
              name: '&7&lPermanent &e&lMVP'
              chance: 0.5
              commands:
              - pex user %player% add group.MVP
              - pex user %player% suffix " &8[&2MVP&8]"
       

            Unassigned Unassigned
            OG_ROWAN Rowan Davies
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: