Aller au contenu

zarco70

Membre
  • Compteur de contenus

    357
  • Inscription

  • Dernière visite

  • Jours gagnés

    8
  • Crédits

    719 [Faire un don]

Tout ce qui a été posté par zarco70

  1. Non pas du tout dans le screen c'est marqué 1 erreur et toi tu lui demande de régler 3 erreurs c'est juste qu' a la ligne 36 il a marqué if {%arg 1%.%player's uuid%}isn't set: il n'a pas laissé d'espace entre la variable et le "isn't set"
  2. ok mais pourrait tu préciser quel action il faut faire avec ce block pour lui faire perdre de la durabilité et si on lui met Unbreaking sa le rend plus résistant ?
  3. je ne te conseille pas de demander ce genre de skript car il est assez long et tu devrais mieux apprendre le skript pour le faire toi même ou le modifier. Personne (ou presque) ne te fera ce skript sauf si il en ont déjà un tout prêt.
  4. change de skript prend la dev25 je n'ai plus le lien mais tu devrais le trouver facilement
  5. zarco70

    résolu ✔ L'item ne casse pas

    voila pour les carotes on right click: if target block is carrot_plant: if player's tool is diamond hoe named "&f» &eHoue de &6Farm": #ton code if durability of player's tool <= 0: remove 1 of hoe from player's tool stop
  6. zarco70

    résolu ✔ L'item ne casse pas

    normal il faut remplacer le " on right click" par le " on item damage "
  7. zarco70

    résolu ✔ L'item ne casse pas

    Voila le code command /hoe: trigger: set slot 0 of player to glowing diamond hoe named "&6Hoe de Farm." on item damage: wait a tick if durability of player's tool <= 0: remove 1 of hoe from player's tool stop
  8. zarco70

    résolu ✔ L'item ne casse pas

    voici if durability of player's tool <= 0:
  9. zarco70

    inactif ✖ Aide GUI item

    Aïe pour tant ce code la command /test1: trigger: open virtual chest with size 6 named "&8Quête agricole" to player wait a tick format gui slot 0 of player with 1 of bamboo named " " marche pour moi du coup je ne saurais pas plus t'aider sauf si tu as des erreurs quand tu reload ton skript dans ce cas la, il faudrait que tu me donnes les erreurs
  10. Bon voila le skript command /soin [<player>]: trigger: if {death.%arg-1%} is true: set the maximum health of the arg-1 to 10 set {_loc} to block above arg-1's location kill {Amor.%arg-1%} teleport arg-1 to {_loc} send "&6&l[SOIN] &eVous avez soigné %arg-1%" send "&6&l[SOIN] &eVous avez été soigné par le medecin" to arg-1 make console execute command "/effect %arg-1% clear" heal arg-1 set {death.%arg-1%} to false delete {Amor.%arg-1%} else: send "&c&l[SOIN] &cCe joueur n'est pas mort" on damage of player: if {death.%victim%} is false: if damage >= victim's health: cancel event set the maximum health of the victim to 0 spawn a squid at block below victim set {Amor.%victim%} to last spawned entity apply potion of invisibility of tier 255 to the last spawned entity for 99999999999 second apply potion of blindness of tier 255 to the victim for 99999999999 second make victim ride last spawned entity set {death.%victim%} to true set {_x} to x-coord of location of victim set {_y} to y-coord of location of victim set {_z} to z-coord of location of victim send "&eHEY ! &6J'ai besoin d'aide en: %{_x}%, %{_y}%, %{_z}%" stop else: cancel event stop on toggle sneak: wait a tick if {death.%player%} is true: make player ride {Amor.%player%} on damage of squid: cancel event on death of squid: clear drops Mais du coup vu que j'ai pas de variable, je ne peux pas faire en sorte que la commande soit executable que par le medecin Utilise-tu GroupeManager pour creer le grade Medecin ?
  11. ok mais la tu rajoute des lignes qui n'ont pas besoin d'être la sa rend le skript moin opti même si le code fais 4 lignes
  12. ok c'est assez simple à faire mais je ne sais pas comment détecter si le joueur est medecin as tu une variable ou autre ?
  13. Ca ne sert à rien de mettre deux fois le même code je l'ai déjà donné le if player is holding red dye: ne sert à rien car le if name of tool is "&4RL": vérif déjà l'item qu"il à dans la main
  14. zarco70

    résolu ✔ L'item ne casse pas

    utilise tu des lore pour la durabilité de ta houe ou utilise tu la durabilité de minecraft ?
  15. zarco70

    résolu ✔ Grade Kit

    Stv je peux t'aider pour les grades mais faut que tu me dises si tu les as fais en skript ou si tu utilise un plugin. Si tu les as fais en skript, alors donne moi la variable pour que je puisse l'adapter
  16. Voici le code on rightclick with red dye: name of tool is "&4RL": cancel event make player execute command "/rl"
  17. c'est normal il faut que tu mette cette variable sur false {inventory.%player%} je te fais la commande command /reset: trigger: set {inventory.%player%} to false tkt dans le code plus haut j'ai mis un "on First join" qui permettra de mettre par défaut la variable des joueurs sur false quand ils rejoindront pour la première fois le serveur
  18. c'est normal tu as créé une commande de warp mais tu le tu n'as pas mis d'argument donc la commande est pas bonne si tu créer une commande de warp, alors le warp d'essential ne marchera plus (SKRIPT est prioritaire sur les plugins) par contre si tu utilises les warps d'essentials mais que tu veux que le menu s'affiche lorsque le joueur fait la commande tu as juste à faire on first join: set {inventory.%player%} to false on command: if executor is a player: if command is "warp" or "warps": if {inventory.%player%} is false: cancel event set {inventory.%player%} to true open chest with 6 rows named "&6&lZeranium &e» &c&oVos Kits" to player wait a tick format slot 0 of player with nether star named " " to be unstealable format slot 1 of player with black glass named " " to be unstealable format slot 2 of player with black glass named " " to be unstealable format slot 3 of player with black glass named " " to be unstealable format slot 4 of player with black glass named " " to be unstealable format slot 5 of player with black glass named " " to be unstealable format slot 6 of player with black glass named " " to be unstealable format slot 7 of player with black glass named " " to be unstealable format slot 8 of player with nether star named " " to be unstealable format slot 9 of player with black glass named " " to be unstealable format slot 10 of player with yellow glass named " " to be unstealable format slot 11 of player with yellow glass named " " to be unstealable format slot 12 of player with yellow glass named " " to be unstealable format slot 13 of player with yellow glass named " " to be unstealable format slot 14 of player with yellow glass named " " to be unstealable format slot 15 of player with yellow glass named " " to be unstealable format slot 16 of player with yellow glass named " " to be unstealable format slot 17 of player with black glass named " " to be unstealable format slot 18 of player with black glass named " " to be unstealable format slot 19 of player with yellow glass named " " to be unstealable format slot 20 of player with enchanted book named "&f» &6&lEnchantement" with lore "&7➤ &eTéléporte-toi au &b&lTables d'Enchant|| &equi sont à disposition sur ce serveur|| &eafin de &b&lt'enchanter &e!||&6||&4&l∎ &c&oClique ici pour y accéder" to run [make player execute command "/warp enchant"] format slot 21 of player with chest named "&f» &6&lCaisse" with lore "&7➤ &eTéléporte-toi au &b&lBoîtes|| &equi sont à ouvrables grâce|| &eau &b&lClés||&6||&4&l∎ &c&oClique ici pour y accéder" to run [make player execute command "/warp boc"] format slot 23 of player with gold ingot named "&f» &6&lBanque" with lore "&7➤ &eTéléporte-toi a la &b&lBanque|| &equi te permettra de gagner de|| &el'&b&largent &een étant &b&lAFK &e!||&6||&4&l∎ &c&oClique ici pour y accéder" to run [make player execute command "/warp banque"] format slot 24 of player with diamond pickaxe named "&f» &6&lMinage" with lore "&7➤ &eTéléporte-toi au &b&lmonde Minage|| &eafin de récolter des &b&lminerais|| &epour te faire su &b&lStuff||&6||&4&l∎ &c&oClique ici pour y accéder" to run [make player execute command "/warp minage"] format slot 25 of player with yellow glass named " " to be unstealable format slot 26 of player with black glass named " " to be unstealable format slot 27 of player with black glass named " " to be unstealable format slot 28 of player with yellow glass named " " to be unstealable format slot 29 of player with emerald named "&f» &6&lAvenue Marchande" with lore "&7➤ &eTéléporte-toi a la &b&lzone Marchande|| &eoù tu y retrouvera tout les|| &b&lShop &edisponible &e!||&6||&4&l∎ &c&oClique ici pour y accéder" to run [make player execute command "/warp marchand"] format slot 34 of player with yellow glass named " " to be unstealable format slot 35 of player with black glass named " " to be unstealable format slot 36 of player with black glass named " " to be unstealable format slot 37 of player with yellow glass named " " to be unstealable format slot 38 of player with yellow glass named " " to be unstealable format slot 39 of player with yellow glass named " " to be unstealable format slot 40 of player with yellow glass named " " to be unstealable format slot 41 of player with yellow glass named " " to be unstealable format slot 42 of player with yellow glass named " " to be unstealable format slot 43 of player with yellow glass named " " to be unstealable format slot 44 of player with black glass named " " to be unstealable format slot 45 of player with nether star named " " to be unstealable format slot 46 of player with black glass named " " to be unstealable format slot 47 of player with black glass named " " to be unstealable format slot 48 of player with black glass named " " to be unstealable format slot 49 of player with arrow named "&c&lRetour en jeu" to close format slot 50 of player with black glass named " " to be unstealable format slot 51 of player with black glass named " " to be unstealable format slot 52 of player with black glass named " " to be unstealable format slot 53 of player with nether star named " " to be unstealable on inventory close: set {inventory.%player%} to false J'ai fais en sorte que quand le joueur fait un /warp, sa annule la commande et sa affiche le menu pour pas avoir l'erreur d'essentials. Une fois le menu ouvert sa te met la variable du joueur sur true pour que la commande ne soit plus annuler comme sa les joueurs peuvent se tp que à partir du menu Voila pour les kits on command: if executor is a player: if command is "kit" or "kits": if {inventory.%player%} is false: cancel event set {inventory.%player%} to true open chest with 6 rows named "&6&lZeranium &e» &c&oVos Kits" to player wait a tick format slot 0 of player with nether star named " " to be unstealable format slot 1 of player with yellow glass named " " to be unstealable format slot 2 of player with light green glass named "&aEmplacement Dévérouiller" to be unstealable format slot 3 of player with red glass named "&cEmplacement Bloquer" with lore "&e Montez en grades pour y avoir||&e accès !" to be unstealable format slot 4 of player with red glass named "&cEmplacement Bloquer" with lore "&e Montez en grades pour y avoir||&e accès !" to be unstealable format slot 5 of player with red glass named "&cEmplacement Bloquer" with lore "&e Montez en grades pour y avoir||&e accès !" to be unstealable format slot 6 of player with red glass named "&cEmplacement Bloquer" with lore "&e Montez en grades pour y avoir||&e accès !" to be unstealable format slot 7 of player with yellow glass named " " to be unstealable format slot 8 of player with nether star named " " to be unstealable format slot 9 of player with black glass named " " to be unstealable format slot 10 of player with yellow glass named " " to be unstealable format slot 11 of player with wooden sword named "&f» &8&lKit Mousaillon &f«" with lore "&7&m----------------------------||&7Ce kit contient&8:||&8- &7Full fer P1||&8- &7Une épée en fer T2||&8- &7Des outils en fer E2||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit mousaillon"] format slot 12 of player with stone sword named "&f» &3&lKit Pirate &f«" with lore "&7&m----------------------------||&bCe kit contient&9:||&9- &bFull Diamant P1||&9- &bUne épée en Diamant T2||&9- &bDes outils en Diamant E2||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit pirate"] format slot 13 of player with iron sword named "&f» &2&lKit Capitaine &f«" with lore "&7&m----------------------------||&aCe kit contient&2:||&2- &aFull Diamant P2||&2- &aUne épée en Diamant T3||&2- &aDes outils en Diamant E3||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit capitaine"] format slot 14 of player with golden sword named "&f» &6&lKit Corsair &f«" with lore "&7&m----------------------------||&eCe kit contient&6:||&6- &eFull Diamant P3 U1||&6- &eUne épée en Diamant T4 U1 F1||&6- &eDes outils en Diamant E4 U1||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit corsair"] format slot 15 of player with diamond sword named "&f» &5&lKit Phantom &f«" with lore "&7&m----------------------------||&dCe kit contient&5:||&5- &dFull Diamant P4 U2||&5- &dUne épée en Diamant T5 U2 F2||&5- &dDes outils en Diamant E5 U2||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit phantom"] format slot 16 of player with yellow glass named " " to be unstealable format slot 17 of player with black glass named " " to be unstealable format slot 18 of player with black glass named " " to be unstealable format slot 19 of player with yellow glass named " " to be unstealable format slot 20 of player with red glass named "&cEmplacement Bloqué" with lore "&e Achetez ce kit depuis le||&6 /Farm2Win &eou sur notre &6site &e!" to be unstealable format slot 21 of player with red glass named "&cEmplacement Bloqué" with lore "&e Achetez ce kit depuis le||&6 /Farm2Win &eou sur notre &6site &e!" to be unstealable format slot 22 of player with red glass named "&cEmplacement Bloqué" with lore "&e Achetez ce kit depuis le||&6 /Farm2Win &eou sur notre &6site &e!" to be unstealable format slot 23 of player with red glass named "&cEmplacement Bloqué" with lore "&e Achetez ce kit depuis le||&6 /Farm2Win &eou sur notre &6site &e!" to be unstealable format slot 24 of player with red glass named "&cEmplacement Bloqué" with lore "&e Achetez ce kit depuis|| &enotre &6site &e!" to be unstealable format slot 25 of player with yellow glass named " " to be unstealable format slot 26 of player with black glass named " " to be unstealable format slot 27 of player with black glass named " " to be unstealable format slot 28 of player with yellow glass named " " to be unstealable format slot 29 of player with grass named "&f» &2&lKit constructions &f«" with lore "&7&m----------------------------|| &3Un kit avec une assez grande|| &3variétée de blocs de décorations et autres.||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit contruction"] format slot 30 of player with enchantment table named "&f» &d&lKit Enchantement &f«" with lore "&7&m----------------------------|| &3Un kit contenant tout le|| &3nécéssaire pour réussir vos enchantements.||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit enchantement"] format slot 31 of player with ender pearl named "&f» &3&lKit Explorateur &f«" with lore "&7&m----------------------------|| &3Un kit avec tout les objets nécéssaire|| &3afin de partir a la recherche de pillage.||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit exploration"] format slot 32 of player with cauldron item named "&f» &6&lKit Alchimie &f«" with lore "&7&m----------------------------|| &3Un kit avec tout les ingrédients requis|| &3afin de préparer une grande variété de potions.||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit alchimie"] format slot 33 of player with diamond helmet named "&f» &5&lKit Abysse &f«" with lore "&7&m----------------------------|| &3Un kit trouvé par un groupe de pirates|| &3Il contient une armure précieuse...||&7&m----------------------------||&4&l∎ &c&oClique ici pour l'utiliser" to run [make player execute command "/kit abysse"] format slot 34 of player with yellow glass named " " to be unstealable format slot 35 of player with black glass named " " to be unstealable format slot 36 of player with black glass named " " to be unstealable format slot 37 of player with yellow glass named " " to be unstealable format slot 38 of player with yellow glass named " " to be unstealable format slot 39 of player with yellow glass named " " to be unstealable format slot 40 of player with yellow glass named " " to be unstealable format slot 41 of player with yellow glass named " " to be unstealable format slot 42 of player with yellow glass named " " to be unstealable format slot 43 of player with yellow glass named " " to be unstealable format slot 44 of player with black glass named " " to be unstealable format slot 45 of player with nether star named " " to be unstealable format slot 46 of player with black glass named " " to be unstealable format slot 47 of player with black glass named " " to be unstealable format slot 48 of player with black glass named " " to be unstealable format slot 49 of player with arrow named "&c&lRetour en jeu" to close format slot 50 of player with black glass named " " to be unstealable format slot 51 of player with black glass named " " to be unstealable format slot 52 of player with black glass named " " to be unstealable format slot 53 of player with nether star named " " to be unstealable Maintenant tes warps tu les creers appartir d'essentials et tu fais en sorte que les joueurs execute la commande /warp ou /kit quand ils clique sur un item dans ton menu
  19. zarco70

    résolu ✔ L'item ne casse pas

    Rien de plus simple remove 1 of carrot from player's tool si ton item à un nom Remove 1 of carrot named "Hoe" from player's tool et si ton item à un lore Remove 1 of carrot named "Hoe" with lore "Utilisation 0/10" from player's tool
  20. pas mal dommage que sa marche pas en dessous de la 1.14
  21. zarco70

    inactif ✖ Aide GUI item

    c'est très simple c'est juste un problème de tick quand on fait un Gui en TUSKE il est important d'espacer ton code voici un exemple: déjà je te conseille d'utiliser le code de TUSKE au lieu de create a new gui with id "joueurs" with virtual chest with 6 rows named "&8test": make gui slot 0 with {_t} open gui "joueurs" to player tu met command /test1: trigger: open virtual chest with size 6 named "&8Quête agricole" to player format gui slot 0 of player with 1 of bamboo named " " MAIS pour que sa marche il faut simple mettre un wait a tick entre le "open" et le "format" c'est une erreur que pas mal de personnes font quand ils débute en GUI Tuske command /test1: trigger: open virtual chest with size 6 named "&8Quête agricole" to player wait a tick format gui slot 0 of player with 1 of bamboo named " " PS: sa n'a rien avoir avec la version de ton skript c'est très bien comme c'est
  22. Bonjour, 2 choses: 1- Normalement si tu creer une commande qui existe déjà en provenant d'un plugin, sa doit marché 2- pour le "correct usage : /kit" c'est que tu t'es trompé dans la commande perso moi les menus s'ouvre oublie pas de mettre des "wait a tick" Exemple: command /warp: trigger: wait a tick open virtual chest with 5 rows named "&6&lWARPS" to player wait a tick format gui slot 22 of player with Diamond named "&b&lWARPS" to run: stop Ceci est un exemple donc le prends pas pour ton code (sauf si tu en as besoin) c'est un menu TUSKE.
  23. Version de Minecraft : 1.8.X Version de Skript : dev25 Addons utilisés: PirateSK, skUtilities, SkQuery, Tuske, Umbaska, skRayFall, SkStuff Description du script : Bonjour, J'ai besoin d'aide par rapport à skript. J'ai installé le plugin faction avec ses addons (massicore et Vault) mais suite à ces installations, skript ne marche plus je peux reload mes skript mais tout ce qu'il y a à l'intérieur ne marche pas genre je ne peux plus faire de commande et mes scorboard ne marche pas. Tout mes skript on arrêté de marcher pourtant le plugin skript se reload normalement et marche bien mais mes fichiers ne marche pas. - j'ai installé plusieurs fois avec toutes les version (en 1.8.X) des plugins Faction, Massicore et Vault - j'ai aucune erreur venant de la console - j'ai redem plusieurs fois la console - J'ai installé l'addon Facsk Cordialement
  24. Sauf qu'avant de se lancé dans un serveur il ne faut pas se contenter que de simple connaissance le mieux est d'apprendre un maximum le skript et de le comprendre. Le skript que j'ai donné est composé d'un loop, d'une commande et de condition si il ne connait aucun de c'est truc, alors il n'a rien à faire dans se Forum je suis d'accord qu'ils apprennent par eux même mais si ils sont pas capable de comprendre ce que j'ai donner, la on peut plus rien pour eux après pour des skript plus complexe, je suis d’accord avec toi.
×
×
  • 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.