OryGaming Posté(e) le 15 avril 2016 Posté(e) le 15 avril 2016 Quand je fais le report /report pseudo sa m'ouvre le gui je choisis la raison puis quand je reçoi l'info en tant que staff cela me met pour le tp send json ça : Puis j'aimerais que vous ajoutiez dans les infos du report sont ip si possible merci le code : options: ld: &a&l[&c&lReport&a&l] &a-> command /report <player> [<text>]: usage: "{@ld} &cIndique un pseudonyme !" trigger: open chest with 3 rows named "&o&2Report &o&4--> &o&cMenu" to player format slot 0 of player with white glass named " " to be unstealable format slot 1 of player with white glass named " " to be unstealable format slot 2 of player with white glass named " " to be unstealable format slot 3 of player with white glass named " " to be unstealable format slot 4 of player with player head named "&c%arg 1%" to be unstealable format slot 5 of player with white glass named " " to be unstealable format slot 6 of player with white glass named " " to be unstealable format slot 7 of player with white glass named " " to be unstealable format slot 8 of player with white glass named " " to be unstealable format slot 9 of player with white glass named " " to be unstealable format slot 10 of player with diamond sword named "&cFREKILL" to close then run [make player execute command "/report %arg 1% FK"] format slot 11 of player with white glass named " " to be unstealable format slot 12 of player with white glass named " " to be unstealable format slot 13 of player with white glass named " " to be unstealable format slot 14 of player with white glass named " " to be unstealable format slot 15 of player with white glass named " " to be unstealable format slot 16 of player with white glass named " " to be unstealable format slot 17 of player with white glass named " " to be unstealable format slot 18 of player with white glass named " " to be unstealable format slot 19 of player with white glass named " " to be unstealable format slot 20 of player with white glass named " " to be unstealable format slot 22 of player with white glass named " " to be unstealable format slot 23 of player with white glass named " " to be unstealable format slot 24 of player with white glass named " " to be unstealable format slot 25 of player with white glass named " " to be unstealable format slot 26 of player with white glass named " " to be unstealable format slot 21 of player with white glass named " " to be unstealable if arg 2 is "FK": loop all players: if loop-player have permission "inovia.staff": message "&6&l====== Information du joueur %arg 1% ======" message "&4Pour: FreeKill" send json "&4TP Joueur: &c%arg 1%" tooltip "&aClique ici !" run "/tp %arg 1%" to loop-player message "&6&l====== Information du joueur %arg 1% ======" 1
Soufreur78 Posté(e) le 15 avril 2016 Posté(e) le 15 avril 2016 Pour les messages json utilise plutôt ce modèle : json("%player%", "&4TP Joueur: &c%arg 1%||ttp: &aClique ici !||cmd://tp %arg 1%")
Yghore Posté(e) le 15 avril 2016 Posté(e) le 15 avril 2016 Ce serait possible de m'apprend quelque truc sur ce Dossier (comment utiliser enfaite xD) non car je connais le Json de base mais il ne marche pas xD
Messages recommandés