-
Compteur de contenus
1 203 -
Inscription
-
Dernière visite
-
Jours gagnés
40
Type de contenu
Profils
Forums
Téléchargements
Tout ce qui a été posté par LeCraftDeOuf
-
Bonjour à tous ! Donc je suis entrain de faire un petit skript pour mon utilisation personnel, mais j'ai un soucis. Jvous explique et je vous donne le skript juste après: Donc j'ai fait en sorte que quand un joueur "op" fait clic droit sur un joueur sa lui ouvre un gui: Ensuite on sélection l'item correspondant à la plainte du joueur. sa nous ouvre un autre gui: On sélection soit le "light green dye" pour bannir ou le "gray dye" pour ne pas bannir (gui de confirmation) mais quand je clic sur n'importe quelle item du gui(2) rien ne se passe ni le "to be unstealable" sur les vitre :c pourquoi ? Voila le skript en lui même: options: clear: true #false = pas de clear d'inventaire lors du give. itemgive: diamond sword #Change "diamond sword" par un item de ton choix ex: "iron sword". noperm: &4Erreur:&c Tu n'as pas accès a cette commande ! #Message lors que le joueur essayera de faire la commande sans avoir la permission. nom: &4Bannissement #Nom de l'épée (customisable) lore: &7Fait un clique gauche ou||&7droit pour bannir le joueur à vie ! #message marqué sous l'épée (customisable) command /epee: trigger: if player is op: if {@clear} is true: clear player's inventory wait 1 second give player 1 {@itemgive} named "{@nom}" with lore "{@lore}" else: send "{@noperm}" stop on rightclick on a player: if player's tool is a {@itemgive}: if name of player's tool is "{@nom}": open chest with 3 rows named " &4Bannissement &6%clicked player%" to player wait 1 ticks set {_vitre::*} to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 10 of player with diamond sword named "&7Cheat" to run [Make player execute command "/ban:cheat %clicked player%"] format slot 11 of player with paper named "&7Insulte grave" to run [Make player execute command "/ban:insulte_grave %clicked player%"] format slot 12 of player with 416 named "&7Skin incorrect" to run [Make player execute command "/ban:skin_incorrect %clicked player%"] format slot 13 of player with stick named "&7Pseado incorrect" to run [Make player execute command "/ban:pseado %clicked player%"] format slot 14 of player with ender pearl named "&7Use-Bug" to run [Make player execute command "/ban:use-bug %clicked player%"] format slot 15 of player with diamond named "&7Incitation à triché" to run [Make player execute command "/ban:incitation_à_triché %clicked player%"] command /ban:cheat <player>: trigger: if player is op: wait 1 second open chest with 3 rows named " &4Bannissement &6%arg 1%" to player set {_vitre::*} to 0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 4 of player with 1 388 named "&6Bannir ?" to be unstealable format slot 11 of player with light green dye named "&2Bannir" to close then run [Make player execute command "/say a"] format slot 15 of player with gray dye named "&2Ne pas bannir" to close else: send "&4Erreur: &cVous n'avez pas la permission de exécuté cette commande !" command /ban:insulte_grave <player>: trigger: if player is op: wait 1 second open chest with 3 rows named " &4Bannissement &6%arg 1%" to player set {_vitre::*} to 0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 4 of player with 1 388 named "&6Bannir ?" to be unstealable format slot 11 of player with light green dye named "&2Bannir" to close then run [Make player execute command "/ban %arg 1% &7Insulte grave"] format slot 15 of player with gray dye named "&2Ne pas bannir" to close else: send "&4Erreur: &cVous n'avez pas la permission de exécuté cette commande !" command /ban:skin_incorrect <player>: trigger: if player is op: wait 1 second open chest with 3 rows named " &4Bannissement &6%arg 1%" to player set {_vitre::*} to 0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 4 of player with 1 388 named "&6Bannir ?" to be unstealable format slot 11 of player with light green dye named "&2Bannir" to close then run [Make player execute command "/ban %arg 1% &7Skin incorrect"] format slot 15 of player with gray dye named "&2Ne pas bannir" to close else: send "&4Erreur: &cVous n'avez pas la permission de exécuté cette commande !" command /ban:pseado <player>: trigger: if player is op: wait 1 second open chest with 3 rows named " &4Bannissement &6%arg 1%" to player set {_vitre::*} to 0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 4 of player with 1 388 named "&6Bannir ?" to be unstealable format slot 11 of player with light green dye named "&2Bannir" to close then run [Make player execute command "/ban %arg 1% &7Pseado incorrect"] format slot 15 of player with gray dye named "&2Ne pas bannir" to close else: send "&4Erreur: &cVous n'avez pas la permission de exécuté cette commande !" command /ban:use-bug <player>: trigger: if player is op: wait 1 second open chest with 3 rows named " &4Bannissement &6%arg 1%" to player set {_vitre::*} to 0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 4 of player with 1 388 named "&6Bannir ?" to be unstealable format slot 11 of player with light green dye named "&2Bannir" to close then run [Make player execute command "/ban %arg 1% &7Use-Bug"] format slot 15 of player with gray dye named "&2Ne pas bannir" to close else: send "&4Erreur: &cVous n'avez pas la permission de exécuté cette commande !" command /ban:incitation_à_triché <player>: trigger: if player is op: wait 1 second open chest with 3 rows named " &4Bannissement &6%arg 1%" to player set {_vitre::*} to 0, 1, 2, 3, 5, 6, 7, 8, 9, 17, 18, 19, 20, 21, 22, 23, 24, 25 and 26 loop {_vitre::*}: format slot loop-value of player with 1 white glass named " " to be unstealable format slot 4 of player with 1 388 named "&6Bannir ?" to be unstealable format slot 11 of player with light green dye named "&2Bannir" to close then run [Make player execute command "/ban %arg 1% &7Incitation à triché"] format slot 15 of player with gray dye named "&2Ne pas bannir" to close else: send "&4Erreur: &cVous n'avez pas la permission de exécuté cette commande !" je suis sur spigot 1.10 J'ai un autre petit soucis aussi mon: command /reportdel [<player>] [<text>]: trigger: if player is op: if arg 1 or arg 2 is not set: send "&fUsage: /reportdel <joueur> <report à enlevé>" else: if {list.report.%arg 1%::*} contains arg 2: remove arg 2 from {list.report.%arg 1%::*} send "&4[REPORT] &2Le report &e%arg 2% &2 du joueur &6%arg 1% &2à était delete !" else: send "&4[REPORT] &2Le joueur &e%arg 1% &2n'a pas de report ""&6%arg 2%&2""" stop else: send "{@noperm}" Marche mais quand je fait /report <joueur> Cheat sa ajoute "Cheat" dans la liste des reports du <joueur> mais quand je fait /reportdel <joueur> Cheat sa me dit que le joueur "<joueur>" n'a pas de report "Cheat"
-
bah essaye juste avec (world is "TONMONDE")
-
Juste grace a une variable que tu set sur le skript d'event x)
-
Faire une plateforme avec 2 variables
LeCraftDeOuf a répondu à un(e) question de LeCraftDeOuf dans Résolus
Merci ! J'essaye je mes en résolu si c le cas :) -
Bonjour, J'vien à vous pour vous demandé comme je pourrai faire pour faire une plateforme avec 2 coordonné ? si possible a set avec une commande de votre choix pour édit le coordonné 1 et le 2 :) J'ai commencé un skript d’événement j'essayerai de l’intégré dedans: #SKRIPT EVENT options: noperm: &4Erreur: &cVous n'avez pas la permission d'executé cette commande ! event: &9[&bEVENT&9] command /event [<text>] [<text>]: permission: event.start permission message: {@noperm} trigger: if player is in "factionmoderne": if arg 1 is "rdm" or "random": if arg 2 is not set: send "&e---=== {@event} ===--- " send " " send "&b/event <event> <start> &7- Commencé un event " send "&b/event <event> stop &7- arrèté un event " send " " send "&e---=== {@event} ===--- " stop else: if arg 2 is "go" or "start": if {event.random} is false: set {event.random} to true loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&6&lAct&fasia" set score " " in sidebar of loop-player to 11 set id based score "{@event}:" in sidebar of loop-player to 10 with id "event.%loop-player%" set id based score "&6random récompense" in sidebar of loop-player to 9 with id "event1.%loop-player%" set id based score "&c15 Secondes" in sidebar of loop-player to 9 with id "event2.%loop-player%" broadcast "{@event} &2L'event &e%arg 1% &2à était lancé:" wait 2 seconds broadcast "&e&lDans cette event:" wait 0.5 second broadcast " " wait 1.5 second broadcast "&eUn joueur random seras choisi aléatoirement, puis gagneras une récompense random." wait 5 seconds broadcast "{@event} 15" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c14 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c13 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c12 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c11 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c10 Secondes" and 4 broadcast "{@event} 10" wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c9 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c8 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c7 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c6 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c5 Secondes" and 4 broadcast "{@event} 5" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c4 Secondes" and 4 broadcast "{@event} 4" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c3 Secondes" and 4 broadcast "{@event} 3" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c2 Secondes" and 4 broadcast "{@event} 2" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c1 Seconde" and 4 broadcast "{@event} 1" loop all players in "world": add loop-player to {_random::*} set {_random} to a random element of {_random::*} wait 1 second loop all players: edit score id "event2.%loop-player%" to "&o&cWin: &6%{_random}%" and 4 broadcast "{@event} &2Bien joué &b%{_random}%" send action bar from "{@event} &2Bien joué &b%{_random}%" to {_random} set {event.random} to false execute server command "/b %{_random}%" wait 5 seconds loop all players: if world of loop-player is "world": wipe loop-player's sidebar set name of sidebar of loop-player to "&6&lAct&fasia" set score " " in sidebar of loop-player to 11 set id based score "&7Connectés: &f%number of players%" in sidebar of loop-player to 10 with id "test2.%loop-player%" set id based score "&f&l➳ &6&l%loop-player%" in sidebar of loop-player to 8 with id "test4" set id based score "&7Money: &f%money of loop-player%" in sidebar of loop-player to 7 with id "test5" set id based score " " in sidebar of loop-player to 6 with id "test6" set id based score "&7Teamspeak:" in sidebar of loop-player to 5 with id "test7" set id based score "&bactasia.miki-heberg.fr" in sidebar of loop-player to 4 with id "test8.%loop-player%" set id based score " " in sidebar of loop-player to 3 with id "test9" set id based score "&6Boutique Bientot disponible !" in sidebar of loop-player to 2 with id "test10" else: wipe loop-player's sidebar else: send "{@event} &2L'event &aRandom &2est déjà en cours ..." stop trigger if arg 2 is "stop": set {event.random} to false stop trigger else: send "&e---=== {@event} ===--- " send " " send "&b/event <event> <start> &7- Commencé un event " send "&b/event <event> stop &7- arrèté un event " send " " send "&e---=== {@event} ===--- " stop if arg 1 is "list": send "{@event} &2List des event:" send "{@event} &7- random" else: send "&e---=== {@event} ===--- " send " " send "&b/event <event> <start> &7- Commencé un event " send "&b/event <event> stop &7- arrèté un event " send " " send "&e---=== {@event} ===--- " stop else: send "&cL'event &2Random &cne peut être faite que sur le &2FactionModerne" command /b <player>: trigger: chance of 10%: give 1 diamond helmet to arg 1 stop trigger chance of 10%: give 1 diamond chestplate to arg 1 stop trigger chance of 10%: give 1 diamond leggins to arg 1 stop trigger chance of 10%: give 1 diamond boots to arg 1 stop trigger chance of 10%: give diamond sword to arg 1 stop trigger chance of 10%: give diamond shovel to arg 1 give diamond pickaxe to arg 1 give diamond axe to arg 1 give diamond hoe to arg 1 stop trigger chance of 10%: give 16 golden apple to arg 1 stop trigger chance of 10%: give 5 322:1 to arg 1 stop trigger chance of 10%: give 16 iron ore to arg 1 give 16 gold ore to arg 1 give 16 coal ore to arg 1 give 16 lapis ore to arg 1 give 4 emerald ore to arg 1 stop trigger chance of 10%: give 16 35:0 to arg 1 give 16 35:1 to arg 1 give 16 35:2 to arg 1 give 16 35:3 to arg 1 give 16 35:4 to arg 1 give 16 35:5 to arg 1 give 16 35:6 to arg 1 give 16 35:7 to arg 1 give 16 35:8 to arg 1 give 16 35:9 to arg 1 give 16 35:10 to arg 1 give 16 35:11 to arg 1 give 16 35:12 to arg 1 give 16 35:13 to arg 1 give 16 35:14 to arg 1 give 16 35:15 to arg 1 stop trigger else: give 1 52:54 to arg 1 stop trigger Merci de votre aide ps: je suis en 1.10 sur Spigot je veux juste que sur je set 1 points en x=0 y=0 z=0 et un autre en x=100 y=0 z=100 donc sa me crée un plateforme entre 0 0 0 et 100 0 100
-
annuler les loots et détecter quand quelqu'un boit
LeCraftDeOuf a répondu à un(e) question de Blo0FireEdeN dans Résolus
Pas de quoi :) -
annuler les loots et détecter quand quelqu'un boit
LeCraftDeOuf a répondu à un(e) question de Blo0FireEdeN dans Résolus
Oui comme Nashoba la dit: On break: if event-block is sand: #sand = sable cancel event set event-block to air -
Bonjour j'ai fait ceci: every 69 ticks: wait 10 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&ba&f&lc&btasia.miki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bac&f<&basia.miki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bact&f&la&bsia.miki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bacta&f&ls&bia.miki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactas&f&li&ba.miki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasi&f&la&b.miki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia&f&l.&bmiki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.&f&lm&biki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.m&f&li&bki-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.mi&f&lk&bi-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.mik&f&li&b-heberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki&f&l-&bheberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-&f&lh&beberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-h&f&le&bberg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-he&f&lb&berg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-heb&f&le&brg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-hebe&f&lr&bg.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-heber&f&lg&b.fr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-heberg&f&l.&bfr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-heberg.&f&lf&br" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-heberg.f&f&lr" and 4 wait 3 ticks loop all players: if loop-player is in world "world": edit score id "test8.%loop-player%" to "&bactasia.miki-heberg.fr" and 4 every 69 ticks: loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &ba&fctasia.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &fa&bc&ftasia.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &fac&bt&fasia.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &fact&ba&fsia.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &facta&bs&fia.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &factas&bi&fa.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &factasi&ba&f.miki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &factasia&b.&fmiki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.&bm&fiki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&6&lAct&f&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.m&bi&fki-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.mi&bk&fi-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.mik&bi&f-heberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki&b-&fheberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-&bh&feberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-h&be&fberg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-he&bb&ferg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-heb&be&frg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-hebe&br&fg.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-heber&bg&f.fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-heberg&b.&ffr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-heberg.&bf&fr" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-heberg.f&br" for loop-player wait 3 ticks loop all players: set tab header to "&f&lAct&6&lasia" and footer to "%nl%&e&lTeamspeak: &factasia.miki-heberg.fr" for loop-player mais le problème c que mon serveur lag avec comment je peut remplacé le every ticks ?
-
merci juste le if {_ploc} is player's location: c pour la vue c sa ?
-
Aussi mais mec si t'es pas content fait lui :) mais effectivement j'aurai pu set une variable d'ailleur s'il veut que je lui fait il à pas de problème :) sa eviterai les lags après avoir fait des teste j'y arrive toujour pas le skript que j'ai fait: #A configuré :) options: permission: rust.admin.sethub permmsg: &4Erreur:&c Vous n'avez pas la permission de faire cela ! RustPrefix: &e[&cTeste&e] hubset: &8Le &6HUB &8à bien été definie tp: &8Téléportation au &6HUB &8dans 5 seconds ... #ligne 22 tp2: &8Tu a été téléporter au &6HUB &8! #ligne 35 nohub: &8Aucun hub défini ! #ligne 49 tpannule: &8Téléportation annulé ... #ligne 53 #Not modified #Ne pas modifié on load: if {hub.accesible} is not set: set {hub.accesible} to false command /sethub: permission: {@permission} permission message: {@permmsg} trigger: set {hub} to location of player send "{@RustPrefix} {@hubset}" set {hub.accesible} to true command /hub: trigger: if {hub.accesible} is true: set {loc.%player%} to location of player set {anymove} to true send "&8{@RustPrefix} {@tp}" send "%{loc.%player%}%" wait 1 seconds set {_loc.%player%} to location of player if {loc.%player%} is {_loc.%player%}: wait 1 seconds set {_loc.%player%} to location of player if {loc.%player%} is {_loc.%player%}: wait 1 seconds set {_loc.%player%} to location of player if {loc.%player%} is {_loc.%player%}: wait 1 seconds set {_loc.%player%} to location of player if {loc.%player%} is {_loc.%player%}: wait 1 seconds set {_loc.%player%} to location of player if {loc.%player%} is {_loc.%player%}: teleport player to {hub} send "{@tp2}" set {anymove} to false else: send "{@tpannule}" stop trigger else: send "{@tpannule}" stop trigger else: send "{@tpannule}" stop trigger else: send "{@tpannule}" stop trigger else: send "{@tpannule}" stop trigger else: send "&8{@RustPrefix} {@nohub}" #By LeCraftDeOuf #Full access
-
Pour te répondre: j'avais pensé au: on walk to <bloc>: mais le problème c qu'il faudra mettre tousd les bloc disponible ou que les joueur peuvent marché :/
-
@DarKweeL jte fait sa Voila que c'est fait: #A configuré :) options: permission: rust.admin.sethub permmsg: &4Erreur:&c Vous n'avez pas la permission de faire cela ! RustPrefix: &e[&cTeste&e] hubset: &8Le &6HUB &8à bien été definie tp: &8Téléportation au &6HUB &8dans 5 seconds ... #ligne 22 tp2: &8Tu a été téléporter au &6HUB &8! #ligne 35 nohub: &8Aucun hub défini ! #ligne 49 tpannule: &8Téléportation annulé ... #ligne 53 #Not modified #Ne pas modifié on load: if {hub.accesible} is not set: set {hub.accesible} to false command /sethub: permission: {@permission} permission message: {@permmsg} trigger: set {hub} to location of player send "{@RustPrefix} {@hubset}" set {hub.accesible} to true command /hub: trigger: if {hub.accesible} is true: set {anymove} to true send "&8{@RustPrefix} {@tp}" wait 1 seconds if {anymove} is true: wait 1 seconds if {anymove} is true: wait 1 seconds if {anymove} is true: wait 1 seconds if {anymove} is true: wait 1 seconds if {anymove} is true: teleport player to {hub} send "{@tp2}" set {anymove} to false else: stop trigger else: stop trigger else: stop trigger else: stop trigger else: stop trigger else: send "&8{@RustPrefix} {@nohub}" on any move: if {anymove} is true: set {anymove} to false send "&8{@RustPrefix} {@tpannule}" else: stop #By LeCraftDeOuf #Full access Jte laisse modifié les message dans les Options
-
Sujet : Version de minecraft / skript : Spigot 1.10 / Skript v2.2-dev25 Type du skript : Skript d'event Description du script : Bonjour je souhaiterais un skript pour effectué un event "feuilles" donc cela consiste en: Donc on fait la commande "/event feuilles start" et l'event se lance en dans un premier temps cela crée une plateforme de feuilles dans les coordonnée donné ensuite sa avertie les joueurs que l'event va commencer il faut qu'il marque "§oui" pour y participé. ensuite au bout de quelque 1-2 minutes (réglable) cela teleport les joueurs sur la plateforme auparavant créer ensuite les feuilles disparaissent une par une (réglable si possible) donc le gagnant est celui qui reste les plus longtemps sur la plateforme sans tomber. le /event feuille stop sert a arreté l'event en cas de problème Voila je croit avoir tous dit. Commandes éventuelles avec les permissions : /event feuille start /event feuille stop les permission je ferai Autres précisions (bout de skript déjà fait, systèmes actuellement utilisés, etc.) : #SKRIPT EVENT options: noperm: &4Erreur: &cVous n'avez pas la permission d'executé cette commande ! event: &9[&bEVENT&9] command /event [<text>] [<text>]: permission: event.start permission message: {@noperm} trigger: if arg 1 is "rdm" or "random": if arg 2 is not set: send "&e---=== {@event} ===--- " send " " send "&b/event <event> <start> &7- Commencé un event " send "&b/event <event> stop &7- arrèté un event " send " " send "&e---=== {@event} ===--- " stop else: if arg 2 is "go" or "start": if {event.random} is false: set {event.random} to true loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&6&lAct&fasia" set score " " in sidebar of loop-player to 11 set id based score "{@event}:" in sidebar of loop-player to 10 with id "event.%loop-player%" set id based score "&6random récompense" in sidebar of loop-player to 9 with id "event1.%loop-player%" set id based score "&c15 Secondes" in sidebar of loop-player to 9 with id "event2.%loop-player%" broadcast "{@event} &2L'event &e%arg 1% &2à était lancé:" wait 2 seconds broadcast "&e&lDans cette event:" wait 0.5 second broadcast " " wait 1.5 second broadcast "&eUn joueur random seras choisi aléatoirement, puis gagneras une récompense random." wait 5 seconds broadcast "{@event} 15" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c14 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c13 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c12 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c11 Secondes" and 4 wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c10 Secondes" and 4 broadcast "{@event} 10" wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c9 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c8 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c7 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c6 Secondes" and 4 wait 1 seconds loop all players: edit score id "event2.%loop-player%" to "&c5 Secondes" and 4 broadcast "{@event} 5" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c4 Secondes" and 4 broadcast "{@event} 4" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c3 Secondes" and 4 broadcast "{@event} 3" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c2 Secondes" and 4 broadcast "{@event} 2" wait 1 second loop all players: edit score id "event2.%loop-player%" to "&c1 Seconde" and 4 broadcast "{@event} 1" loop all players in "world": add loop-player to {_random::*} set {_random} to a random element of {_random::*} wait 1 second loop all players: edit score id "event2.%loop-player%" to "&o&cWin: &6%{_random}%" and 4 broadcast "{@event} &2Bien joué &b%{_random}%" send action bar from "{@event} &2Bien joué &b%{_random}%" to {_random} set {event.random} to false execute server command "/b %{_random}%" wait 5 seconds loop all players: if world of loop-player is "world": wipe loop-player's sidebar set name of sidebar of loop-player to "&6&lAct&fasia" set score " " in sidebar of loop-player to 11 set id based score "&7Connectés: &f%number of players%" in sidebar of loop-player to 10 with id "test2.%loop-player%" set id based score "&f&l➳ &6&l%loop-player%" in sidebar of loop-player to 8 with id "test4" set id based score "&7Money: &f%money of loop-player%" in sidebar of loop-player to 7 with id "test5" set id based score " " in sidebar of loop-player to 6 with id "test6" set id based score "&7Teamspeak:" in sidebar of loop-player to 5 with id "test7" set id based score "&bactasia.miki-heberg.fr" in sidebar of loop-player to 4 with id "test8.%loop-player%" set id based score " " in sidebar of loop-player to 3 with id "test9" set id based score "&6Boutique Bientot disponible !" in sidebar of loop-player to 2 with id "test10" else: wipe loop-player's sidebar else: send "{@event} &2L'event &aRandom &2est déjà en cours ..." stop trigger if arg 2 is "stop": set {event.random} to false stop trigger else: send "&e---=== {@event} ===--- " send " " send "&b/event <event> <start> &7- Commencé un event " send "&b/event <event> stop &7- arrèté un event " send " " send "&e---=== {@event} ===--- " stop if arg 1 is "list": send "{@event} &2List des event:" send "{@event} &7- random" else: send "&e---=== {@event} ===--- " send " " send "&b/event <event> <start> &7- Commencé un event " send "&b/event <event> stop &7- arrèté un event " send " " send "&e---=== {@event} ===--- " stop command /b <player>: trigger: chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger chance of 10%: give 64 iron ingot to arg 1 stop trigger else: send "Desoler" stop trigger J'aimerai que votre code soient rajouté dans le mien. Merci de votre aide et bonne journée.
-
Up pls
-
C /§nethergui PAS /nethergui
-
Derien :)
-
bah avant ton teleport tu met un wait 3 seconds: teleport player to pour un effect stylé met lui du blindness
-
c juste un placement de bed au dessus d'un block command /resetmap: permission: dev trigger: loop blocks within {mappos1} to {mappos2}: if loop-block is red wool block or blue wool block or end stone or tnt or dispenser or 206: set loop-block to air loop blocks within {bedbleu} to {bedbleu}: set loop-block to bed loop blocks within {bedrouge} to {bedrouge}: set loop-block to bed loop blocks within {stainedred1} to {stainedred2}: set loop-block to 159:14 loop blocks within {stainedblue1} to {stainedblue2}: set loop-block to 159:11
-
Bonjour, Mon skripteur m'as fait un skript mais seul problème le bed ce place bizarrement: merci de votre aide
-
super merci bien monsieur !
-
Bonjour, donc j'vous explique, donc j'ai fait une skript de pvp 1v1 mais le seul problème est que je ne sais pas comment faire pour que quand le joueur fait /1v1 sa choisit une arene random dans une list : {arène.1v1::*} merci !
-
:p
-
c bon c réglé merci beaucoup !
-
This server is running CraftBukkit version git-Spigot-798F32D-0CD0397 (MC: 1.9.4) (Implementing API version 1.9.4-R0.1-SNAPSHOT) SkRayFall 1.9.jar
-
Voila