Aller au contenu

Messages recommandés

Posté(e)

Bonsoir, voici le code que tu demande (il te faut SkQuery) :

command /chest:
   trigger:
       open chest with 1 rows named "&6Coffre" to player
       format slot 0 of player with bed named "&4Hub" to close then run [make player execute command "/spawn"]

 

Bonne soirée et si ta demande est résolue passe le sujet en résolu ^^

Posté(e)
Bonsoir, voici le code que tu demande (il te faut SkQuery) :

command /chest:
   trigger:
       open chest with 1 rows named "&6Coffre" to player
       format slot 0 of player with bed named "&4Hub" to close then run [make player execute command "/spawn"]

 

Bonne soirée et si ta demande est résolue passe le sujet en résolu ^^

il faut être en 1.7 ou 1.8 car en 1.8 ça ne marche pas

Posté(e)

Voici mon code :

on rightclick with clock:
   make player execute command "/menugui"
   wait 1 tick

on join:
   give a clock named "&6Menui GUI" to the slot 0 of player

on respawn:
   give a clock named "&6Menu GUI" to the slot 0 of player


command /menugui:
   trigger:
       open chest with 1 rows named "&6Menu GUI" to player
       send "&6Menu GUI ouvert !"
       wait 1 tick
       format slot 0 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 1 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 2 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 3 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 4 of player with bed named "&cSpawn" with lore "&bClique ici pour être téléporter vers le spawn" to close then run [make player execute command "/spawn"]
       wait 1 tick
       format slot 5 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 6 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 7 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 8 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick

 

C'est presque le même code que Pokii,pour moi il te faut les addons : Skript,SkQuery et WildSkript j'ai uniquement cela et ça fonctionne.

Posté(e)
Voici mon code :

on rightclick with clock:
   make player execute command "/menugui"
   wait 1 tick

on join:
   give a clock named "&6Menui GUI" to the slot 0 of player

on respawn:
   give a clock named "&6Menu GUI" to the slot 0 of player


command /menugui:
   trigger:
       open chest with 1 rows named "&6Menu GUI" to player
       send "&6Menu GUI ouvert !"
       wait 1 tick
       format slot 0 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 1 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 2 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 3 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 4 of player with bed named "&cSpawn" with lore "&bClique ici pour être téléporter vers le spawn" to close then run [make player execute command "/spawn"]
       wait 1 tick
       format slot 5 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 6 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 7 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick
       format slot 8 of player with light blue stained glass pane named "" to be unstealable
       wait 1 tick

 

C'est presque le même code que Pokii,pour moi il te faut les addons : Skript,SkQuery et WildSkript j'ai uniquement cela et ça fonctionne.

sa ne marche pas j'ai tous les addons

 

[ATTACH=full]909[/ATTACH] [ATTACH=full]909[/ATTACH]

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