Aller au contenu
  • 0

Problème : Menu GUI + BungeeCord


Question

Posté(e)

Bonjour, j'ai créer un Menu GUI pour mon serveur et j'utilise BungeeCord, à l'intérieur du premier,

j'ai mis une sandstone qui lorsque que l'on click dessus nous ramène au serveur RushTheflag :

 

format slot 20 of player with sandstone named "&lRushTheFlag" to close then run [make player execute command "server RushTheFlag" ]

 

Le problème c'est que le serveur me dit que la commande n'existe pas alors que si je fait :

 

/server RushTheflag

 

Tout fonctionne correctement !

 

Pouvez vous m'aidez à résoudre ce problème, Merci D'avance !

24 réponses à cette question

Messages recommandés

  • 0
Posté(e)
function bungeeConnect(plr: player, server: text):
   bungeecord connect {_plr} to {_server}

make a gui slot 20 of player with sandstone named "&lRushTheFlag" to close then run function bungeeConnect(player, "RushTheFlag")

  • 0
Posté(e)

Merci mais cela ne marche pas ;(

 

Voici le code complet:

 

on click with a compass:
   wait 2 tick
   open chest with 6 rows named "&6Menu & Navigation" to player
   wait 1 tick
   format slot 0 of player with red glass named " " to be unstealable #Contour
   format slot 1 of player with white glass named " " to be unstealable
   format slot 2 of player with red glass named " " to be unstealable
   format slot 3 of player with white glass named " " to be unstealable
   format slot 4 of player with red glass named " " to be unstealable
   format slot 5 of player with white glass named " " to be unstealable
   format slot 6 of player with red glass named " " to be unstealable
   format slot 7 of player with white glass named " " to be unstealable
   format slot 8 of player with red glass named " " to be unstealable
   format slot 9 of player with white glass named " " to be unstealable
   format slot 18 of player with red glass named " " to be unstealable
   format slot 27 of player with white glass named " " to be unstealable
   format slot 36 of player with red glass named " " to be unstealable
   format slot 45 of player with white glass named " " to be unstealable
   format slot 17 of player with white glass named " " to be unstealable
   format slot 26 of player with red glass named " " to be unstealable
   format slot 35 of player with white glass named " " to be unstealable
   format slot 44 of player with red glass named " " to be unstealable
   format slot 53 of player with white glass named " " to be unstealable
   format slot 46 of player with red glass named " " to be unstealable
   format slot 47 of player with white glass named " " to be unstealable
   format slot 48 of player with red glass named " " to be unstealable
   format slot 49 of player with white glass named " " to be unstealable
   format slot 50 of player with red glass named " " to be unstealable
   format slot 51 of player with white glass named " " to be unstealable
   format slot 52 of player with red glass named " " to be unstealable
   format slot 20 of player with sandstone named "&lRushTheFlag" to run [make player execute command "/server RushTheFlag"]
   format slot 22 of player with extended splash health potion named "&c&lPractice" to close
   format slot 24 of player with gold sword named "&e&lMeetup" to close
   format slot 40 of player with player's skull named "&6&lStatistiques" to close #Statistiques




  • 0
Posté(e)
Merci mais cela ne marche pas ;(

 

Voici le code complet:

 

on click with a compass:
   wait 2 tick
   open chest with 6 rows named "&6Menu & Navigation" to player
   wait 1 tick
   format slot 0 of player with red glass named " " to be unstealable #Contour
   format slot 1 of player with white glass named " " to be unstealable
   format slot 2 of player with red glass named " " to be unstealable
   format slot 3 of player with white glass named " " to be unstealable
   format slot 4 of player with red glass named " " to be unstealable
   format slot 5 of player with white glass named " " to be unstealable
   format slot 6 of player with red glass named " " to be unstealable
   format slot 7 of player with white glass named " " to be unstealable
   format slot 8 of player with red glass named " " to be unstealable
   format slot 9 of player with white glass named " " to be unstealable
   format slot 18 of player with red glass named " " to be unstealable
   format slot 27 of player with white glass named " " to be unstealable
   format slot 36 of player with red glass named " " to be unstealable
   format slot 45 of player with white glass named " " to be unstealable
   format slot 17 of player with white glass named " " to be unstealable
   format slot 26 of player with red glass named " " to be unstealable
   format slot 35 of player with white glass named " " to be unstealable
   format slot 44 of player with red glass named " " to be unstealable
   format slot 53 of player with white glass named " " to be unstealable
   format slot 46 of player with red glass named " " to be unstealable
   format slot 47 of player with white glass named " " to be unstealable
   format slot 48 of player with red glass named " " to be unstealable
   format slot 49 of player with white glass named " " to be unstealable
   format slot 50 of player with red glass named " " to be unstealable
   format slot 51 of player with white glass named " " to be unstealable
   format slot 52 of player with red glass named " " to be unstealable
   format slot 20 of player with sandstone named "&lRushTheFlag" to run [make player execute command "/server RushTheFlag"]
   format slot 22 of player with extended splash health potion named "&c&lPractice" to close
   format slot 24 of player with gold sword named "&e&lMeetup" to close
   format slot 40 of player with player's skull named "&6&lStatistiques" to close #Statistiques




est ce que tu as tout les addons?

  • 0
Posté(e)
Il n'y a pas d’erreur juste il dit que la commande existe pas quand je click sur la sandstone et la version :confused:kript 2.2 Fixes V8b

Ton code est bon, tu es sûr que tu te connecte depuis le proxy du bungeecord ?

  • 0
Posté(e)

Tente ceci:

 

on click with a compass:
   wait 2 tick
   open chest with 6 rows named "&6Menu & Navigation" to player
   wait 1 tick
   format slot 0 of player with red glass named " " to be unstealable #Contour
   format slot 1 of player with white glass named " " to be unstealable
   format slot 2 of player with red glass named " " to be unstealable
   format slot 3 of player with white glass named " " to be unstealable
   format slot 4 of player with red glass named " " to be unstealable
   format slot 5 of player with white glass named " " to be unstealable
   format slot 6 of player with red glass named " " to be unstealable
   format slot 7 of player with white glass named " " to be unstealable
   format slot 8 of player with red glass named " " to be unstealable
   format slot 9 of player with white glass named " " to be unstealable
   format slot 18 of player with red glass named " " to be unstealable
   format slot 27 of player with white glass named " " to be unstealable
   format slot 36 of player with red glass named " " to be unstealable
   format slot 45 of player with white glass named " " to be unstealable
   format slot 17 of player with white glass named " " to be unstealable
   format slot 26 of player with red glass named " " to be unstealable
   format slot 35 of player with white glass named " " to be unstealable
   format slot 44 of player with red glass named " " to be unstealable
   format slot 53 of player with white glass named " " to be unstealable
   format slot 46 of player with red glass named " " to be unstealable
   format slot 47 of player with white glass named " " to be unstealable
   format slot 48 of player with red glass named " " to be unstealable
   format slot 49 of player with white glass named " " to be unstealable
   format slot 50 of player with red glass named " " to be unstealable
   format slot 51 of player with white glass named " " to be unstealable
   format slot 52 of player with red glass named " " to be unstealable
   format slot 20 of player with sandstone named "&lRushTheFlag" to close then run "/server RushTheFlag"
   format slot 22 of player with extended splash health potion named "&c&lPractice" to close
   format slot 24 of player with gold sword named "&e&lMeetup" to close
   format slot 40 of player with player's skull named "&6&lStatistiques" to close #Statistiques

  • 0
Posté(e)

Bonjour, ce que tu peux faire, au lieu de faire executer la commande "/server

RushTheFlag"

 

Tu peux crée une autre commande

command /tacommand <text>:
   trigger:
       if arg 1 is "RushTheFlag":
           bungeecord connect player to "RushTheFlag"

  • 0
Posté(e)
Bonjour, ce que tu peux faire, au lieu de faire executer le commande "/server

RushTheFlag"

 

Tu peux crée une commande appart

command /tacommand <text>:
   trigger:
       if arg 1 is "RushTheFlag":
           bungeecord connect player to "RushTheFlag"

ça serai dommage de faire ça ^^ mais c'est une solution^^

  • 0
Posté(e)

Ok, autre test:

 

on click with a compass:
   wait 2 tick
   open chest with 6 rows named "&6Menu & Navigation" to player
   wait 1 tick
   format slot 0 of player with red glass named " " to be unstealable #Contour
   format slot 1 of player with white glass named " " to be unstealable
   format slot 2 of player with red glass named " " to be unstealable
   format slot 3 of player with white glass named " " to be unstealable
   format slot 4 of player with red glass named " " to be unstealable
   format slot 5 of player with white glass named " " to be unstealable
   format slot 6 of player with red glass named " " to be unstealable
   format slot 7 of player with white glass named " " to be unstealable
   format slot 8 of player with red glass named " " to be unstealable
   format slot 9 of player with white glass named " " to be unstealable
   format slot 18 of player with red glass named " " to be unstealable
   format slot 27 of player with white glass named " " to be unstealable
   format slot 36 of player with red glass named " " to be unstealable
   format slot 45 of player with white glass named " " to be unstealable
   format slot 17 of player with white glass named " " to be unstealable
   format slot 26 of player with red glass named " " to be unstealable
   format slot 35 of player with white glass named " " to be unstealable
   format slot 44 of player with red glass named " " to be unstealable
   format slot 53 of player with white glass named " " to be unstealable
   format slot 46 of player with red glass named " " to be unstealable
   format slot 47 of player with white glass named " " to be unstealable
   format slot 48 of player with red glass named " " to be unstealable
   format slot 49 of player with white glass named " " to be unstealable
   format slot 50 of player with red glass named " " to be unstealable
   format slot 51 of player with white glass named " " to be unstealable
   format slot 52 of player with red glass named " " to be unstealable
   format slot 20 of player with sandstone named "&lRushTheFlag" to close then run [make player execute command "/server RushTheFlag"]
   format slot 22 of player with extended splash health potion named "&c&lPractice" to close
   format slot 24 of player with gold sword named "&e&lMeetup" to close
   format slot 40 of player with player's skull named "&6&lStatistiques" to close #Statistiques

  • 0
Posté(e)
Bonjour, ce que tu peux faire, au lieu de faire executer la commande "/server

RushTheFlag"

 

Tu peux crée une autre commande

command /tacommand <text>:
   trigger:
       if arg 1 is "RushTheFlag":
           bungeecord connect player to "RushTheFlag"

Tente ceci écoute^^ c'est bizarre...

  • 0
Posté(e)

bungeecord ne marche pas comme sa on peut pas exécuter une commande bungee depuis un serveur spigot dite vous que le bungeecord est un autre serveur superposé au spigot et qui contient des commandes comme spigot mais qui ne sont exécutables seulement depuis le bungee donc voila pourquoi on est obliger de passer par une autre commande.

comme le bungeecord connect player to *serveur*

  • 0
Posté(e)
bungeecord ne marche pas comme sa on peut pas exécuter une commande bungee depuis un serveur spigot dite vous que le bungeecord est un autre serveur superposé au spigot et qui contient des commandes comme spigot mais qui ne sont exécutables seulement depuis le bungee donc voila pourquoi on est obliger de passer par une autre commande.

comme le bungeecord connect player to *serveur*

Sauf, que c'est le joueur qui execute la commande /server donc ça aurai du marcher.

  • 0
Posté(e)
Sauf, que c'est le joueur qui execute la commande /server donc ça aurai du marcher.

oui pour le joueur car il exécute la commande sur le bungeecord enfaite mais on ne peut pas faire sa avec skript car la commande sera envoyer sur le spigot et non sur le bungeecord

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.