Aller au contenu

Classement

Contenu populaire

Affichage du contenu avec la meilleure réputation le 06/04/2017 dans toutes les zones

  1. Voilà ;) on join: set {look.%player%} to now command /look [<player>]: trigger: if player has permission "look.use": if arg is set: set {_n} to difference between {look.%arg%} and now set {_n} to "%{_n}%" replace "second" with "seconde" in {_n} replace "hour" with "heure" in {_n} replace "day" with "jour" in {_n} replace "and" with "et" in {_n} send "%arg% est connecté depuis %{_n}%." else: send "Vous devez indiquer un joueur" else: send "Vous n'avez pas la permission"
    1 point
  2. Franchement, Waw... Vraiment Mega merci, c'est super sympa de ta pars d'avoir pris du temps pour moi :)
    1 point
  3. Salut command /oeuf: trigger: give 1 Spawn egg named "&aBoss" to player on right click with Spawn Egg: cancel event if name of player's tool is "&aBoss": spawn a zombie at player set helmet of spawned zombie to diamond helmet of protection 7 set chestplate of spawned zombie to diamond chestplate of protection 7 set leggings of spawned zombie to diamond leggings of protection 7 set boots of spawned zombie to diamond boots of protection 7 set name of spawned zombie to "&4[&cBOSS&4] &aBonobo" apply speed 8 to spawned zombie for 999 days apply fire resistance 1 to spawned zombie for 999 days apply resistance 5 to spawned zombie for 15 seconds apply strength 30 to spawned zombie for 999 days remove 1 Spawn Egg named "&aBoss" from player's inventory wait 16 seconds apply resistance 4 to spawned zombie for 999 days Remplace "event-entity" par "spawned zombie", l'event-entity va détecter le joueur qui a fait l'action et non le mob. En espérant avoir pu t'aider.
    1 point
  4. Je vais essayer de te refaire ton skript à ma manière... ;) Je ne garantis rien :p ! EDIT: Normalement ça marche ; variables: {true} = 1 {false} = 0 {flag} = 0 {assec} = 0 {sec} = 5 options: prefix : &8[&6Annonce&8] message2h : &7Un totem va spawn dans &e2&7 heure. message1h : &7Un totem va spawn dans &e1&7 heure. message30min : &7Un totem va spawn dans &e30&7 minutes. message15min : &7Un totem va spawn dans &e15&7 minutes. message5min : &7Un totem va spawn dans &e5&7 minutes. message1min : &7Un totem va spawn dans &e1&7 minutes. messageSec : &7Un totem va spawn dans &e%{sec}%&7 secondes. command /totem: permission: totem.board permission message: &fCommande inconnue. trigger: if {coffre} is set: message "&8[&6Totem&8] &7Coordonées du totem&8 :" message "&8[&6Totem&8] &7X&8 : &e%{x}%&6, &7Y&8 : &e%{y}%&6, &7Z&8 : &e%{z}%&7." else: message "&8[&6Totem&8] &cAucun totem en cours" every 1 seconds: if {assec} is 1: remove 1 to {sec} else: add 1 to {flag} on skript start: set {true} to 1 while {true} = 1: wait 5 tick if {flag} is 60: broadcast "{@prefix} {@message2h}" wait 1 seconds else if {flag} is 90: broadcast "{@prefix} {@message1h}" wait 1 seconds else if {flag} is 100: broadcast "{@prefix} {@message30min}" wait 1 seconds else if {flag} is 140: broadcast "{@prefix} {@message15min}" wait 1 seconds else if {flag} is 150: broadcast "{@prefix} {@message5min}" wait 1 seconds else if {flag} is 160: broadcast "{@prefix} {@message1min}" wait 1 seconds else if {flag} is 170: set {assec} to 1 if {sec} is 0: set {assec} to 1 set {sec} to 5 broadcast "{@prefix} {@messageSec}" set {_x} to random number between -10000 and 10000 set {_y} to random number between 100 and 150 set {_z} to random number between -10000 and 10000 set x-location of {coffre} to {_x} set y-location of {coffre} to {_y} set z-location of {coffre} to {_z} wait 1 seconds set block at {coffre} to chest broadcast "&8[&6Annonce&8] &7Un totem vient d'apparaitre (%{_x}%,%{_y}%,%{_z}%)." loop all players: make loop-player execute command "/totem" if block at {coffre} is a chest: add 1 diamond to {coffre}'s inventory while {coffre} is set: wait 5 ticks if block at {coffre} is a chest: if all items in inventory of block at {coffre} isn't set: loop all players in radius 5 around {coffre}'s location: wait 2 ticks add "&e%loop-player%&7" to {coffre.joueurs::*} set {coffre.joueurs} to "%{coffre.joueurs::*}%" replace all "and" with "&6et&e" in {coffre.joueurs} if {coffre.joueurs} isn't set: broadcast "&8[&6Annonce&8] &cLe totem est delete car il est vide." else: broadcast "&8[&6Annonce&8] &7Le totem a été trouver par &e%{_coffre.joueurs}%&7." set block at {coffre} to air clear {coffre} clear {flag} on skript stop: clear {flag}
    1 point
×
×
  • 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.