iiZeyTex Posté(e) le 2 août 2015 Posté(e) le 2 août 2015 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
iiZeyTex Posté(e) le 3 août 2015 Auteur Posté(e) le 3 août 2015 Bravo ! Très bon skript. Merci Polymeth ! Toi aussi j'aime t'es skript ! :D 1
Tarradon Posté(e) le 3 août 2015 Posté(e) le 3 août 2015 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
Polymeth Posté(e) le 3 août 2015 Posté(e) le 3 août 2015 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.
iiZeyTex Posté(e) le 3 août 2015 Auteur Posté(e) le 3 août 2015 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 :)
Tarradon Posté(e) le 3 août 2015 Posté(e) le 3 août 2015 Je ne met jamais d'espaces au ":". Par contre c'est vrai pour l'enderchest. Je ne parlais pas de toi :')) ^^ Je parlais iizeytex :)
Tarradon Posté(e) le 3 août 2015 Posté(e) le 3 août 2015 Ok D'accord , je vais regler ça :) Par contre faut le faire a chaque fois que ta un item qui ouvre un menu ^^ ;)
iiZeyTex Posté(e) le 3 août 2015 Auteur Posté(e) le 3 août 2015 Par contre faut le faire a chaque fois que ta un item qui ouvre un menu ^^ ;) J'était en train de manger ^^
Polymeth Posté(e) le 3 août 2015 Posté(e) le 3 août 2015 Je ne parlais pas de toi :')) ^^ Je parlais iizeytex :) Je sais, hein. J'était en train de manger ^^ Magnifique hors-sujet. ;)
iiZeyTex Posté(e) le 3 août 2015 Auteur Posté(e) le 3 août 2015 Je sais, hein. Magnifique hors-sujet. ;) xD
Invité Posté(e) le 3 août 2015 Posté(e) le 3 août 2015 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
RoRo29 Posté(e) le 4 août 2015 Posté(e) le 4 août 2015 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 :)
iiZeyTex Posté(e) le 4 août 2015 Auteur Posté(e) le 4 août 2015 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 !
RoRo29 Posté(e) le 4 août 2015 Posté(e) le 4 août 2015 @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%"
itsMalu Posté(e) le 5 août 2015 Posté(e) le 5 août 2015 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
itsMalu Posté(e) le 5 août 2015 Posté(e) le 5 août 2015 En réalité ne fonctionne pas chez moi, voici les erreurs http://pastebin.com/Suje182k
RoRo29 Posté(e) le 5 août 2015 Posté(e) le 5 août 2015 En réalité ne fonctionne pas chez moi, voici les erreurs http://pastebin.com/Suje182k Tu as vérifier t'es add-on ?
RjDreams_YCB Posté(e) le 9 août 2015 Posté(e) le 9 août 2015 Petit erreur, ligne 6, tu as oubliez de fermez la ". Sinon, excellent skript =)
iiZeyTex Posté(e) le 9 août 2015 Auteur Posté(e) le 9 août 2015 Petit erreur, ligne 6, tu as oubliez de fermez la ". Sinon, excellent skript =) Ha oui :p et Merci ! 1
Aexon Posté(e) le 6 septembre 2015 Posté(e) le 6 septembre 2015 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
Transfohera Posté(e) le 20 septembre 2015 Posté(e) le 20 septembre 2015 Comment on fait pour faire en sorte que le joueur ne puisse pas drope les item ?
Aexon Posté(e) le 20 septembre 2015 Posté(e) le 20 septembre 2015 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.
Messages recommandés