Bonsoir,
Je suis entrain de créer un skript pour un serveur fac (pour les admins).
1) Mon problème c'est que je ne c'est pas comment faire pour ouvrir l'inventaire de quelqu'un par exemple en faisant clic droit avec un livre sur le joueur
2) Quand je clic droit avec une gunpowder named "Vanish [OFF]" passe à "Vanish [ON]" et quel sois enchanté pour le style :p
Avec la gunpowder je voudrais faire sa:
on right click with gunpowder:
If name of tool of player is "&6Vanish &8[&4OFF&8]":
make player execute command "/enchant unbreaking 1"
make player execute command "/vanish"
make player execute command "/rename &6Vanish_&8[&2ON&8]"
else:
If name of tool of player is "&6Vanish &8[&2ON&8]"
make player execute command "/enchant remove"
make player execute command "/vanish"
make player execute command "/rename &6Vanish_&8[&4OFF&8]"
mais si possible sans utilisé de plugins pour rename ou enchant remove... (en plus propre)
Merci d'avance
Cordialement.