command /eventkoyunu:
permission: sk.admin
permission message: &3EK &8- &7Yetkiniz yok!
trigger:
broadcast "&6Event Koyunu &8- &7Koyunlar, &c1 dakika &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 30 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c30 Saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 20 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c10 saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 5 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c5 saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 1 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c4 saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 1 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c3 saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 1 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c2 saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 1 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &c1 saniye &7sonra &e/warp eventkoyunu&7'na salınacak!"
wait 1 seconds
broadcast "&6Event Koyunu &8- &7Koyunlar, &e/warp eventkoyunu&7'na salındı. Bol şans!"
spawn a sheep at {eventkoyunu.1}
set name of the spawned sheep to "&aE&bV&cE&dN&eT &1K&2O&3Y&4U&5N&6U"
set spawned sheep's max health to 150
heal the spawned sheep by 150 hearts
apply resistance 4 to the spawned sheep for 9999 minutes
apply speed 2 to the spawned sheep for 9999 seconds
spawn a sheep at {eventkoyunu.2}
set name of the spawned sheep to "&aE&bV&cE&dN&eT &1K&2O&3Y&4U&5N&6U"
set spawned sheep's max health to 150
heal the spawned sheep by 150 hearts
apply resistance 4 to the spawned sheep for 9999 minutes
apply speed 2 to the spawned sheep for 9999 seconds
spawn a sheep at {eventkoyunu.3}
set name of the spawned sheep to "&aE&bV&cE&dN&eT &1K&2O&3Y&4U&5N&6U"
set spawned sheep's max health to 150
heal the spawned sheep by 150 hearts
apply resistance 4 to the spawned sheep for 9999 minutes
apply speed 2 to the spawned sheep for 9999 seconds
command /eventalan <number>:
permission: sk.admin
permission message: &3EK &8- &7Yetkiniz yok!
trigger:
if arg-1 is 1:
set {eventkoyunu.1} to location of player
message "&6EK &8- &31. Koyun &7Alanı belirlendi!"
if arg-1 is 2:
set {eventkoyunu.2} to location of player
message "&6EK &8- &32. Koyun &7Alanı belirlendi!"
if arg-1 is 3:
set {eventkoyunu.3} to location of player
message "&6EK &8- &33. Koyun &7Alanı belirlendi!"
on damage of sheep:
if name of sheeps is "&aE&bV&cE&dN&eT &1K&2O&3Y&4U&5N&6U":
apply speed 4 to the victim for 3 seconds
message "&8[&6EK&8] - &7Kalan can: &6%victim's health%&8/&6150" to attacker
on death of sheep:
if attacker is a player:
if name of sheeps is "&aE&bV&cE&dN&eT &1K&2O&3Y&4U&5N&6U":
drop 1 diamond helmet of protection 4 and unbreaking 3 and thorns 3 named "&3Event Kaski" at victim
drop 1 diamond chestplate of protection 4 and unbreaking 3 and thorns 3 named "&3Event Zirhi" at victim
drop 1 diamond leggings of protection 4 and unbreaking 3 and thorns 3 named "&3Event Pantolonu" at victim
drop 1 diamond boots of protection 4 and unbreaking 3 and thorns 3 named "&3Event Botu" at victim
drop 1 diamond sword of sharpness 5 and unbreaking 3 and fire aspect 2 named "&3Event Kilici" at victim
on load:
message "&3Event Koyunu &2Aktif &7| by &2HarunBulBull" to console
on unload:
message "&3Event Koyunu &4De-Aktif &7| by &4HarunBulBull" to console