ChestCommand Chyba

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

ChestCommand Chyba

#1 Příspěvekod Ju3eN » 25 zář 2015, 11:34

82.208.17.15:27074

Ahoj , dneska sem dal vip do ChestCMDS a vypsalo mi tohle:

Kód: Vybrat vše

> 11:32:17 [SEVERE] Cannot load plugins/ChestCommands/menu/vip.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block collection
in "<string>", line 27, column 5:
- '&bKlikni pre otvorenie'
^
expected <block end>, but found Scalar
in "<string>", line 47, column 13:
COMMAND: 'open:uvip.yml' ...
^

at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at com.gmail.filoghost.chestcommands.ChestCommands.loadFile(ChestCommands.java:211)


Jako vím že je tam chyba , skoušel sem všechno, nerozumím co mam z temi chybamy delat. Skoušel sem to vymazat , nahradit z funkčního a nic. Prosim Pomozte!

Mike8748
Příspěvky: 823
Registrován: 30 bře 2014, 10:05
Reputation: 28

Re: ChestCommand Chyba

#2 Příspěvekod Mike8748 » 25 zář 2015, 12:53

dej sem vip.yml, do code tagu

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

Re: ChestCommand Chyba

#3 Příspěvekod Ju3eN » 25 zář 2015, 13:00

Kód: Vybrat vše

######################
#+                  +#
#   MENU SETTINGS    #
#+                  +#
######################


menu-settings:
  name: '&3&lVip'
  rows: 1


######################
#+                  +#
#       ITEMS        #
#+                  +#
######################


VIP:
  COMMAND: 'open:vips.yml'
  NAME: '&e&lVIP'
  LORE:
    - '&bKlikni pre otvorenie'
    - '&f&lVýhody VIP'
    - '&6[arrow_down][arrow_down][arrow_down][arrow_down]'
    - '&e/kit vip'
    - '&e/hat > &fNasadí ti na hlavu item ktorý držíš v ruke'
    - '&e/heal > &fUzdraví ťa'
    - '&e/night > &fDá Noc'
    - '&e/day > &fDá deň'
    - '&e/sun > &fVypne dážď'
    - '&e/rain > &fZapne dážď'
    - '&e/echest > &fNemúsiš otvárat svoju EnderChest rukou!'
    - '&aPripojíš sa na plný server !'
    - '&3200.000 &bMoney do hry
  ID: 264
  KEEP-OPEN: true
  POSITION-X: 1
  POSITION-Y: 1


UVIP:
  COMMAND: 'open:uvip.yml'                                                                                                   
  NAME: '&a&lUltraVIP'                         
  LORE:
    - '&bKlikni pre otvorenie'                             
    - '&f&lVýhody UltraVIP'               
    - '&b[arrow_down][arrow_down][arrow_down][arrow_down]'
    - '&c/invsee (hráč) > &eUvidíš čo ma hráč v inventári'
    - '&c/speed 1-10 > &eZvýši a zníži tvoju rýchlosť'
    - '&c/kit ultravip'
    - '&c/kit spawner'
    - '&2350.000 &aMoney do hry'
    - 'Všetky výhody čo ma VIP'                           
  ID: 264
  KEEP-OPEN: true
  POSITION-X: 2
  POSITION-Y: 1


about-menus:
  NAME: '&aAbout menus'
  LORE:
    - 'ChestCommands allows you to make have'
    - 'multiple menus. Each one has its own'
    - 'configuration, and its own permission.'
    - 'Open a menu file, inside the folder'
    - '&eplugins/ChestCommands/menu/'
    - 'to see how it appears. You will see'
    - '2 sections: menu settings and items.'
    - 'Do not remove "name" or "rows" because'
    - 'they are required. You can remove'
    - '"command" and "open-with-item".'
  ID: 389
  KEEP-OPEN: true
  POSITION-X: 3
  POSITION-Y: 1


items:
  NAME: '&aAbout single items'
  LORE:
    - 'An item is an icon of the menu, that can be clicked'
    - 'to execute one or more commands. There are multiple'
    - 'items in each menu, and each item contains some nodes.'
    - 'Example:'
    - ''
    - '&6spawncmd:           &8[arrow_left] Internal name, must not be the same of another'
    - '&e  COMMAND: ''spawn''           &7The command to execute without /'
    - '&e  NAME: ''Spawn''                &7The name'
    - '&e  LORE:                          &7The lore of the item'
    - '&e    - ''Warp to the spawn'''
    - '&e    - ''with this magic item'''
    - '&e  PRICE: 100                   &7The price of the command, can be omitted'
    - '&e  ID: 35                         &7The id of the item used'
    - '&e  DATA-VALUE: 3              &7The damage value of the item'
    - '&e  AMOUNT: 10                   &7The size of the stack, can be omitted'
    - '&e  ENCHANTMENT: power,10   &7The enchantment name with the level'
    - '&e  PERMISSION: chc.test       &7Permission required to click the item'
    - '&e  REQUIRED-ITEM: 264,1      &7Required item (for shops) <id>,[amount],[data]'
    - '&e  POSITION-X: 1               &7The position from the left side (1-9)'
    - '&e  POSITION-Y: 1               &7The position from the top side (1-[N. of rows])'
  ID: 267
  KEEP-OPEN: true
  POSITION-X: 4
  POSITION-Y: 1


commands:
  NAME: '&aAbout commands'
  LORE:
    - 'There are many types of commands:'
    - '&e- COMMAND: ''''&f = no command will be executed'
    - '&e- COMMAND: ''spawn''&f = executed as the player'
    - '&e- COMMAND: ''spawn;me teleported''&f = multiple commands'
    - '&e- COMMAND: ''console:say Hello''&f = executed as console'
    - '&e- COMMAND: ''op:say Hello!''&f = executed as OP'
    - '&e- COMMAND: ''open:example.yml''&f = to open another menu'
    - '&e- COMMAND: ''tell:Hello %player%!''&f = customizable message'
    - '&e- COMMAND: ''broadcast:Broadcasting!''&f = broadcast a message'
    - '&e- COMMAND: ''give:264,1,0''&f = Give items. give:<id>,[amount],[data]'
    - '&e- COMMAND: ''giveitem:example''&f = Give a configured item in items.yml'
    - ''
    - '&o&7You can use symbols (<3, [*], [v], [cross] ...) in "tell" and "broadcast".'
  ID: 137
  KEEP-OPEN: true
  POSITION-X: 5
  POSITION-Y: 1


symbols:
  NAME: '&aSymbols'
  LORE:
    - 'You can use these placeholders in'
    - 'NAME, LORE, "tell:" and "broadcast:"'
    - 'commands, to get this symbols:'
    - ''
    - '&e<&e3 &f= <3'
    - '&e[&e*] &f= [*]'
    - '&e[&e**] &f= [**]'
    - '&e[&e+] &f= [+]'
    - '&e[&e++] &f= [++]'
    - '&e[&ep] &f= [p]'
    - '&e[&ev] &f= [v]'
    - '&e[&ecross] &f= [cross]'
    - '&e[&ex] &f= [x]'
    - '&e[&e/] &f= [/]'
    - '&e[&earrow_right] &f = [arrow_right]'
    - '&e[&earrow_up] &f = [arrow_up]'
    - '&e[&earrow_down] &f = [arrow_down]'
    - '&e[&earrow_left] &f = [arrow_left]'
  ID: 323
  KEEP-OPEN: true
  POSITION-X: 6
  POSITION-Y: 1


return-to-main:
  COMMAND: 'open:main-menu.yml'
  NAME: '&6[arrow_left] Back to the main menu'
  ID: 399
  KEEP-OPEN: true
  POSITION-X: 9
  POSITION-Y: 1


Tady . Toho dolu si nevšímejte jenom to vip

Mike8748
Příspěvky: 823
Registrován: 30 bře 2014, 10:05
Reputation: 28

Re: ChestCommand Chyba

#4 Příspěvekod Mike8748 » 25 zář 2015, 14:00

u LORE v sekci VIP ti na poslední řádce chybí ' na konci textu, tím to rozhodí zbytek YML struktury

Uživatelský avatar
NetManSK
Příspěvky: 911
Registrován: 29 pro 2013, 20:00
Reputation: 0
Bydliště: Kartonova 3

Re: ChestCommand Chyba

#5 Příspěvekod NetManSK » 25 zář 2015, 14:04

Kód: Vybrat vše

COMMAND: 'open: uvip.yml'

daj to takto.. medzi open a tvojom menu musí byť medzera za :
Dobrí obchodníci:
MarekBurget,Escalator
Pomohol som ti? K+

vojtamaniak
Příspěvky: 3512
Věk: 26
Registrován: 18 úno 2012, 21:02
Reputation: 11

Re: ChestCommand Chyba

#6 Příspěvekod vojtamaniak » 25 zář 2015, 14:23

U posledního lore u VIP jsi měl neuzavřenou uvozovku.

Opraveno zde:

Kód: Vybrat vše

######################
#+                  +#
#   MENU SETTINGS    #
#+                  +#
######################


menu-settings:
  name: '&3&lVip'
  rows: 1


######################
#+                  +#
#       ITEMS        #
#+                  +#
######################


VIP:
  COMMAND: 'open:vips.yml'
  NAME: '&e&lVIP'
  LORE:
    - '&bKlikni pre otvorenie'
    - '&f&lVýhody VIP'
    - '&6[arrow_down][arrow_down][arrow_down][arrow_down]'
    - '&e/kit vip'
    - '&e/hat > &fNasadí ti na hlavu item ktorý držíš v ruke'
    - '&e/heal > &fUzdraví ťa'
    - '&e/night > &fDá Noc'
    - '&e/day > &fDá deň'
    - '&e/sun > &fVypne dážď'
    - '&e/rain > &fZapne dážď'
    - '&e/echest > &fNemúsiš otvárat svoju EnderChest rukou!'
    - '&aPripojíš sa na plný server !'
    - '&3200.000 &bMoney do hry'
  ID: 264
  KEEP-OPEN: true
  POSITION-X: 1
  POSITION-Y: 1


UVIP:
  COMMAND: 'open:uvip.yml'                                                                                                   
  NAME: '&a&lUltraVIP'                         
  LORE:
    - '&bKlikni pre otvorenie'                             
    - '&f&lVýhody UltraVIP'               
    - '&b[arrow_down][arrow_down][arrow_down][arrow_down]'
    - '&c/invsee (hráč) > &eUvidíš čo ma hráč v inventári'
    - '&c/speed 1-10 > &eZvýši a zníži tvoju rýchlosť'
    - '&c/kit ultravip'
    - '&c/kit spawner'
    - '&2350.000 &aMoney do hry'
    - 'Všetky výhody čo ma VIP'                           
  ID: 264
  KEEP-OPEN: true
  POSITION-X: 2
  POSITION-Y: 1


about-menus:
  NAME: '&aAbout menus'
  LORE:
    - 'ChestCommands allows you to make have'
    - 'multiple menus. Each one has its own'
    - 'configuration, and its own permission.'
    - 'Open a menu file, inside the folder'
    - '&eplugins/ChestCommands/menu/'
    - 'to see how it appears. You will see'
    - '2 sections: menu settings and items.'
    - 'Do not remove "name" or "rows" because'
    - 'they are required. You can remove'
    - '"command" and "open-with-item".'
  ID: 389
  KEEP-OPEN: true
  POSITION-X: 3
  POSITION-Y: 1


items:
  NAME: '&aAbout single items'
  LORE:
    - 'An item is an icon of the menu, that can be clicked'
    - 'to execute one or more commands. There are multiple'
    - 'items in each menu, and each item contains some nodes.'
    - 'Example:'
    - ''
    - '&6spawncmd:           &8[arrow_left] Internal name, must not be the same of another'
    - '&e  COMMAND: ''spawn''           &7The command to execute without /'
    - '&e  NAME: ''Spawn''                &7The name'
    - '&e  LORE:                          &7The lore of the item'
    - '&e    - ''Warp to the spawn'''
    - '&e    - ''with this magic item'''
    - '&e  PRICE: 100                   &7The price of the command, can be omitted'
    - '&e  ID: 35                         &7The id of the item used'
    - '&e  DATA-VALUE: 3              &7The damage value of the item'
    - '&e  AMOUNT: 10                   &7The size of the stack, can be omitted'
    - '&e  ENCHANTMENT: power,10   &7The enchantment name with the level'
    - '&e  PERMISSION: chc.test       &7Permission required to click the item'
    - '&e  REQUIRED-ITEM: 264,1      &7Required item (for shops) <id>,[amount],[data]'
    - '&e  POSITION-X: 1               &7The position from the left side (1-9)'
    - '&e  POSITION-Y: 1               &7The position from the top side (1-[N. of rows])'
  ID: 267
  KEEP-OPEN: true
  POSITION-X: 4
  POSITION-Y: 1


commands:
  NAME: '&aAbout commands'
  LORE:
    - 'There are many types of commands:'
    - '&e- COMMAND: ''''&f = no command will be executed'
    - '&e- COMMAND: ''spawn''&f = executed as the player'
    - '&e- COMMAND: ''spawn;me teleported''&f = multiple commands'
    - '&e- COMMAND: ''console:say Hello''&f = executed as console'
    - '&e- COMMAND: ''op:say Hello!''&f = executed as OP'
    - '&e- COMMAND: ''open:example.yml''&f = to open another menu'
    - '&e- COMMAND: ''tell:Hello %player%!''&f = customizable message'
    - '&e- COMMAND: ''broadcast:Broadcasting!''&f = broadcast a message'
    - '&e- COMMAND: ''give:264,1,0''&f = Give items. give:<id>,[amount],[data]'
    - '&e- COMMAND: ''giveitem:example''&f = Give a configured item in items.yml'
    - ''
    - '&o&7You can use symbols (<3, [*], [v], [cross] ...) in "tell" and "broadcast".'
  ID: 137
  KEEP-OPEN: true
  POSITION-X: 5
  POSITION-Y: 1


symbols:
  NAME: '&aSymbols'
  LORE:
    - 'You can use these placeholders in'
    - 'NAME, LORE, "tell:" and "broadcast:"'
    - 'commands, to get this symbols:'
    - ''
    - '&e<&e3 &f= <3'
    - '&e[&e*] &f= [*]'
    - '&e[&e**] &f= [**]'
    - '&e[&e+] &f= [+]'
    - '&e[&e++] &f= [++]'
    - '&e[&ep] &f= [p]'
    - '&e[&ev] &f= [v]'
    - '&e[&ecross] &f= [cross]'
    - '&e[&ex] &f= [x]'
    - '&e[&e/] &f= [/]'
    - '&e[&earrow_right] &f = [arrow_right]'
    - '&e[&earrow_up] &f = [arrow_up]'
    - '&e[&earrow_down] &f = [arrow_down]'
    - '&e[&earrow_left] &f = [arrow_left]'
  ID: 323
  KEEP-OPEN: true
  POSITION-X: 6
  POSITION-Y: 1


return-to-main:
  COMMAND: 'open:main-menu.yml'
  NAME: '&6[arrow_left] Back to the main menu'
  ID: 399
  KEEP-OPEN: true
  POSITION-X: 9
  POSITION-Y: 1


Zpět na „Minecraft, Tekkit“

Kdo je online

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