Hello,I just created the config file for a chestmod plugin but when I put it in the Yaml parser, it say this:
Output
ERROR:
while parsing a block mapping
in "<unicode string>", line 11, column 3:
name: '&1Menu des maps'
^
expected <block end>, but found '<anchor>'
in "<unicode string>", line 29, column 24:
open-action: 'tell: '&eVous avez ouvert le menu des m ...
^
I don't understand,I tried to change but I didn't sucess.
Thanks for the help.
This is the yml file:
######################
#+ +#
- MENU SETTINGS #
#+ +#
######################
menu-settings:
- REQUIRED
- Appears as the title of the menu.
name: '&1Menu des maps'
- REQUIRED
- The number of rows in the menu.
rows: 3
- OPTIONAL (you can remove this or set it to '')
- Bind multiple commands using ; (command: 'menu; m; me')
command: 'maps'
- OPTIONAL
- How frequently the menu will be refreshed, in seconds.
- Useful if you have variables in items' descriptions.
auto-refresh: 5
- OPTIONAL
- This command command will be executed when the menu is opened.
- Supports all the icon command types.
open-action: 'tell: '&eVous avez ouvert le menu des maps.'
- OPTIONAL
- The menu will open only when right-clicking with a compass.
open-with-item:
id: compass
left-click: false
right-click: true
######################
#+ +#
- ITEMS #
#+ +#
######################
tpworld:
COMMAND: 'goto world'
NAME: '&e/Accueil'
LORE:
- 'Te teleporte a l accueil'
- '/goto world'
ID: chest
POSITION-X: 1
POSITION-Y: 1
tpvillagesable:
COMMAND: 'warp village'
NAME: '&e/Village du sable'
LORE:
- 'Visite le village'
- '/warp village'
ID: sandstone
POSITION-X: 4
POSITION-Y: 1
tptempledudesert:
COMMAND: 'warp temple-du-desert'
NAME: '&e/Temple du desert'
LORE:
- 'Te teleporte au temple'
- '/warp temple-du-desert'
ID: sand
POSITION-X: 5
POSITION-Y: 1
tparena:
COMMAND: 'goto arena'
NAME: '&e/Arene'
LORE:
- 'Teleporte toi a l arene'
- 'Et pars au combat. /goto arena'
ID: diamond_sword
POSITION-X: 2
POSITION-Y: 1
tpshop:
COMMAND: 'warp shop'
NAME: '&e/ChestShop'
LORE:
- 'Va au shop'
- 'Et fais des achats./warp shop'
ID: chest
POSITION-X: 3
POSITION-Y: 1
spawncmd:
COMMAND: '/menu'
NAME: '&e/Retour'
LORE:
- 'Retour'
- 'retour'
ID: chest
POSITION-X: 1
POSITION-Y: 1
menu-close-no-commands-no-lore:
NAME: '&6Ferme le menu'
ID: redstone lamp
LORE:
- 'ferme'
- 'le menu'
POSITION-X: 9
POSITION-Y: 3