What is wrong with this config?

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Spenser

That guy!
Premium
Feedback score
38
Posts
3,427
Reactions
1,074
Resources
0
thanks i will try rn

EDIT: It didnt work
 
Last edited:

Satan

Devil#0666
Supreme
Feedback score
52
Posts
3,667
Reactions
1,442
Resources
0
Code:
Crates:
  Vote:
    ParticleEffect:
      enabled: false
      onlywhenopening: false
      particle: LAVA
    Key:
      material: GOLDEN_NUGGET
      name: '&8&l(&aVote Crate Key&8&l)'
      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: &a&l%chance%%'
      name: '&cItems for %crate%'
      enabled: true
    OpenInv:
      name: '&cOpening %crate%'
    PrizeItem:
      material: REDSTONE_TORCH_ON
      name: '&aPrize'
      enchanted: false
    PreCommands:
    - msg:%prefix%Now opening %crate% crate.
    BlockType: CHEST
    Items:
      '1':
        enchanted: true
        material: 52
        name: '&cSkeleton Spawner'
        chance: 45
        commands:
        - give %player% 52:51 1
        amount: 1
      '2':
        enchanted: true
        material: 52
        name: '&cZombie Spawner'
        chance: 45
        commands:
        - give %player% 52:54 1
        amount: 1
      '3':
        enchanted: true
        material: 52
        name: '&cCow Spawner'
        chance: 45
        commands:
        - give %player% 52:92 1
        amount: 1
      '4':
        enchanted: true
        material: 52
        name: '&cSpider Spawner'
        chance: 45
        commands:
        - give %player% 52:52 1
        amount: 1
      '5':
        enchanted: true
        material: PAPER
        name: '&c$5,000'
        chance: 55
        commands:
        - eco give %player% 5000
        amount: 1
      '6':
        enchanted: true
        material: PAPER
        name: '&c$10,000'
        chance: 35
        commands:
        - eco give %player% 10000
        amount: 1
      '7':
        enchanted: true
        material: 322
        name: '&cx4 Golden Apples'
        chance: 35
        commands:
        - give %player% 322:1 4
        amount: 1
      '8':
        enchanted: true
        material: 322
        name: '&cx8 Golden Apples'
        chance: 20
        commands:
        - give %player% 322:1 8
        amount: 1
      '9':
        enchanted: true
        material: DIAMOND_CHESTPLATE
        name: '&cKit &f// &c&lTitan'
        chance: 65
        commands:
        - kit Titan %player%
        amount: 1
      '10':
        enchanted: true
        material: DIAMOND_CHESTPLATE
        name: '&cKit &f// &5&lEmperor'
        chance: 55
        commands:
        - kit Emperor %player%
        amount: 1
      '11':
        enchanted: true
        material: 383
        name: '&cx4 Creeper Eggs'
        chance: 25
        commands:
        - give %player% 383:50 4
        amount: 1
      '12':
        enchanted: true
        material: IRON_INGOT
        name: '&cKey &f// &c&lSilver'
        chance: 5
        commands:
        - crate give %player% Silver 1
        amount: 1
      '13':
        enchanted: true
        material: CAKE
        name: '&cRank &f// &c&lVillager'
        chance: 1
        commands:
        - manuadd %player% Villager
        amount: 1
  Silver:
    ParticleEffect:
      enabled: false
      onlywhenopening: false
      particle: LAVA
    Key:
      material: IRON_INGOT
      name: '&8&l(&aSilver Crate Key&8&l)'
      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: &a&l%chance%%'
      name: '&cItems for %crate%'
      enabled: true
    OpenInv:
      name: '&cOpening %crate%'
    PrizeItem:
      material: REDSTONE_TORCH_ON
      name: '&aPrize'
      enchanted: false
    PreCommands:
    - msg:%prefix%Now opening %crate% crate.
    BlockType: ENDER_CHEST
    Items:
      '1':
        enchanted: true
        material: 52
        name: '&cCreeper Spawner'
        chance: 45
        commands:
        - give %player% 52:50 1
        amount: 1
      '2':
        enchanted: true
        material: 52
        name: '&cZombie Pigman Spawner'
        chance: 45
        commands:
        - give %player% 52:57 1
        amount: 1
      '3':
        enchanted: true
        material: 52
        name: '&cWitch Spawner'
        chance: 45
        commands:
        - give %player% 52:66 1
        amount: 1
      '4':
        enchanted: true
        material: 52
        name: '&cBlaze Spawner'
        chance: 45
        commands:
        - give %player% 52:61 1
        amount: 1
      '5':
        enchanted: true
        material: Paper
        name: '&c$25,000'
        chance: 55
        commands:
        - eco give %player% 25000
        amount: 1
      '6':
        enchanted: true
        material: Paper
        name: '&c$50,000'
        chance: 35
        commands:
        - eco give %player% 50000
        amount: 1
      '7':
        enchanted: true
        material: 322
        name: '&cx8 Golden Apples'
        chance: 35
        commands:
        - give %player% 322:1 8
        amount: 1
      '8':
        enchanted: true
        material: 322
        name: '&cx16 Golden Apples'
        chance: 20
        commands:
        - give %player% 322:1 16
        amount: 1
      '9':
        enchanted: true
        material: DIAMOND_CHESTPLATE
        name: '&cKit &f// &c&lEmperor'
        chance: 65
        commands:
        - kit Emperor %player%
        amount: 1
      '10':
        enchanted: true
        material: DIAMOND_CHESTPLATE
        name: '&cKit &f// &5&lZeus'
        chance: 55
        commands:
        - kit Zeus %player%
        amount: 1
      '11':
        enchanted: true
        material: TNT
        name: '&cCommand &f// &c&l/tntfill'
        chance: 15
        commands:
        - manuaddp %player% getmycombos.tntfill
        amount: 1
      '12':
        enchanted: true
        material: NAME_TAG
        name: '&cTag &f// &c&lChaotic Tag'
        chance: 25
        commands:
        - manuaddp %player% tagsgui.tags.Chaotic
        amount: 1
      '13':
        enchanted: true
        material: CAKE
        name: '&cRank &f// &c&lVillager'
        chance: 3
        commands:
        - manuadd %player% Villager
        amount: 1
      '14':
        enchanted: true
        material: CAKE
        name: '&cRank &f// &c&lChampion'
        chance: 2
        commands:
        - manuadd %player% Champion
        amount: 1
      '15':
        enchanted: true
        material: CAKE
        name: '&cRank &f// &c&lPaladin'
        chance: 1
        commands:
        - manuadd %player% Paladin
        amount: 1
  Rare:
    ParticleEffect:
      enabled: false
      onlywhenopening: false
      particle: LAVA
    Key:
      material: GOLD_INGOT
      name: '&8&l(&aRare Crate Key&8&l)'
      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: &a&l%chance%%'
      name: '&cItems for %crate%'
      enabled: true
    OpenInv:
      name: '&cOpening %crate%'
    PrizeItem:
      material: REDSTONE_TORCH_ON
      name: '&aPrize'
      enchanted: false
    PreCommands:
    - msg:%prefix%Now opening %crate% crate.
    BlockType: END_PORTAL_FRAME
    Items:
      '1':
        enchanted: true
        material: 52
        name: '&cBlaze Spawner'
        chance: 45
        commands:
        - give %player% 52:61 1
        amount: 1
      '2':
        enchanted: true
        material: 52
        name: '&cIron Golem Spawner'
        chance: 40
        commands:
        - give %player% 52:99 1
        amount: 1
      '3':
        enchanted: true
        material: 52
        name: '&cSilverfish Spawner'
        chance: 37
        commands:
        - give %player% 52:60 1
        amount: 1
      '4':
        enchanted: true
        material: 52
        name: '&cGhast Spawner'
        chance: 35
        commands:
        - give %player% 52:56 1
        amount: 1
      '5':
        enchanted: true
        material: Paper
        name: '&c$100,000'
        chance: 55
        commands:
        - eco give %player% 100000
        amount: 1
      '6':
        enchanted: true
        material: Paper
        name: '&c$250,000'
        chance: 35
        commands:
        - eco give %player% 250000
        amount: 1
      '7':
        enchanted: true
        material: DIAMOND_CHESTPLATE
        name: '&cKit &f// &c&lZeus'
        chance: 65
        commands:
        - kit Zeus %player%
        amount: 1
      '8':
        enchanted: true
        material: DIAMOND_CHESTPLATE
        name: '&cKit &f// &c&lOlympus'
        chance: 55
        commands:
        - kit Olympus %player%
        amount: 1
      '9':
        enchanted: true
        material: DIAMOND_AXE
        name: '&cItem &f// &c&lAdmin Axe'
        chance: 20
        commands:
        - kit Godaxe %player%
        amount: 1
      '10':
        enchanted: true
        material: NAME_TAG
        name: '&cTag &f// &c&lEmily Tag'
        chance: 25
        commands:
        - manuaddp %player% tagsgui.tags.Emily
        amount: 1
      '11':
        enchanted: true
        material: CAKE
        name: '&cRank &f// &c&lGod'
        chance: 3
        commands:
        - manuadd %player% God
        amount: 1
      '12':
        enchanted: true
        material: CAKE
        name: '&cRank &f// &c&lTitan'
        chance: 2
        commands:
        - manuadd %player% Titan
        amount: 1

-_- yaml parser tells you everything... le sigh. Fixed
 
Status
This thread has been locked.
Top