-
Compteur de contenus
722 -
Inscription
-
Dernière visite
-
Jours gagnés
27
Type de contenu
Profils
Forums
Téléchargements
Tout ce qui a été posté par Soufreur78
-
Le système n'est pas trés dur ... command /tempban <text> [<text>]: trigger: if arg 1 is set: if arg 2 is set: kick the player due to "&6&l%player% &cvous a banni %arg 2% jours" set {tempban.%arg 1%} to true set {tempban.time.%arg 1%} to %arg 2% set {tempban.date.%arg 1%} to now else: message "&cTempBan de combien de jour ?" else: message "&cTu dois mettre un nom" on join: if {tempban.%player%} is true: if difference between {tempban.date.%player%} and now is less than {tempban.time.%player%}: kick the player due to "&cVous êtes toujours banni !" else: set {tempban.%player%} to false clear {tempban.time.%player%} clear {tempban.date.%player%}
-
Ta réflexion non plus :).
-
Et voila ! on join: set {froid.niv.%player%} to 0 every 1 minutes in world "world": loop all players: add -0.5 to {froid.niv.%loop-player%} if {froid.niv.%loop-player%} < 10: message "&cALERT , Il fait trop froid !" to loop-player loop blocks in radius 10 around loop-player: if loop-block is a torch or a glowstone or a fire or redstone lamp or a lava: add 1 to {froid.niv.%loop-player%} if {froid.niv.%loop-player%} >= 100: set {froid.niv.%loop-player%} to 100 set action bar of loop-player to "&3&lBar de froid &6&l➼ &4&l%{froid.niv.%loop-player%}%%%"
-
J'essaie de te le faire :)
-
Un petit peu de recherche svp ^^ , j'ai fait un tuto à cette adresse : https://skript-mc.fr/forum/threads/générer-des-coffres-avec-loots-random.4222/#post-37556 Sinon ton code , si j'ai bien compris : Ceci est mon dernier bébé en terme de génération de coffre en coordonnée random avec pourcentage , random slot , et random quantité. command /chestrandom: trigger: set {_nbr} to 1 loop 21 times: add {_nbr} to {_randomchiffre::*} add 1 to {_nbr} set {_x} to random number between -1000 and 1000 # La coordonnée "x" est entre -1000 et 1000 set {_y} to random number between 200 and 256 # La coordonnée Y est entre 200 et 256 set {_z} to random number between -1000 and 1000 # La coordonnée Z est entre -1000 1000 set {coffre} to location at {_x}, {_y}, {_z} # les coordonnée du coffre sont placé dans une variable set block at {coffre} to chest # On place un coffre aux coordonées broadcast "&7[&6Annonce&7] Un coffre de loot à spawn en %{coffre}%" chance of 85%: set {_random} to a random element out of {_randomchiffre::*} set {_ra} to a random integer between 1 and 10 loop {_ra} times: add 1 diamond to slot {_random} of block at {coffre} remove {_random} from {_randomchiffre::*} chance of 50%: set {_random} to a random element out of {_randomchiffre::*} set {_ra} to a random integer between 1 and 10 loop {_ra} times: add 1 apple to slot {_random} of block at {coffre} remove {_random} from {_randomchiffre::*} clear {_randomchiffre::*} clear {_random} clear {_ra}
-
Ou plus simplement : if {Variable.coins} >= TonPrix
-
on death of zombie: if "%victim's name%" is "Boss": clear drop chance of 20%: drop 1 diamond named "GG !" at victim's location
-
Tu les variables sont vide (aucun kill , mort) il affiche <none>
-
on death of player: add -1 to {death.%victim%} add -10 to {elo.%victim%} if attacker is a player: add 1 to {kill.%attacker%} add 15 to {elo.%attacker%} if {elo.%attacker%} > 5000: set {elo.%attacker%} to "5000" command /elo: trigger: message " &3Mon elo ➟ &e%{elo.%player%}%" command /stats: aliases: stat trigger: set {ratio.%player%} to ({kill.%player%} / {death.%player%}) message "&7&l&m------&f[&e✯&f]&7&l&m-----[&r &9Mes stats &7&l&m]-----&f[&e✯&f]&7&l&m------" message " &3Kills ➟ &e%{kill.%player%}%" message " &3Morts ➟ &e%{death.%player%}%" message " &3Ratio ➟ &e%{ratio.%player%}%" message "" message " &3Elo ➟ &e%{elo.%player%}%" message "&7&l&m---------&f[&e✯&f]&7&l&m--------------&f[&e✯&f]&7&l&m---------"
-
Commande qui envoi un message dans la tchat
Soufreur78 a répondu à un(e) sujet de Singa dans Résolus
Essai on first join: set {last.first.join} to player's name command /b: trigger: broadcast "&6Bienvenue &c%{last.first.join}%" -
De rien aucun bug/erreur ?
-
Tien : options: message1: Coucou message2: ça va ? message3: J'aime les chats message4: Minecraft <3 message5: Derriere toi command /aleatoire: trigger: set {_random} to a random integer between 1 and 5 if {_random} = 1: message "{@message1}" if {_random} = 2: message "{@message2}" if {_random} = 3: message "{@message3}" if {_random} = 4: message "{@message4}" if {_random} = 5: message "{@message5}"
-
Fixé variables: {booster.stuff.mail.%player%} = false every 2 second in world "World": loop all players: if helmet of loop-player is chain helmet: if chestplate of loop-player is chain chestplate: if leggings of loop-player is chain leggings: if boots of loop-player is chain boots: wait 1 seconds set {booster.stuff.mail.%loop-player%} to true apply potion of resistance 3 to the loop-player for 999 seconds apply potion of strength 2 to the loop-player for 999 seconds apply potion of speed 3 to the loop-player for 999 seconds else: if {booster.stuff.mail.%loop-player%} is true: make console execute command "/effect %loop-player% clear" set {booster.stuff.mail.%loop-player%} to false else: if {booster.stuff.mail.%loop-player%} is true: make console execute command "/effect %loop-player% clear" set {booster.stuff.mail.%loop-player%} to false else: if {booster.stuff.mail.%loop-player%} is true: make console execute command "/effect %loop-player% clear" set {booster.stuff.mail.%loop-player%} to false else: if {booster.stuff.mail.%loop-player%} is true: make console execute command "/effect %loop-player% clear" set {booster.stuff.mail.%loop-player%} to false
-
J'ai edit mon code Il marche trés bien en 1.8
-
Tu vas juste clear les effets avant de mettre les nouveaux la .. Fait ça : every 2 second in world "World": loop all players: if helmet of loop-player is chain helmet: if chestplate of loop-player is chain chestplate: if leggings of loop-player is chain leggings: if boots of loop-player is chain boots: wait 1 seconds apply potion of resistance 3 to the loop-player for 999 seconds apply potion of strength 2 to the loop-player for 999 seconds apply potion of speed 3 to the loop-player for 999 seconds else: make console execute command "/effect %loop-player% clear" else: make console execute command "/effect %loop-player% clear" else: make console execute command "/effect %loop-player% clear" else: make console execute command "/effect %loop-player% clear"
-
every 2 second in world "World": loop all players: if helmet of loop-player is chain helmet: if chestplate of loop-player is chain chestplate: if leggings of loop-player is chain leggings: if boots of loop-player is chain boots: wait 1 seconds apply potion of resistance 3 to the loop-player for 999 seconds apply potion of strength 2 to the loop-player for 999 seconds apply potion of speed 3 to the loop-player for 999 seconds
-
De rien ;) , pense à lock
-
Tu met les coordonnés dans une variable peut-être ? Jore : loop all players: if distance between loop-player and {ma.variable.avec.les.coord} is less than 500:
-
Tu as bien set la position de tes coffres avec /coffre [1-5] en regardant le coffre ?
-
WTF ???! c'est ce que je t'ai donné
-
if difference between {pvp1.countdown.%player%} and now is less than 5 seconds:
-
T'arrive pas à comprendre un skript de 5 lignes --'
-
Tien : 1.Change le nom du monde dans les options 2.Refait les tabs 3.Ajoute "set {pitchout.start} to true" au départ du jeux 3. Change "{pitchout.tonendroit}" par l'endroit ou tu veux tp ton joueur si il tombe sans être touché options: monde: World every 2 second in world "{@monde}": # Nom de ton world if {pitchout.start} is true: #Si la partie a commencée loop all players: if y-coordinate of loop-player is below 0: #Si le joueur est en dessous de la coordonnée 0 if {pitchout.last.attacker.of.%loop-player%} is not set: # Si le joueur à été touché teleport loop-player to {pitchout.tonendroit} # Tu le tp à ton endroit else: add 1 to {pitchout.kill.%{pitchout.last.attacker.of.%loop-player%}%} add 1 to {pitchout.mort.%loop-player%} broadcast "&3%{pitchout.last.attacker.of.%loop-player%}% &ea tué %loop-player%" in world "{@monde}" on death of player: if player's world is "{@monde}": if attacker is a player: add 1 to {pitchout.kill.%attacker%} add 1 to {pitchout.mort.%victim%} on damage of player: if attacker is a player: set {pitchout.last.attacker.of.%victim%} to attacker's name command /point: aliases: points, score trigger: set {pitchout.KM.%player%} to ({pitchout.kill.%player%}/{pitchout.mort.%player%}) message "&7&l&m------&f[&e✯&f]&7&l&m-----[&r &9Mes stats &7&l&m]-----&f[&e✯&f]&7&l&m------" message " &3Nombre de Kills ➟ &e%{pitchout.kill.%player%}%" message " &3Nombre de Morts ➟ &e%{pitchout.mort.%player%}%" message " &3Ration K/M ➟ &e%{pitchout.KM.%player%}%" message "&7&l&m---------&f[&e✯&f]&7&l&m--------------&f[&e✯&f]&7&l&m---------"
-
refait les tab .... sa marche trés bien