Dozensam
Membre-
Compteur de contenus
183 -
Inscription
-
Dernière visite
-
Jours gagnés
1
Type de contenu
Profils
Forums
Téléchargements
Tout ce qui a été posté par Dozensam
-
encore d'actu ?
-
Bonjour, Je voudrais savoir si c'est possible d'envoyer un message a tout le monde en Json si oui comment faire ?
-
Pourquoi tu te complique la vie avec 1ticks ? y'a juste 100x plus simple & mieux code command /scoreboard [<text>]: trigger: if arg 1 is not set: display board named "titre" to player make score "Tués %{kills.%player%}%" in board of player to 3 make score "%amount of players%&7/&5%max players%" in board of player to 2 make score "Ping: %player's ping%" in board of player to 1 make score "Morts: {morts.%player%}" in board of player to 0 move display of player to sidebar on join: make all players execute command "/scoreboard" on quit: make all players execute command "/scoreboard" on death of player: add 1 to {kills.%attacker%} add 1 to {morts.%victim%} make all players execute command "/scoreboard" Pourquoi mettre un every tick si y'a que des kill a afficher ? si il tue ou il meurt tu refresh sinon non ;) idem quand un joueurs quitte ou join
-
Je t'ai fait le debut du shop + le nombre de kill + la monnaie + les killstreak on death of player: add 1 to {kills.%attacker%} add 1 to {killstreak.%attacker%} add 1 to {morts.%victim%} set {killstreak.%victim%} to 0 add 10 to {Kayascoins.%attacker%} if {killstreak.%attacker%} is 3: broadcast "%attacker% vient de tuer %victim% est en série de 3kills!" add 3 to {Kayascoins.%attacker%} set {particule.%player%.coeur} to true if {particule.%player%.coeur} is true: set {particule.%player%} to location of player show 10 "heart" particles at location of player for player offset wait 1 minute set {particule.%player%.coeur} to false stop if {killstreak.%attacker%} is 5: broadcast "%attacker% vient de tuer %victim% est en série de 5kills!" add 5 to {Kayascoins.%attacker%} if {particule.%player%.coeur} is true: set {particule.%player%} to location of player show 10 "heart" particles at location of player for player offset wait 1 minute set {particule.%player%.coeur} to false stop if {killstreak.%attacker%} is 10: broadcast "%attacker% vient de tuer %victim% est en série de 10kills!" add 10 to {Kayascoins.%attacker%} if {particule.%player%.coeur} is true: set {particule.%player%} to location of player show 10 "heart" particles at location of player for player offset wait 1 minute set {particule.%player%.coeur} to false stop on join: if player have permission "VIP+": set {grade.%player%} to "VIP+" if player have permission "vip": set {grade.%player%} to "VIP" else: set {grade.%player%} to "Membre" command /shop [<text>] [<text>]: trigger: if arg 1 is not set: open chest with 1 row named "NomDuShop" to player wait 2 tick format slot 0 of player with stone named "&1Kayascoins" with lore "%player% ||Kayascoins %{Kayascoins.%player%}% ||Grade %{grade.%player%}%" to be unstealable format slot 1 of player with carrot named "&1Acheter des carrot" to run [make player execute command "/shop carrot"] if player have permission "VIP+": format slot 2 of player with carrot named "&1Carrot VIP" to run [make player execute command "/shop carrot"] else: format slot 2 of player with carrot named "&cCarrot VIP" to be unstealable format slot 8 of player with red wool named "Quitter" to close if arg 1 is "carrot": open chest with 1 row named "%arg 1%" to player wait 2 tick format slot 0 of player with carrot named "&1Carrot" with lore "Acheter de la %arg 1% ||Prix : 1Kayascoins" to run [make player execute command "/shopp buy %arg 1%"] format slot 8 of player with red wool named "Quitter" to close if arg 1 is set: if player have permission "VIP+": if {Kayascoins.%player%} >= 1 : add -1 to {Kayascoins.%player%} message "Tu as perdu 1 Kayascoins" give carrot to player message "tu a reçu une %arg 2%" else: message "Tu n'a pas assez de Kayascoins" else: if {Kayascoins.%player%} >= 2 : add -2 to {Kayascoins.%player%} message "Tu as perdu 2 Kayascoins" give carrot to player message "tu a reçu une %arg 2%" else: message "Tu n'a pas assez de Kayascoins"
-
Le shop risque d'être long pour faire la monnaie ça va, mais le shop prend vraiment du temps si tu veux un shop avec pleins de truck
-
Plutot simple command /chest [<text>]: permission: chest permission message: &cTu n'as pas la permission trigger: if arg 1 is "set": target block is not chest: send "&cErreur, le block visé doit être un coffre" stop {cocaine.chests::*} contains location of target block: send "&cCe coffre est déjà dans la liste" stop add location of target block to {cocaine.chests::*} send "&cLe coffre a bien été ajouter!" stop if arg 1 is "reset": loop {cocaine.chests::*}: if block at loop-value is not chest: remove loop-value from {cocaine.chests::*} else: set block at loop-value to air clear all entities set block at loop-value to chest add 1 sugar named "Cocaine" to slot 0 of block at loop-value #tu peut rajouter autant de truck que tu veux every 600 seconds: set {_count} to 601 loop 660 times: add -1 to {_count} wait 540 seconds if {_count} is 30 , 15 , 10 or 5 : broadcast "Le coffre apparait dans &e%{_count}% secondes" make console execute command "/chest reset" broadcast "Le coffre est apparu"
-
Tu voudrais pas exemple Si moi j'ai une licence, je te le donne et moi je l'ai plus ? Si c'est ça voici le code command /licensedonne [<offline player>] [<text>]: trigger: if arg 1 is not set: if player has permission "Give.licence": #licencedonne pour ceux qui on la permission Give.Licence message "<gold>/licencedonne <player> Donner<reset> Permet de give la licence au joueur" message "<gold>/licencedonne <player> remove<reset> Permet d'enlever la licence au joueur" if {licence.%player%} is "Oui": message "Tu as une licence !" else: message "Tu n'as pas de licence !" else: if {licence.%player%} is "Oui": message "Tu as une licence !" else: message "Tu n'as pas de licence !" message "<gold>/licencedonne <player> Donner<reset> Permet de donner ta licence au joueur" if arg 1 is not "Oui" or "donner" or "give" or "OUI" or "oui" or "Oui" or "donner" or "give" or "OUI" or "oui" or "gui" or "help" or "Help" or "HELP": make player execute command "/licencedonne" if arg 1 is "help" or "Help" or "HELP": make player execute command "/licencedonne" if arg 1 is "gui": wait 1 tick open chest with 5 row named "&1Licence" to player wait 1 tick if {licence.%player%} is "Non": format slot 0 of player with red stained glass named "Tu n'a pas de licence !" to be unstealable else: if {licence.%player%} is "Oui": format slot 0 of player with green stained glass named "Tu as ta licence !" to be unstealable if arg 1 is set: if player has permission "Give.licence": #Commande reserver au Admin pour give la licence if arg 2 is "Oui" or "donner" or "give" or "OUI" or "oui": set {licence.%arg 1%} to "Oui" message "%arg 1% a maintenant la licence !" send "Tu as maintenant ta licence" to arg 1 if arg 2 is "Non" or "not" or "remove" or "delete" or "non" or "NON": set {licence.%arg 1%} to "Non" message "Tu as enlever la licence de %arg 1%" send "Tu n'as plus ta licence" to arg 1 else: if arg 2 is "Oui" or "donner" or "give" or "OUI" or "oui": if {licence.%player%} is "Oui": message "Tu as donner ta licence a %arg 1%" else: message "Tu n'as pas de licence !"
-
Pas pu test command /licensedonne [<text>]: trigger: if arg 1 is not set: if {licence.%player%} is not set: set {licence.%player%} to "Oui" message "Tu as maintenant ta licence" else: if {licence.%player%} is "Oui": set {licence.%player%} to "Non" message "Tu n'as plus ta licence" else: if {licence.%player%} is "Non": set {licence.%player%} to "Oui" message "Tu as maintenant ta licence" if arg 1 is "gui": wait 1 tick open chest with 5 row named "&1Licence" to player wait 1 tick if {licence.%player%} is "Non": format slot 0 of player with red stained glass named "Tu n'a pas de licence !" to be unstealable else: if {licence.%player%} is "Oui": format slot 0 of player with red stained glass named "Tu n'a pas de licence !" to be unstealable
-
Perso je voit pas la difficulté tu arrive pas a faire quoi ?
-
J'ai déjà lu, je l'ai contacter il ma dit qu'il allais m'aider Dimanche pour faire dans un GUI
-
J'ai trouver un moyen de contourner, mais maintenant je voudrais faire une pagination dans un GUI possible es-que c'est facile ?
-
j'ai rien compris tu veux que quand une personne fait un /ban ça l'écrit quelque part ? Si oui wf "[%now%] %arg 2% a étais banni par %player% pour %arg 1%" to "plugins/ban/%arg 2%.yml"
-
if arg 1 is "report": add 1 to {reporttest.%player%} message "%{reporttest.%player%}%" set {reporttest.%player%} to "%{reporttest.%player%}%-%player%" message "%{report.%player%}%" Edit screen http://prntscr.com/97ujpd
-
Bonjour, Je voudrais savoir comment utiliser hologram avec les variables de skript, par exemple sur Hypixel y'a ceci http://prntscr.com/97uf9k je voudrais savoir commont il font Par exemple mettre un texte avec Bienvenue %player% tu as %player's money%. Par exemple
-
Trouver if name of {@mob} is "{@namemob}": ...
-
Bonjour, J'ai voulu faire un shop avec un wither, donc j'ai fait spawn un wither etc mais tout les wither sont immortel je vous montre le code vous allez mieux comprendre ;) command /setwither: permission: wither.spawn trigger: spawn a {@mob} at player set name of spawned {@mob} to "{@namemob}" set {loc.wither} to location of player apply weakness 255 to the spawned {@mob} for 999999999 days apply blindness 250 to the spawned {@mob} for 999999999 days apply jump -10 to the spawned {@mob} for 999999999 days apply speed -10 to the spawned {@mob} for 999999999 days apply regeneration 255 to the spawned {@mob} for 999999999 days every 1 tick: loop all entities: if loop-entity is a {@mob}: if name of loop-entity is "{@namemob}": teleport loop-entity to {loc.noel.sondage} on damage: if attacker is "{@mob}": if attacker is "{@namemob}": cancel event if victim is "{@mob}": if victim is "{@namemob}": cancel event Donc je voudrais que le wither qui spawn avec le commande /setwither et y'a que ce WITHER qui peut être immortel thanks
-
Ok, Je voudrais que quand par exemple Dozensam report OnixT ça créé une variable du type 1-Dozensam Puis si Dozensam refait un report sa fait 2-Dozensam etc Mais le problème c'est que moi ça fait 1-Dozensam puis 1-Dozensam-Dozensam je voudrais juste additionner le chiffre devant
-
j'ai cette erreur http://prntscr.com/97cfwd code add 1 to {reporttest} parsed as number
-
Il n'y a pas de vrai erreur mais ça mais par exemple 1-Dozensam-Dozensam a chaque fois sa ajoute pas 1 mais le player edit je test ça
-
Bonjour, Je vient a la rescousse de vous après 1H je galère sur une ligne je vous explique ce que je veux faire Imaginons que X report Y Donc il fait /report Y bla bla X reçoit Votre ticket est le numéro 1 Y fait /report X bla bla Il reçoit Votre ticket est le numéro 2 Jusqu'ici tout va bien Mais j'ai voulu "sécuriser" pour la suite exemple supprimer/éditer un ticket donc je me suis dit je vais mettre 1-Player mais le problème c'est que j'y arrive pas :'( Voici le morceau de code add 1 to {reporttest} message "%{reporttest}%" set {reporttest} to "%{reporttest.%player%}%" message "%{reporttest}%"
-
Les items ne s'affichent pas dans l'inventaire
Dozensam a répondu à un(e) question de DarkSmall dans Résolus
tes sous quelle version & tu as quoi comme add-on ? -
Hello, J'ai fait un Gui mais le problème c'est que si la personne "A" ( a = touche pour drop les items) ben sa drop les items Voici mon code command /sellmysterybox: trigger: wait 1 tick open chest with 5 row named "&1Vendre des MysteryBox" to player if {VIP} is true: if {VIP+} is true: format slot 0 of player with green stained glass named " " to be unstealable format slot 1 of player with green stained glass named " " to be unstealable format slot 2 of player with green stained glass named " " to be unstealable format slot 3 of player with green stained glass named " " to be unstealable format slot 4 of player with green stained glass named " " to be unstealable format slot 5 of player with green stained glass named " " to be unstealable format slot 6 of player with green stained glass named " " to be unstealable format slot 7 of player with green stained glass named " " to be unstealable format slot 8 of player with green stained glass named " " to be unstealable format slot 36 of player with green stained glass named " " to be unstealable format slot 37 of player with green stained glass named " " to be unstealable format slot 38 of player with green stained glass named " " to be unstealable format slot 39 of player with green stained glass named " " to be unstealable format slot 40 of player with green stained glass named " " to be unstealable format slot 41 of player with green stained glass named " " to be unstealable format slot 42 of player with green stained glass named " " to be unstealable format slot 43 of player with green stained glass named " " to be unstealable format slot 44 of player with green stained glass named " " to be unstealable format slot 9 of player with paper named "&6Mystery-Box" to be unstealable format slot 10 of player with 1 chest named "&6Mystery-Box x1" to close then run [make player execute command "/sellbox 1"] format slot 11 of player with 2 chest named "&6Mystery-Box x2" to close then run [make player execute command "/sellbox 2"] format slot 12 of player with 5 chest named "&6Mystery-Box x5" to close then run [make player execute command "/sellbox 5"] format slot 13 of player with 10 chest named "&6Mystery-Box x10" to close then run [make player execute command "/sellbox 10"] format slot 14 of player with 16 chest named "&6Mystery-Box x16" to close then run [make player execute command "/sellbox 16"] format slot 15 of player with 32 chest named "&6Mystery-Box x32" to close then run [make player execute command "/sellbox 32"] format slot 16 of player with 64 chest named "&6Mystery-Box x64" to close then run [make player execute command "/sellbox 64"] format slot 17 of player with green stained glass named " " to be unstealable format slot 26 of player with green stained glass named " " to be unstealable format slot 35 of player with green stained glass named " " to be unstealable format slot 18 of player with paper named "&6Mystery-Box-VIP" to be unstealable format slot 19 of player with 1 chest named "&6Mystery-Box-VIP x1" to close then run [make player execute command "/sellboxvip 1"] format slot 20 of player with 2 chest named "&6Mystery-Box-VIP x2" to close then run [make player execute command "/sellboxvip 2"] format slot 21 of player with 5 chest named "&6Mystery-Box-VIP x5" to close then run [make player execute command "/sellboxvip 5"] format slot 22 of player with 10 chest named "&6Mystery-Box-VIP x10" to close then run [make player execute command "/sellboxvip 10"] format slot 23 of player with 16 chest named "&6Mystery-Box-VIP x16" to close then run [make player execute command "/sellboxvip 16"] format slot 24 of player with 32 chest named "&6Mystery-Box-VIP x32" to close then run [make player execute command "/sellboxvip 32"] format slot 25 of player with 64 chest named "&6Mystery-Box-VIP x64" to close then run [make player execute command "/sellboxvip 64"] format slot 27 of player with paper named "&6Mystery-Box-VIP+" to be unstealable format slot 28 of player with 1 chest named "&6Mystery-Box-VIP+ x1" to close then run [make player execute command "/sellboxvip+ 1"] format slot 29 of player with 2 chest named "&6Mystery-Box-VIP+ x2" to close then run [make player execute command "/sellboxvip+ 2"] format slot 30 of player with 5 chest named "&6Mystery-Box-VIP+ x5" to close then run [make player execute command "/sellboxvip+ 5"] format slot 31 of player with 10 chest named "&6Mystery-Box-VIP+ x10" to close then run [make player execute command "/sellboxvip+ 10"] format slot 32 of player with 16 chest named "&6Mystery-Box-VIP+ x16" to close then run [make player execute command "/sellboxvip+ 16"] format slot 33 of player with 32 chest named "&6Mystery-Box-VIP+ x32" to close then run [make player execute command "/sellboxvip+ 32"] format slot 34 of player with 64 chest named "&6Mystery-Box-VIP+ x64" to close then run [make player execute command "/sellboxvip+ 64"] Edit, trouver fallais juste augmenter le nombre de tick #serveur en mousse :3
-
Les items ne s'affichent pas dans l'inventaire
Dozensam a répondu à un(e) question de DarkSmall dans Résolus
perso ça fonctionne command /mushop: trigger: wait 1 tick open chest with 5 rows named "Mine-Up Shop" to player format slot 11 of player with diamond named "20$" to run [make player execute command "/sell diamond"] format slot 13 of player with emerald named "20$" to run [make player execute command "/sell emerald"] format slot 15 of player with beacon named "300$" to run [make player execute command "/sell beacon"] j'ai juste enlever les "" dans le command -
Elle est ou mon erreur :eek: ? edit j'ai vu x)
