TorkauL
CAPE NETWORK OYUN HİZMETLERİ
Kod:
options:
Prefix: &c- &6&lCape &a&lNW &C- &7
command /tasayarla:
trigger:
if player has permission "tas.admin":
if targeted block is obsidian:
if {ozeltas::%location of targeted block%} is not set:
set {_loc} to location of targeted block
set {ozeltas::%{_loc}%} to {_loc}
message "{@Prefix} &7Onunuzdeki obsidyeni metin tasina cevirdiniz normale cevirmek icin tekrar &c/tasayarla &7yaziniz."
stop
else if {ozeltas::%location of targeted block%} is set:
clear {ozeltas::%location of targeted block%}
message "{@Prefix} &7Metin tasini normal obsidyene cevirdiniz tekrar metin tasi yapmak icin &c/tasayarla &7yaziniz."
else:
message "{@Prefix} &7Bu komutu gerceklestirebilmek icin bir &cobsidyene &7dogru bakiyor olmaniz gerekmektedir."
else:
message "{@Prefix} &cBunun icin gerekli yetkiye sahip degilsin.."
options:
Prefix: &c- &6&lCape &a&lNW &C- &7
on break of obsidian:
if {ozeltas::can} is smaller than 0:
message "&8{@Prefix} &cMetinTaşını kırdın."
drop 1 diamond helmet of protection 9, unbreaking 5 named "&c&lMETIN KASKI"
drop 1 diamond chestplate of protection 9, unbreaking 5 named "&c&lMETIN ZIRHI"
drop 1 diamond leggings of protection 9, unbreaking 5 named "&c&lMETIN PANTOLONU"
drop 1 diamond boots of protection 9, unbreaking 5 named "&c&lMETIN BOTU"
drop 1 diamond sword of sharpness 9, unbreaking 5, smite 8 named "&c&lMETIN KILICI"
drop 1 tripwire hook named "&bMetinKasa Anahtari" with lore "&b/warp kasa"
drop 1 tripwire hook named "&aObsidyenSandik &4Anahtari" with lore "&b/warp kasa"
chance of 3%:
drop 1 sand named "&2Kaktüs &7Spawner"
message "&8{@Prefix} &bOldukça Şanslı Görünüyorsun." to player
message "&8{@Prefix} &bMetinden &cYüzde Beş Oranla &2Kaktüs &7Spawner &bDüşürdün.!" to player
broadcast "&6%player% &7Adlı Oyuncu &b/warp metin&7'den &aKaktüs &7Spawner &cDÜŞÜRDÜ"
chance of 5%:
drop 1 sponge named "&eSünger &7Spawner"
message "&8{@Prefix} &bOldukça Şanslı Görünüyorsun." to player
message "&8{@Prefix} &bMetinden &cYüzde On Oranla &eSünger &7Spawner &bDüşürdün.!" to player
broadcast "&6%player% &7Adlı Oyuncu &b/warp metin&7'den &eSünger &7Spawner &cDÜŞÜRDÜ"
chance of 20%:
damage the player by 6 heart
send "&8{@Prefix} &7Metin tasina &4Kritik Vurus &7yaptin." to player
set {ozeltas::can} to 250
set event-block to air
broadcast "&8{@Prefix} &9%player% &cMetinTaşını &7kırdı. &b2 Dakika &7sonra tekrar ortaya çıkacak."
wait 120 seconds
set event-block to obsidian
broadcast "&8{@Prefix} &cMetinTaşı &7tekrar çıktı. &c/warp metintasi &7yazarak gidebilirsiniz."
if {ozeltas::%location of event-block%} is set:
message "&cMetin Tasinin &a&l%{ozeltas::can}% &cCani Kaldi!"
remove 1 from {ozeltas::can}
chance of 20%:
damage the player by 3 heart
cancel event
stop
set {ozeltas::can} to 250
Son düzenleme:
