SkyWars Kity
Napsal: 28 bře 2016, 08:06
82.208.17.15:27074
Ahojte, dnes som sa rozhodol urobiť kity na skywars, ponastavoval som veci a nenačíta ho
Potom som ho dal do yaml parseru a tam vypisuje toto:
Ja sa do toho veľmi nerozumiem preto vás prosím o pomoc , Dakujem
Ahojte, dnes som sa rozhodol urobiť kity na skywars, ponastavoval som veci a nenačíta ho
Kód: Vybrat vše
# ####### kits.yml #######
#
# Kit configuration
#
# For documentation, please visit
# https://github.com/SkyWars/SkyWars/wiki/Configuration-kits
# #########
warrior-kit:
# This kit has a cost of 200002.
# It is a bit overpowered, so you may want to remove it.
cost: 2000
items:
# You can list any number of items here.
# Each item has a type:. It also may optionally have an enchantments:
# and amount:
# The type is a material name. You can get a list of these here:
# http://tiny.cc/BukkitMaterial
- {type: ARROW, amount: 15}
# When amount is not given, it defaults to 1.
- {type: BOW}
# You can also define a helmet, chestplate, leggings and boots.
# These will automatically be placed in the armor slots of the player.
helmet: {type: DIAMOND_HELMET}
chestplate: {type: DIAMOND_CHESTPLATE}
leggings: {type: DIAMOND_LEGGINGS}
# Every item may have an enchantments:. This contains a bunch of enchantments
# for the item. You can go to http://tiny.cc/BukkitEnchants to see a list of
# all the enchantment names.
boots: {type: DIAMOND_BOOTS, enchantments: {PROTECTION_FIRE: 2, PROTECTION_FALL: 1}}
better-kit:
# You can define a permission, a cost, or both for a kit.
# When you define a permission, the kit is only shown to people with that
# permission.
# This donor kit is not that great, so you may want to change it.
permission: detox.better.kit
items:
- {type: DIAMOND_SWORD, amount: 1, enchantments: {KNOCKBACK: 2}}
super-kit:
# This kit both requires the permission 'myserver.donator.kit2' and costs 20000.
permission: detox.super.kit2
cost: 50000
items:
boots: {type: DIAMOND_BOOTS, enchantments: {PROTECTION_ENVIRONMENTAL: 4, DURABILITY: 4},
name: "&cSuper Set", lore: ["&2Veľa šťastia"]}
- {type: BOW, enchantments: {ARROW_DAMAGE: 2, ARROW_FIRE: 2},
name: "&cSuper Set", lore: ["&2Veľa šťastia"]}
- {type: ARROW, amount: 32}
leggings: {type: DIAMOND_LEGGINGS, enchantments: {PROTECTION_ENVIRONMENTAL: 4, DURABILITY: 4},
name: "&cSuper Set", lore: ["&2Veľa šťastia"]}
chestplate: {type: DIAMOND_CHESTPLATE, enchantments: {PROTECTION_ENVIRONMENTAL: 4, DURABILITY: 4},
name: "&cSuper Set", lore: ["&2Veľa šťastia"]}
helmet: {type: DIAMOND_HELMET, enchantments: {PROTECTION_ENVIRONMENTAL: 4, DURABILITY: 4},
name: "&cSuper Set", lore: ["&2Veľa šťastia"]}
mega-kit:
# This kit both requires the permission 'myserver.donator.kit2' and costs 20000.
permission: detox.mega.kit3
cost: 200000
items:
boots: {type: DIAMOND_BOOTS, enchantments: {PROTECTION_ENVIRONMENTAL: 6, DURABILITY: 5},
name: "&bMega Set", lore: ["&bVeľa šťastia"]}
- {type: BOW, enchantments: {ARROW_DAMAGE: 5, ARROW_FIRE: 4},
name: "&bMega Set", lore: ["&bVeľa šťastia"]}
- {type: ARROW, amount: 64}
leggings: {type: DIAMOND_LEGGINGS, enchantments: {PROTECTION_ENVIRONMENTAL: 6, DURABILITY: 5},
name: "&bMega Set", lore: ["&bVeľa šťastia"]}
chestplate: {type: DIAMOND_CHESTPLATE, enchantments: {PROTECTION_ENVIRONMENTAL: 6, DURABILITY: 5},
name: "&bMega Set", lore: ["&bVeľa šťastia"]}
helmet: {type: DIAMOND_HELMET, enchantments: {PROTECTION_ENVIRONMENTAL: 6, DURABILITY: 5},
name: "&bMega Set", lore: ["&bVeľa šťastia"]}Potom som ho dal do yaml parseru a tam vypisuje toto:
Kód: Vybrat vše
ERROR:
while parsing a block mapping
in "<unicode string>", line 41, column 3:
permission: myserver.donator.kit2
^
expected <block end>, but found '<block sequence start>'
in "<unicode string>", line 46, column 5:
- {type: BOW, enchantments: {ARR ... Ja sa do toho veľmi nerozumiem preto vás prosím o pomoc , Dakujem