Aller au contenu

GUI || Menu -> Pour un Lobby #3


Messages recommandés

Posté(e)

Bonjours a tous et à toute !

 

Voici un Menu

 

Voici le code :

 

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

        #----By iiZeyTex----#

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

       #Skript pour Skript-mc.fr !

#Skript totalement configurable !
#revente non-autorisé !
#ne pas supprimé le "By iiZeyTex" pour des respect d'auteur . Merci

#Connection
on join:
   clear inventory of the player
   add a ender chest named "&6Boutique " with lore "&9Clic droit" to the slot 8 of player
   add a paper named "&cMenu " with lore "&9Clic droit" to the slot 0 of player
   add a Sign named "&bInfo " with lore "&9Clic droit" to the slot 5 of player
   add a Clock named "&aLes serveurs"  with lore "&9Click droit" to the slot 3 of player

#Boutique ||
On rightclick with ender chest:
       if player is holding ender chest named "&6Boutique ":
           cancel event
           open chest with 3 row named "&a&lLa Boutique" to player
           wait 1 tick
           format slot 1 of player with Compass named "&atest" to be unstealable


#Les serveur  || Bungeecord
On rightclick with ender chest:
       open chest with 3 row named "&a&lLes Serveurs" to player
       wait 1 tick
       format slot 1 of player with Compass named "&aPvP-Faction" to close then run [make player execute command "/server MettreLeNom"]
       format slot 2 of player with Compass named "&aFreeBuild" to close then run [make player execute command "/server MettreLeNom"]
       format slot 3 of player with Compass named "&aSemi-Rp" to close then run [make player execute command "/server MettreLeNom"]

#Information ||
On rightclick with Sign:
   open chest with 3 row named "&b&lInformation" to player
   wait 1 tick

   format slot 11 of player with Compass named "&aSite Web" to be unstealable
   format slot 13 of player with Head named "&a" to be unstealable
   format slot 15 of player with Clock named "&aTeamSpeak" to be unstealable


#Menu ||
On rightclick with paper:
   open chest with 6 row named "&e&lMenu du serveur" to player
   wait 1 tick

#---------->#
   format slot 0 of player with Yellow stained glass named " " to be unstealable      
   format slot 1 of player with Yellow stained glass named " " to be unstealable
   format slot 2 of player with Yellow stained glass named " " to be unstealable
   format slot 3 of player with Yellow stained glass named " " to be unstealable
   format slot 5 of player with Yellow stained glass named " " to be unstealable
   format slot 6 of player with Yellow stained glass named " " to be unstealable
   format slot 7 of player with Yellow stained glass named " " to be unstealable
   format slot 8 of player with Yellow stained glass named " " to be unstealable
   format slot 9 of player with Yellow stained glass named " " to be unstealable
   format slot 17 of player with Yellow stained glass named " " to be unstealable
   format slot 18 of player with Yellow stained glass named " " to be unstealable
   format slot 4 of player with Yellow stained glass named " " to be unstealable
   format slot 26 of player with Yellow stained glass named " " to be unstealable
   format slot 27 of player with Yellow stained glass named " " to be unstealable
   format slot 36 of player with Yellow stained glass named " " to be unstealable
   format slot 53 of player with Yellow stained glass named " " to be unstealable
   format slot 51 of player with Yellow stained glass named " " to be unstealable
   format slot 47 of player with Yellow stained glass named " " to be unstealable
   format slot 48 of player with Yellow stained glass named " " to be unstealable
   format slot 49 of player with Yellow stained glass named " " to be unstealable
   format slot 50 of player with Yellow stained glass named " " to be unstealable
   format slot 51 of player with Yellow stained glass named " " to be unstealable
   format slot 52 of player with Yellow stained glass named " " to be unstealable
   format slot 53 of player with Yellow stained glass named " " to be unstealable
   format slot 35 of player with Yellow stained glass named " " to be unstealable
   format slot 45 of player with Yellow stained glass named " " to be unstealable
   format slot 44 of player with Yellow stained glass named " " to be unstealable
   format slot 46 of player with Yellow stained glass named " " to be unstealable

#----------->#
   format slot 10 of player with white stained glass named " " to be unstealable
   format slot 11 of player with white stained glass named " " to be unstealable
   format slot 12 of player with white stained glass named " " to be unstealable
   format slot 13 of player with white stained glass named " " to be unstealable
   format slot 14 of player with white stained glass named " " to be unstealable
   format slot 15 of player with white stained glass named " " to be unstealable
   format slot 16 of player with white stained glass named " " to be unstealable
   format slot 19 of player with white stained glass named " " to be unstealable
   format slot 21 of player with white stained glass named " " to be unstealable
   format slot 23 of player with white stained glass named " " to be unstealable
   format slot 25 of player with white stained glass named " " to be unstealable
   format slot 28 of player with white stained glass named " " to be unstealable
   format slot 29 of player with white stained glass named " " to be unstealable
   format slot 31 of player with white stained glass named " " to be unstealable
   format slot 33 of player with white stained glass named " " to be unstealable
   format slot 34 of player with white stained glass named " " to be unstealable
   format slot 37 of player with white stained glass named " " to be unstealable
   format slot 38 of player with white stained glass named " " to be unstealable
   format slot 39 of player with white stained glass named " " to be unstealable
   format slot 40 of player with white stained glass named " " to be unstealable
   format slot 41 of player with white stained glass named " " to be unstealable
   format slot 42 of player with white stained glass named " " to be unstealable
   format slot 43 of player with white stained glass named " " to be unstealable

#------------>#
   format slot 20 of player with Compass named "&aBientot" to be unstealable
   format slot 22 of player with Chest named "&aBientot" to be unstealable
   format slot 24 of player with Diamond Sword named "&aBientot" to be unstealable
   format slot 30 of player with Glass named "&aBientot" to be unstealable
   format slot 32 of player with book and quill named "&aBientot" to be unstealable

 

-----------------------

 

Pas de mise à jour prévu

 

----------------------

 

----------------------

 

Prochaine Skript

 

---------------------

 

Money

Posté(e)

Bonjour,

 

Bon petit début dans t'est petit skript, n'oublie pas de faire une condition que l'item s'appelle temps , car la il est ouvrable avec n'importe quel enderchest par exemple :

 

On rightclick with ender chest:
       if player is holding ender chest named "&6Boutique ":
           cancel event
           open chest with 3 row named "&a&lLa Boutique" to player
           wait 1 tick
           format slot 1 of player with Compass named "&atest" to be unstealable

 

et essaye de pas mettre d'espace avec les : , je m'explique par exemple :

 

On rightclick with ender chest :

 

tu a un espace , des fois a cause de sa tu pourrez avoir des erreur essaye de plutôt :

 

On rightclick with ender chest:

 

Sinon bon petit skript

Posté(e)
Bonjour,

 

Bon petit début dans t'est petit skript, n'oublie pas de faire une condition que l'item s'appelle temps , car la il est ouvrable avec n'importe quel enderchest par exemple :

 

On rightclick with ender chest:
       if player is holding ender chest named "&6Boutique ":
           cancel event
           open chest with 3 row named "&a&lLa Boutique" to player
           wait 1 tick
           format slot 1 of player with Compass named "&atest" to be unstealable

 

et essaye de pas mettre d'espace avec les : , je m'explique par exemple :

 

On rightclick with ender chest :

 

tu a un espace , des fois a cause de sa tu pourrez avoir des erreur essaye de plutôt :

 

On rightclick with ender chest:

 

Sinon bon petit skript

Je ne met jamais d'espaces au ":".

Par contre c'est vrai pour l'enderchest.

Posté(e)
Je ne met jamais d'espaces au ":".

Par contre c'est vrai pour l'enderchest.

Ok

Bonjour,

 

Bon petit début dans t'est petit skript, n'oublie pas de faire une condition que l'item s'appelle temps , car la il est ouvrable avec n'importe quel enderchest par exemple :

 

On rightclick with ender chest:
       if player is holding ender chest named "&6Boutique ":
           cancel event
           open chest with 3 row named "&a&lLa Boutique" to player
           wait 1 tick
           format slot 1 of player with Compass named "&atest" to be unstealable

 

et essaye de pas mettre d'espace avec les : , je m'explique par exemple :

 

On rightclick with ender chest :

 

tu a un espace , des fois a cause de sa tu pourrez avoir des erreur essaye de plutôt :

 

On rightclick with ender chest:

 

Sinon bon petit skript

 

D'accord , je vais regler ça :)

Posté(e)

Moi perso l’or de la connexion sur mon lobby ( avec un de mes skript ) quand je faisait "clear inventory of the player" cela me faisait clear l'inventaire dans tous les mondes avec multiverse ! donc j'aimerais savoir si l'on pouvais clear que dans un monde :) sinon bon skript

Posté(e)

Sinon au lieux de vérifier que il s'apelle "truc" on peut faire fonctionner que dans un seule monde :)

 

comme :

options
world: lobby #a changer

On join:
if player is in world "{@world}":
etc

 

PS dans le skript event ya ras sa ^^

PS 2 celui qu'on crée :)

Posté(e)
Moi perso l’or de la connexion sur mon lobby ( avec un de mes skript ) quand je faisait "clear inventory of the player" cela me faisait clear l'inventaire dans tous les mondes avec multiverse ! donc j'aimerais savoir si l'on pouvais clear que dans un monde :) sinon bon skript

Oui c'est possible !

Posté(e)

@Fosco97310

Moi perso l’or de la connexion sur mon lobby ( avec un de mes skript ) quand je faisait "clear inventory of the player" cela me faisait clear l'inventaire dans tous les mondes avec multiverse ! donc j'aimerais savoir si l'on pouvais clear que dans un monde :) sinon bon skript

 

Si tu veux tu peut utiliser :

 

On join:
make console execute command "clear %player%"

Posté(e)

add a Clock named "&aLes serveurs" with lore "&9Click droit to the slot 3 of player

 

il manque une quillement pour faire

add a Clock named "&aLes serveurs" with lore "&9Click droit" to the slot 3 of player

  • 4 semaines après...
Posté(e)

De toutes façons pour l'enderchest il suffit de vérifier le monde du joueur vu que c'est un lobby et en général on a pas l'enderchest à disposition dans les lobbys.

Sinon merci du partage :D

  • 2 semaines après...
Posté(e)
Comment on fait pour faire en sorte que le joueur ne puisse pas drope les item ?

format slot n of player with item named "name" to be unstealable

Où n est un nombre, item un item et name le nom.

  • 2 semaines après...
×
×
  • 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.