Aller au contenu
  • 0

Se connecter sur un autre serveur(bungee) en cliquant sur un item


Question

Posté(e)

Bonjour j'ai besoin d'aide pour mon skript je n'arrive pas à faire en sorte que quand on clique sur l'item du gui sa se connecte sur un autre serveur.

Voici le code:

#Skript by Skello14
On join:
   remove 1 fishing rod named "&c&lNavigation" from player
   give 1 fishing rod named "&c&lNavigation" to player
On right click with fishing rod:
       open chest with 1 rows named "&4&lNavigation" to player
       wait 1 tick
       format slot 5 of player with black stained glass pane to close
       format slot 1 of player with black stained glass pane to close
       format slot 3 of player with black stained glass pane to close
       format slot 0 of player with diamond sword named "&c&l1vs1" with lore "&5&oAffronte des joueurs pour devenir le meilleur" to close then run [make player execute command "/server swag"]
       format slot 4 of player with black stained glass pane to close
       format slot 2 of player with golden apple named "&d&lUHC" with lore "&5&oPrépare tes pommes d'or" to close then run [make player execute command "/server uhc"]
       format slot 6 of player with black stained glass pane to close
       format slot 7 of player with black stained glass pane to close
       format slot 8 of player with black stained glass pane to close
command /navigation:
   aliases: nv, nav
   permission: nav.gation
   trigger:
       open chest with 1 rows named "&4&lNavigation" to player
       wait 1 tick
       format slot 5 of player with black stained glass pane to close
       format slot 1 of player with black stained glass pane to close
       format slot 3 of player with black stained glass pane to close
       format slot 0 of player with diamond sword named "&c&l1vs1" with lore "&5&oAffronte des joueurs pour devenir le meilleur" to close then run [make player execute command "/server swag"]
       format slot 4 of player with black stained glass pane to close
       format slot 2 of player with golden apple named "&d&lUHC" with lore "&5&oPrépare tes pommes d'or" to close then run [make player execute command "/server uhc"]
       format slot 6 of player with black stained glass pane to close
       format slot 7 of player with black stained glass pane to close
       format slot 8 of player with black stained glass pane to close
On drop fishing rod:
   if player has permission "fish.bg":
       cancel event

5 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Essaye de remplace le [make player execute command "/command"] par [bungeecord connect player to "nom"]

Sinon tu peut faire une commande, exemple : ( je fais pas les tab )

command /envoie [<text>]:

trigger:

if arg 1 is "test":

bungeecord connect player to "test"

  • 0
Posté(e)

je peut me

Sinon tu peut faire une commande, exemple : ( je fais pas les tab )

command /envoie [<text>]:

trigger:

if arg 1 is "test":

bungeecord connect player to "test"[/color]

Sa marche pas . J'ai pas d'erreur

×
×
  • 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.