SkyWars Kity

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Ju3eN
Příspěvky: 539
Věk: 23
Registrován: 04 kvě 2015, 06:44
Reputation: 1
Bydliště: 192.168.0.1

SkyWars Kity

#1 Příspěvekod Ju3eN » 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

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

ProfesorG
Příspěvky: 63
Registrován: 14 říj 2014, 18:53
Reputation: 1

Re: SkyWars Kity

#2 Příspěvekod ProfesorG » 28 bře 2016, 12:46

Ahojky,
najdi si tam tohle: "permission: myserver.donator.kit2", pravděpodobně za tím máš mezeru která by tam být neměla.
Dále, nejsem si jist, zda toto
Spoiler: zobrazit
- {type: BOW, enchantments: {ARROW_DAMAGE: 2, ARROW_FIRE: 2},
name: "&cSuper Set", lore: ["&2Veľa šťastia"]}
- {type: ARROW, amount: 32}

patří pod item boty, jak to máš napsáno v configu. Spíš bych to napsal pod položku items :D

Zkus co ti to vyhodí.


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 17 hostů