Aller au contenu

Messages recommandés

Posté(e) (modifié)

Bonjour,

Je voudrais savoir comment faire pour qu'à la connexion d'un joueur sur mon serveur, il lui soit automatiquement give une boussole nommée "&8« &a&lJeux&r &8»" qui quand le joueur clique droit dans les airs avec, sa lui ouvre un menu (Déjà créer, le code est ci-dessous)

Si possible que la boussole soit dans le slot numéro 5

Version :

Minecraft : 1.8

Serveur : 1.8

Addons :

SkQuerry

SkRayFall

(Si il faut en ajouter pour faire le truc que je voudrais, dites le moi, je les ajouterais ^^)

#===================================#

        #---- Options ----#

#===================================#

options:
    prefix: &9[&aJeux&9]
    
#===================================#

        #---- Commandes ----#

#===================================#

command play:
    trigger:
        open chest with 3 rows named "&8« &aJeux &8»" to player
        wait 3 ticks
        format slot 0 of player with a black glass named "&9*" to be unstealable
        format slot 1 of player with a black glass named "&9*" to be unstealable
        format slot 2 of player with a black glass named "&9*" to be unstealable
        format slot 3 of player with a black glass named "&9*" to be unstealable
        format slot 4 of player with a black glass named "&9*" to be unstealable
        format slot 5 of player with a black glass named "&9*" to be unstealable
        format slot 6 of player with a black glass named "&9*" to be unstealable
        format slot 7 of player with a black glass named "&9*" to be unstealable
        format slot 8 of player with a black glass named "&9*" to be unstealable
        format slot 9 of player with a black glass named "&9*" to be unstealable
        format slot 11 of player with a bed named "&6Rush" to close then run [make console execute command "/mv tp %player% Rush"]
        format slot 12 of player with a diamond sword named "&aPvPBox" to close then run [make console execute command "/mv tp %player% PvPBox"]
        format slot 13 of player with a golden axe named "&eFFA" to close then run [make console execute command "/mv tp %player% FFA"]
        format slot 14 of player with a iron sword named "&aPractice" to close then run [make console execute command "/mv tp %player% Practice"]
        format slot 15 of player with a sandstone named "&6Hikabrain" to close then run [make console execute command "/mv tp %player% Hikabrain"]
        format slot 17 of player with a black glass named "&9*" to be unstealable
        format slot 18 of player with a black glass named "&9*" to be unstealable
        format slot 19 of player with a black glass named "&9*" to be unstealable
        format slot 20 of player with a black glass named "&9*" to be unstealable
        format slot 21 of player with a black glass named "&9*" to be unstealable
        format slot 22 of player with a black glass named "&9*" to be unstealable
        format slot 23 of player with a black glass named "&9*" to be unstealable
        format slot 24 of player with a black glass named "&9*" to be unstealable
        format slot 25 of player with a black glass named "&9*" to be unstealable
        format slot 26 of player with a black glass named "&9*" to be unstealable
Modifié par _Sweeny_
Posté(e)
on join:
	clear player's inventory
	set slot 4 of player to compass named "&8« &a&lJeux&r &8»"
    
on first join:
	clear player's inventory
	set slot 4 of player to compass named "&8« &a&lJeux&r &8»"
	
on click with compass:
	if name of player's tool is "&8« &a&lJeux&r &8»":
		make player execute command "/§play"

Essaye sa

Posté(e)
il y a 25 minutes, Wildteams a dit :

on join:
	clear player's inventory
	set slot 4 of player to compass named "&8« &a&lJeux&r &8»"
    
on first join:
	clear player's inventory
	set slot 4 of player to compass named "&8« &a&lJeux&r &8»"
	
on click with compass:
	if name of player's tool is "&8« &a&lJeux&r &8»":
		make player execute command "/§play"

Essaye sa

Merci, je vais allée le tester

  • 3 semaines après...
Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • 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.