Voici ma configuration et quand je fais /boutique cela ne marche pas pourquoi ?
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&9>> &7Boutique Faction'
# rows - the number of rows of the chest - REQUIRED
rows: 6
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'boutique')
command: 'boutique'
# 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'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: bedrock
left-click: true
right-click: false
######################
#+ +#
# ITEMS #
#+ +#
######################
Item1:
PRICE: 50000
COMMAND: 'console: manuaddp {player} spawner.set.skeleton;tell: &6{player} a achete la commande &c/spawner skeleton'
NAME: '&6&lCommande spawner Skeleton'
LORE:
- '&7Acces a la commande &cspawner Skeleton'
- '&7Cette commande vous permet de modifier'
- '&7un Spawner'
- '&7en Spawner a &cZombie &7!'
- '&6>>'
- '&cAucun Grade requis pour acheter la commande'
- '&6>>'
- '&rPrix : &r&l50000 &rmoney'
PERMISSION: 'spawner.set.skeleton'
PERMISSION-MESSAGE: '&cVous avez deja la commande spawner skeleton.'
ID: spawner
POSITION-X: 1
POSITION-Y: 2
Item2:
PRICE: 50000
COMMAND: 'console: manuaddp {player} spawner.set.zombie;tell :&6{player} a achete la commande &cspawner zombie'
NAME: '&6&lCommande spawner Zombie'
LORE:
- '&7Acces a la commande &cspawner Zombie'
- '&7Cette commande vous permet de modifier'
- '&7un Spawner'
- '&7en Spawner a &cZombie &7!'
- '&6>>'
- '&cAucun Grade requis pour acheter la commande'
- '&6>>'
- '&rPrix : &r&l50000 &rmoney'
PERMISSION: 'spawner.set.skeleton'
PERMISSION-MESSAGE: '&cVous avez deja la commande spawner zombie.'
ID: spawner
POSITION-X: 3
POSITION-Y: 2
Item3:
PRICE: 45000
COMMAND: 'console: manuaddp {player} essentials.back;tell: &6{player} a achete la commande &cback'
NAME: '&6&lCommande back'
LORE:
- '&7Acces a la commande &cback'
- '&7Cette commande vous permet de vous teleporter'
- '&7a votre endroit precedent'
- '&6>>'
- '&cAucun Grade requis pour acheter la commande'
- '&6>>'
- '&rPrix : &r&l45000 &rmoney'
PERMISSION: 'essentials.back'
PERMISSION-MESSAGE: '&cVous avez deja la commande back.'
ID: spawner
POSITION-X: 5
POSITION-Y: 2
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&9>> &7Boutique Faction'
# rows - the number of rows of the chest - REQUIRED
rows: 6
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'boutique')
command: 'boutique'
# 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'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: bedrock
left-click: true
right-click: false
######################
#+ +#
# ITEMS #
#+ +#
######################
Item1:
PRICE: 50000
COMMAND: 'console: manuaddp {player} spawner.set.skeleton;tell: &6{player} a achete la commande &c/spawner skeleton'
NAME: '&6&lCommande spawner Skeleton'
LORE:
- '&7Acces a la commande &cspawner Skeleton'
- '&7Cette commande vous permet de modifier'
- '&7un Spawner'
- '&7en Spawner a &cZombie &7!'
- '&6>>'
- '&cAucun Grade requis pour acheter la commande'
- '&6>>'
- '&rPrix : &r&l50000 &rmoney'
PERMISSION: 'spawner.set.skeleton'
PERMISSION-MESSAGE: '&cVous avez deja la commande spawner skeleton.'
ID: spawner
POSITION-X: 1
POSITION-Y: 2
Item2:
PRICE: 50000
COMMAND: 'console: manuaddp {player} spawner.set.zombie;tell :&6{player} a achete la commande &cspawner zombie'
NAME: '&6&lCommande spawner Zombie'
LORE:
- '&7Acces a la commande &cspawner Zombie'
- '&7Cette commande vous permet de modifier'
- '&7un Spawner'
- '&7en Spawner a &cZombie &7!'
- '&6>>'
- '&cAucun Grade requis pour acheter la commande'
- '&6>>'
- '&rPrix : &r&l50000 &rmoney'
PERMISSION: 'spawner.set.skeleton'
PERMISSION-MESSAGE: '&cVous avez deja la commande spawner zombie.'
ID: spawner
POSITION-X: 3
POSITION-Y: 2
Item3:
PRICE: 45000
COMMAND: 'console: manuaddp {player} essentials.back;tell: &6{player} a achete la commande &cback'
NAME: '&6&lCommande back'
LORE:
- '&7Acces a la commande &cback'
- '&7Cette commande vous permet de vous teleporter'
- '&7a votre endroit precedent'
- '&6>>'
- '&cAucun Grade requis pour acheter la commande'
- '&6>>'
- '&rPrix : &r&l45000 &rmoney'
PERMISSION: 'essentials.back'
PERMISSION-MESSAGE: '&cVous avez deja la commande back.'
ID: spawner
POSITION-X: 5
POSITION-Y: 2