Problème configuration ChestCommands

therocrapha

Massacreur de Mouton
16 Janvier 2016
44
2
23
23
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
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
27
Bruxelles - Belgique
www.phoenix-rebirth.fr
  • J'aime
Reactions: Benjylaw

therocrapha

Massacreur de Mouton
16 Janvier 2016
44
2
23
23
Voici l'image
 

Fichiers joints

  • 2016-05-19_19.46.12.png
    2016-05-19_19.46.12.png
    88.8 KB · Affichages: 130

AlxGam

Architecte en herbe
2 Mai 2016
130
2
75
Paris
Bizarre,

T'es-tu sur de ne pas t'être tromper dans ton Menu ?
Car c'est peu Probable que ce sois une Erreur sur ton Serveur.

Pour verifier cela créer un Menu Example (Celui de Base),
Et regarde si il marche ;)

Cdt,
AlxGam
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
27
Bruxelles - Belgique
www.phoenix-rebirth.fr
Salut,

On en revient à la première réponse de ce poste:
Ensuite, il faudrait que tu nous dise si tu as des erreurs dans tes logs et si en jeu tu reçois un message lorsque tu fais la commande (si oui, quel est-il) ?
En effet, @therocrapha, tu n'a répondu qu'à la seconde partie de la question:
non cela me met juste erreur faite /help
Il nous faudrait les erreurs dans les logs. Et si il n'y a pas d'erreur, c'est que tu n'a pas mis le fichier au bon endroit.

Quand tu fais /pl .
Ton Plugin s'affiche-T-il ?
Super sauf que le /pl permet juste de savoir si le plugin c'est bien lancé. Si il ne s'est pas bien lancé tu aura besoin des logs pour avoir plus d'information et si il c'est bien lancé tu aura également besoin de cette dernière information.
Conclusion: demande directement les logs ;)


Cordialement,
Detobel36
 
  • J'aime
Reactions: Benjylaw