Aller au contenu

Random

Ancien
  • Compteur de contenus

    1 100
  • Inscription

  • Dernière visite

  • Jours gagnés

    25

Tout ce qui a été posté par Random

  1. Random

    Problème avec les ARGUMENTS

    Les numéros après tes commandes servent à empêcher les joueurs d'utiliser la commande ? Si oui, mets une permission pour la commande, ou bien mets un § devant (command /§test), ou fais exécuter la commande par la console en utilisant les arguments (execute console command "verif %player% %arg 1%) Avec ta protection, tente ce code: on rightclick with a 154: if player's tool is a 154 named "&4&lMenu": open chest with 3 rows named "&4&lMenu" to player wait a ticks format slot 1 of player with 373:8258 named "&bSpeed" to close then run [make player execute command "speedeuh789789"] format slot 0 of player with white stained glass pane named "&f-" to be unstealable format slot 2 of player with white stained glass pane named "&f-" to be unstealable format slot 3 of player with lava bucket named "&6Troll" to close then run [make player execute command "trollgui56741"] format slot 4 of player with white stained glass pane named "&f-" to be unstealable format slot 22 of player with milk bucket named "&fEnlever les effects" to close then run [make player execute command "effect %player% clear"] format slot 5 of player with book named "&cVérif" to close then run [make player execute command "verif46451561"] command /verif46451561: trigger: send "&cEcrivez le nom du joueur dans le chat " set {c.verif.%player%} to true on chat: {c.verif.%player%} is set: cancel event clear {c.verif.%player%} set {_p} to "%message%" parsed as offline player {_p} is online: execute player command "verif %{_p}%" else: send "&cLe joueur ""%{_p}%"" n'est pas reconnu ou est déconnecté."
  2. Random

    Skript pour Inventaire

    command /test: trigger: player's inventory can hold 1 bedrock: send "&aSlot dispo" else: send "&cAucun slot dispo"
  3. Random

    Skript de chat

    command /me [<text>]: trigger: arg 1 is set: broadcast "&5%player% %arg 1%" else: send "&cUtilisation: /me <action>"
  4. Random

    Skript Give dans la deuxième main.

    https://www.spigotmc.org/threads/give-an-item-to-the-second-hand-of-the-player.248652/
  5. Random

    Suprimer des block quand on quitte

    Tente avec une variable {var} au lieu d'une temporaire {_var}
  6. Random

    /staff <message>

    T'as fait une petite faute de frappe à loop-player lors du message ^^
  7. Pourquoi ne pas juste faire: command /testsk: trigger: set {player} to player every 10 seconds: broadcast "&c%{player}'s UUID% &7- &b%{player}% &7- &2%{player}'s money%" ?
  8. Random

    Problème remove item

    Essaye en mettant les aliases: Aliases: item = 5067 set {_a} to amount of item in {_p}'s inventory remove {_a} item from {_p}'s inventory
  9. Random

    Problème avec les "%"

    Plusieurs choses: utilise plutôt les GUIs de l'addon TuSKe, ensuite sur ton screen y'a 30 % et dans ton code 10%, faut tenir compte duquel ? Sinon, tu peux set une variable au signe "%" et ensuite l'utiliser dans le message. set {_p} to "%" send "%{_p}%"
  10. Random

    PickPocket

    Arrondis les coordonnées des deux positions avec un rounded
  11. Random

    Enlever un Item dans l'inventaire

    Essaye de changer de version de skript, ou bien si tu as Umbaska enlève le
  12. Random

    On Any Move

    while player is online: set {_l} to player's location wait 5 minutes {_l} is player's location: set {afk.%player%} to true Je me rappelle plus vraiment l'expression pour arrondir les coordonnées, mais cherche "rounded" sur skunity tu trouveras
  13. Random

    PickPocket

    Tu peux set une variable {_location} à la position du joueur qui se fait voler, puis vérifier si la {_location} est toujours la même que sa position actuelle
  14. Random

    Probleme Plugin JAVA !:!

    Je lui ai parlé hier soir, son problème est assez complexe... Le /PL en majuscule peut bien être bloqué avec skript, mais en minuscule, le /pl n'est pas bloqué
  15. T'as redémarré ton serveur ? Si oui, envoie ton TS en mp EDIT: Après entretien TS, le skript marche correctement. Après une petite modification, voici le code final: on join: {jetons.%player%} isn't set: set {jetons.%player%} to 0 command /jetons [<text>] [<offline player>] [<number>]: trigger: arg 1 is set: arg 1 is "info": arg 2 isn't set: send "&6Vous avez %{jetons.%player%}% jetons." else: {jetons.%arg 2%} is set: send "&6Le joueur %arg 2% a %{jetons.%arg 2%}% jetons." else: send "&6Le joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else if arg 1 is "reset": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: {jetons.%arg 2%} is set: set {jetons.%arg 2%} to 0 send "&aVous avez réinitialisé les jetons de %arg 2%." else: send "&6Le joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else if arg 1 is "give": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: arg 3 is set: add arg 3 to {jetons.%arg 2%} send "&6Vous avez donné %arg 3% jetons à %arg 2%." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else if arg 1 is "take": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: arg 3 is set: {jetons.%arg 2%} is set: arg 3 is bigger than {jetons.%arg 2%}: send "&cLe joueur %arg 2% n'a que %{jetons.%arg 2%}% jetons." else: remove arg 3 from {jetons.%arg 2%} send "&6Vous avez retiré %arg 3% jetons à %arg 2%." else: send "&cLe joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" command /boutique [<text>] [<player>] [<text>] [<integer>] [<text>] [<text>]: trigger: sender is a player: open chest with 1 rows named "&3Boutique" to player format gui slot 1, 3, 5 and 7 of player with red glass pane named " " to do nothing format gui slot 0 of player with diamond named "&cGrades" to close then run console command "boutique grades %player%" format gui slot 2 of player with mob spawner named "&eSpawners" to close then run console command "boutique spawners %player%" format gui slot 4 of player with gold ingot named "&5Jetons" with lore "&3Vous avez||&3%{jetons.%player%}% jetons" to run player command "jetons info" format gui slot 6 of player with emerald block named "&3Money" to close then run console command "boutique money %player%" format gui slot 8 of player with gold chestplate named "&dKits" to close then run console command "boutique kits %player%" else: arg 1 is "grades": arg 3 isn't set: open chest with 1 rows named "&cGrades" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with gold ingot named "&5Jetons" with lore "&3Vous avez||&3%{jetons.%arg 2%}% jetons" to run arg 2 command "jetons info" format gui slot 2 of arg 2 with iron ingot named "&aChevalier" with lore "&3Prix: 5 000 J" to run console command "boutique grades %arg 2% chevalier 5000" format gui slot 4 of arg 2 with diamond named "&3Legende" with lore "&3Prix: 10 000 J" to run console command "boutique grades %arg 2% legende 10000" format gui slot 6 of arg 2 with emerald named "&6Empereur" with lore "&3Prix: 15 000 J" to run console command "boutique grades %arg 2% empereur 15000" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté le grade %arg 4%" to arg 2 execute console command "manuadd %arg 2% %arg 3% all" broadcast "&6Le joueur &3%arg 2% &6a acheté le grade &5%arg 3% !" close inventory of arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "spawners": arg 3 isn't set: open chest with 1 rows named "&eSpawners" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with zombie spawn egg named "&eSpawner à Zombies" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% Zombie 1500" format gui slot 2 of arg 2 with skeleton spawn egg named "&eSpawner à Skeletons" with lore "&3Prix: 1 500J" to run console command "boutique spawners %arg 2% Skeleton 1500" format gui slot 4 of arg 2 with spider spawn egg named "&eSpawner à Spiders" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% Spider 1500" format gui slot 6 of arg 2 with cave spider spawn egg named "&eSpawner à Cave Spiders" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% CaveSpider 1500" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: inventory of arg 2 can hold 1 bedrock: remove arg 4 from {jetons.%arg 2%} execute console command "ss give %arg 2% %arg 3%" send "&6Vous avez acheté un spawner à %arg 3%(s)." to arg 2 else: send "&cVous n'avez pas de place dans votre inventaire." to arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "money": arg 3 isn't set: open chest with 1 row named "&3Money" to arg 2 format gui slot 0, 1, 2, 3, 5, 6 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 4 of arg 2 with emerald block named "&3Acheter 10 000 $" with lore "&3Prix: 1 500 J" to run console command "boutique money %arg 2% lot 1500" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté 10 000 $." to arg 2 add 10000 to balance of arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "kits": arg 3 isn't set: open chest with 1 row named "&dKits" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with splash Health potion II item named "&6Kit Potions" with lore "&3Prix: 3 500 J" to run console command "boutique kits %arg 2% Potions 3500 essentials.kits.potions essentials.kit.potions" format gui slot 2 of arg 2 with ender pearl named "&aKit Découverte" with lore "&3Prix: 3 500 J" to run console command "boutique kits %arg 2% Decouverte 3500 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 4 of arg 2 with tnt named "&5Kit Destruction" with lore "&3Prix: 3500 J" to run console command "boutique kits %arg 2% Destruction 3500 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 6 of arg 2 with golden apple:0 named "&eKit Golden" with lore "&3Prix: 3 000 J" to run console command "boutique kits %arg 2% Golden 3000 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté le Kit %arg 3%." to arg 2 execute console command "manuaddp %arg 2% %arg 5%" execute console command "manuaddp %arg 2% %arg 6%" else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2
  16. C'est pour ça que je t'ai dit de recopier le dernier code que j'ai posté, celui que tu as mis contient encore la fonction que j'ai supprimée. Mets celui-ci à la place: on join: {jetons.%player%} isn't set: set {jetons.%player%} to 0 command /jetons [<text>] [<offline player>] [<number>]: trigger: arg 1 is set: arg 1 is "info": arg 2 isn't set: send "&6Vous avez %{jetons.%player%}% jetons." else: {jetons.%arg 2%} is set: send "&6Le joueur %arg 2% a %{jetons.%arg 2%}% jetons." else: send "&6Le joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else if arg 1 is "reset": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: {jetons.%arg 2%} is set: set {jetons.%arg 2%} to 0 send "&aVous avez réinitialisé les jetons de %arg 2%." else: send "&6Le joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else if arg 1 is "give": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: arg 3 is set: add arg 3 to {jetons.%arg 2%} send "&6Vous avez donné %arg 3% jetons à %arg 2%." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else if arg 1 is "take": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: arg 3 is set: {jetons.%arg 2%} is set: arg 3 is bigger than {jetons.%arg 2%}: send "&cLe joueur %arg 2% n'a que %{jetons.%arg 2%}% jetons." else: remove arg 3 from {jetons.%arg 2%} send "&6Vous avez retiré %arg 3% jetons à %arg 2%." else: send "&cLe joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" command /boutique [<text>] [<player>] [<text>] [<integer>] [<text>] [<text>]: trigger: sender is a player: open chest with 1 rows named "&3Boutique" to player format gui slot 1, 3, 5 and 7 of player with red glass pane named " " to do nothing format gui slot 0 of player with diamond named "&cGrades" to close then run console command "boutique grades %player%" format gui slot 2 of player with mob spawner named "&eSpawners" to close then run console command "boutique spawners %player%" format gui slot 4 of player with gold ingot named "&5Jetons" with lore "&3Vous avez||&3%{jetons.%player%}% jetons" to run player command "jetons info" format gui slot 6 of player with emerald block named "&3Money" to close then run console command "boutique money %player%" format gui slot 8 of player with gold chestplate named "&dKits" to close then run console command "boutique kits %player%" else: arg 1 is "grades": arg 3 isn't set: open chest with 1 rows named "&cGrades" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with gold ingot named "&5Jetons" with lore "&3Vous avez||&3%{jetons.%arg 2%}% jetons" to run arg 2 command "jetons info" format gui slot 2 of arg 2 with iron ingot named "&aChevalier" with lore "&3Prix: 5 000 J" to run console command "boutique grades %arg 2% chevalier 5000" format gui slot 4 of arg 2 with diamond named "&3Legende" with lore "&3Prix: 10 000 J" to run console command "boutique grades %arg 2% legende 10000" format gui slot 6 of arg 2 with emerald named "&6Empereur" with lore "&3Prix: 15 000 J" to run console command "boutique grades %arg 2% empereur 15000" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté le grade %arg 4%" to arg 2 broadcast "&6Le joueur &3%arg 2% &6a acheté le grade &5%arg 3% !" close inventory of arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "spawners": arg 3 isn't set: open chest with 1 rows named "&eSpawners" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with zombie spawn egg named "&eSpawner à Zombies" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% Zombie 1500" format gui slot 2 of arg 2 with skeleton spawn egg named "&eSpawner à Skeletons" with lore "&3Prix: 1 500J" to run console command "boutique spawners %arg 2% Skeleton 1500" format gui slot 4 of arg 2 with spider spawn egg named "&eSpawner à Spiders" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% Spider 1500" format gui slot 6 of arg 2 with cave spider spawn egg named "&eSpawner à Cave Spiders" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% CaveSpider 1500" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: inventory of arg 2 can hold 1 bedrock: remove arg 4 from {jetons.%arg 2%} execute console command "ss give %arg 2% %arg 3%" send "&6Vous avez acheté un spawner à %arg 3%(s)." to arg 2 else: send "&cVous n'avez pas de place dans votre inventaire." to arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "money": arg 3 isn't set: open chest with 1 row named "&3Money" to arg 2 format gui slot 0, 1, 2, 3, 5, 6 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 4 of arg 2 with emerald block named "&3Acheter 10 000 $" with lore "&3Prix: 1 500 J" to run console command "boutique money %arg 2% lot 1500" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté 10 000 $." to arg 2 add 10000 to balance of arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "kits": arg 3 isn't set: open chest with 1 row named "&dKits" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with splash Health potion II item named "&6Kit Potions" with lore "&3Prix: 3 500 J" to run console command "boutique kits %arg 2% Potions 3500 essentials.kits.potions essentials.kit.potions" format gui slot 2 of arg 2 with ender pearl named "&aKit Découverte" with lore "&3Prix: 3 500 J" to run console command "boutique kits %arg 2% Decouverte 3500 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 4 of arg 2 with tnt named "&5Kit Destruction" with lore "&3Prix: 3500 J" to run console command "boutique kits %arg 2% Destruction 3500 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 6 of arg 2 with golden apple:0 named "&eKit Golden" with lore "&3Prix: 3 000 J" to run console command "boutique kits %arg 2% Golden 3000 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté le Kit %arg 3%." to arg 2 execute console command "manuaddp %arg 2% %arg 5%" execute console command "manuaddp %arg 2% %arg 6%" else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2
  17. Essaye de restart ton serveur EDIT: 1 000 ème message :p
  18. Essaye celle-ci http://www.mediafire.com/file/rth25i4a584o3iv/TuSKe%201.8.jar
  19. Quelle version de serveur ?
  20. C'est ce que je pensais pour les commandes, du coup le skript du dessus devrait fonctionner (Copie/colle le, je viens de le modifier) EDIT: Donne la perm jetons.admin aux staffs ^^
  21. @pimaxpvp Tu utilises quelles commandes pour ajouter des permissions ? Et quelles sont les perms des différents kits ? EDIT: Je te donne le code que j'ai fait, en attendant que tu me dises les commandes demandées ci-dessus on join: {jetons.%player%} isn't set: set {jetons.%player%} to 0 command /jetons [<text>] [<offline player>] [<number>]: trigger: arg 1 is set: arg 1 is "info": arg 2 isn't set: send "&6Vous avez %{jetons.%player%}% jetons." else: {jetons.%arg 2%} is set: send "&6Le joueur %arg 2% a %{jetons.%arg 2%}% jetons." else: send "&6Le joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else if arg 1 is "reset": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: {jetons.%arg 2%} is set: set {jetons.%arg 2%} to 0 send "&aVous avez réinitialisé les jetons de %arg 2%." else: send "&6Le joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else if arg 1 is "give": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: arg 3 is set: add arg 3 to {jetons.%arg 2%} send "&6Vous avez donné %arg 3% jetons à %arg 2%." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else if arg 1 is "take": player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop arg 2 is set: arg 3 is set: {jetons.%arg 2%} is set: arg 3 is bigger than {jetons.%arg 2%}: send "&cLe joueur %arg 2% n'a que %{jetons.%arg 2%}% jetons." else: remove arg 3 from {jetons.%arg 2%} send "&6Vous avez retiré %arg 3% jetons à %arg 2%." else: send "&cLe joueur %arg 2% n'est pas reconnu ou n'a pas de jetons." else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" else: player doesn't have permission "jetons.admin": send "&cErreur: /jetons info [pseudo]" stop send "&cErreur: /jetons <info/give/take/reset> [pseudo] [montant]" command /boutique [<text>] [<player>] [<text>] [<integer>] [<text>] [<text>]: trigger: sender is a player: open chest with 1 rows named "&3Boutique" to player format gui slot 1, 3, 5 and 7 of player with red glass pane named " " to do nothing format gui slot 0 of player with diamond named "&cGrades" to close then run console command "boutique grades %player%" format gui slot 2 of player with mob spawner named "&eSpawners" to close then run console command "boutique spawners %player%" format gui slot 4 of player with gold ingot named "&5Jetons" with lore "&3Vous avez||&3%{jetons.%player%}% jetons" to run player command "jetons info" format gui slot 6 of player with emerald block named "&3Money" to close then run console command "boutique money %player%" format gui slot 8 of player with gold chestplate named "&dKits" to close then run console command "boutique kits %player%" else: arg 1 is "grades": arg 3 isn't set: open chest with 1 rows named "&cGrades" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with gold ingot named "&5Jetons" with lore "&3Vous avez||&3%{jetons.%arg 2%}% jetons" to run arg 2 command "jetons info" format gui slot 2 of arg 2 with iron ingot named "&aChevalier" with lore "&3Prix: 5 000 J" to run console command "boutique grades %arg 2% chevalier 5000" format gui slot 4 of arg 2 with diamond named "&3Legende" with lore "&3Prix: 10 000 J" to run console command "boutique grades %arg 2% legende 10000" format gui slot 6 of arg 2 with emerald named "&6Empereur" with lore "&3Prix: 15 000 J" to run console command "boutique grades %arg 2% empereur 15000" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté le grade %arg 4%" to arg 2 broadcast "&6Le joueur &3%arg 2% &6a acheté le grade &5%arg 3% !" close inventory of arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "spawners": arg 3 isn't set: open chest with 1 rows named "&eSpawners" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with zombie spawn egg named "&eSpawner à Zombies" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% Zombie 1500" format gui slot 2 of arg 2 with skeleton spawn egg named "&eSpawner à Skeletons" with lore "&3Prix: 1 500J" to run console command "boutique spawners %arg 2% Skeleton 1500" format gui slot 4 of arg 2 with spider spawn egg named "&eSpawner à Spiders" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% Spider 1500" format gui slot 6 of arg 2 with cave spider spawn egg named "&eSpawner à Cave Spiders" with lore "&3Prix: 1 500 J" to run console command "boutique spawners %arg 2% CaveSpider 1500" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: inventory of arg 2 can hold 1 bedrock: remove arg 4 from {jetons.%arg 2%} execute console command "ss give %arg 2% %arg 3%" send "&6Vous avez acheté un spawner à %arg 3%(s)." to arg 2 else: send "&cVous n'avez pas de place dans votre inventaire." to arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "money": arg 3 isn't set: open chest with 1 row named "&3Money" to arg 2 format gui slot 0, 1, 2, 3, 5, 6 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 4 of arg 2 with emerald block named "&3Acheter 10 000 $" with lore "&3Prix: 1 500 J" to run console command "boutique money %arg 2% lot 1500" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté 10 000 $." to arg 2 add 10000 to balance of arg 2 else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 else if arg 1 is "kits": arg 3 isn't set: open chest with 1 row named "&dKits" to arg 2 format gui slot 1, 3, 5 and 7 of arg 2 with red glass pane named " " to do nothing format gui slot 0 of arg 2 with splash Health potion II item named "&6Kit Potions" with lore "&3Prix: 3 500 J" to run console command "boutique kits %arg 2% Potions 3500 essentials.kits.potions essentials.kit.potions" format gui slot 2 of arg 2 with ender pearl named "&aKit Découverte" with lore "&3Prix: 3 500 J" to run console command "boutique kits %arg 2% Decouverte 3500 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 4 of arg 2 with tnt named "&5Kit Destruction" with lore "&3Prix: 3500 J" to run console command "boutique kits %arg 2% Destruction 3500 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 6 of arg 2 with golden apple:0 named "&eKit Golden" with lore "&3Prix: 3 000 J" to run console command "boutique kits %arg 2% Golden 3000 essentials.kits.decouverte essentials.kit.decouverte" format gui slot 8 of arg 2 with gray dye named "&cRetour" to close then run arg 2 command "boutique" else: {jetons.%arg 2%} is bigger than or equal to arg 4: remove arg 4 from {jetons.%arg 2%} send "&6Vous avez acheté le Kit %arg 3%." to arg 2 execute console command "manuaddp %arg 2% %arg 5%" execute console command "manuaddp %arg 2% %arg 6%" else: send "&cVous n'avez que %{jetons.%arg 2%}% jetons." to arg 2 Addons TuSKe + SkQuery requis + Plugin Vault requis
  22. "kimidu1609 300 messages à l’heure ou je vous ecris ce message. Road to 500 55% effectué" C'est typiquement le genre de messages qui me désolent... Il a le droit de demander un skript sans forcément vouloir apprendre le langage, ça fait pas de nous des "chiens" si on décide de lui faire. A part augmenter ton nombre de messages, ou créer une tension sur le topic, je vois pas l'utilité. Et critiquer son orthographe quand toi-même tu fais des fautes, c'est paradoxal non ? @pimaxpvp Ton serveur est premium ou cracké ?
  23. Random

    Problême skript de Coins

    Sinon, tu vérifies que la somme à remove est inférieure ou égale à l'argent possédé par le joueur : command /coins <text> <number> <player>: aliases: c trigger: player has permission "give.coins": arg 1 is "give": add arg-2 to {coins.%UUID of arg-3%} send "&e[DeadCoins] &aVous avez donné &2%arg-2% &aCoins à &2&o%arg-3%" send "&e[DeadCoins] &aVous avez reçu &2%arg-2% &aCoins" to arg 3 else if arg 1 is "remove": arg 2 is bigger than {coins.%UUID of arg-3%}: send "&cLe joueur %arg 3% n'a que %{coins.%UUID of arg-3%}% Coins." else: remove arg-2 from {coins.%UUID of arg-3%} send "&e[DeadCoins] &4Vous avez retiré %arg-2% Coins à %arg-3%" send "&e[DeadCoins] &cVous avez été débité de &4%arg-2% &cCoins" to arg 3 else: send "&e[DeadCoins] &4Vous n'avez pas la permission d'utiliser cette commande" command /deadcoin: trigger: message "&e[DeadCoins] Vous avez &6%{coins.%UUID of player%}%&e Coins" command /deadcoinview <player>: trigger: if player have permission "view.coins": message "&e[DeadCoins] %arg 1% a %{coins.%UUID of arg-1%}% Coins" Le code de @noftaly est juste aussi ^^
  24. Random

    Murder Joueur aléatoire

    set {_player} to a random element out of {murder.players::*}
  25. Random

    Heal All

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