Bonjour, j'ai un problème, quand je veux ouvrir un "chest" nommé jeu (/cc open jeu) ça me dis qu'il n'existe pas, quand je démarre mon serveur, dans la console il y a écrit : 1) Invalid YAML configuration for the menu "jeu.yml". Please look at the error above, or use an online YAML parser (google is your friend).
Voila la config du "chest" :
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&6Jeu'
# rows - the number of rows of the chest - REQUIRED
rows: 2
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'menu'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note pling; tell: &eYou opened the example menu.'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: wool:1
left-click: false
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
spawncmd:
COMMAND: 'warp pvpbox'
NAME: '&6Pvp&4Box'
LORE:
- 'Cliquez sur ce plastron pour '
- 'être téleporté au hub pvpbox.'
ID: 315
POSITION-X: 1
POSITION-Y: 1
spawncmd:
COMMAND: '&4A venir !'
NAME: '&7Payday'
LORE:
- 'Cliquez ici pour être'
- 'téléporté au hub du payday'
ID: 101
POSITION-X: 2
POSITION-Y:1
Voila la config du "chest" :
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&6Jeu'
# rows - the number of rows of the chest - REQUIRED
rows: 2
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'menu'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note pling; tell: &eYou opened the example menu.'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: wool:1
left-click: false
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
spawncmd:
COMMAND: 'warp pvpbox'
NAME: '&6Pvp&4Box'
LORE:
- 'Cliquez sur ce plastron pour '
- 'être téleporté au hub pvpbox.'
ID: 315
POSITION-X: 1
POSITION-Y: 1
spawncmd:
COMMAND: '&4A venir !'
NAME: '&7Payday'
LORE:
- 'Cliquez ici pour être'
- 'téléporté au hub du payday'
ID: 101
POSITION-X: 2
POSITION-Y:1