Yiğit_bee
Zombi Katili
- En iyi cevaplar
- 0
Size azcık basit azcık karışık bir skript hazırladım, bir çoğunuz sunucunuzda boss sistemi olmasını istiyor ama bazı pluginler kodlaması ve içinden belirli eşyaların düşememesi yada kodlarken sıkıntı yaşamasi sebebiyle kullanılmıyor ve bu yüzden Boss Sistemi diye bir şey olmuyor. Size vereceğim skripti bende kendi sunucumda kullanıyorum ve gayet memnunum, bu sorun hariç:
"ZombiKral ve OkçuKraliçe'nin güneş ışınlarında yanması. (Boss warpınızı kapalı bir alanda yapın)"
Bu sorun dışında herhangi bir sorun yok.
Boss yetkisi (permission): boss.admin
Nasıl kullanılır?
3 adet boss vardır.
Bu 3 boss için ilk önce yer seçmeniz gerek;
/boss yeryap <zombikral/okcukralice/golembaba>
Ardından,
/boss yarat <bossadi>
Yazarsanız seçtiğiniz yerde Boss doğar, öldürünce bossparası düşer ve 5 saniye sonra tekardan doğar.
Boss Özellikleri:
ZombiKral:
Canı 1000
Öldürünce 1 adet BossParasi verir.
OkcuKralice:
Canı 1500
Öldürünce 2 adet BossParasi verir.
GolemBaba:
Canı 2000
Öldürünce 3 adet BossParasi verir.
Skript:
"ZombiKral ve OkçuKraliçe'nin güneş ışınlarında yanması. (Boss warpınızı kapalı bir alanda yapın)"
Bu sorun dışında herhangi bir sorun yok.
Boss yetkisi (permission): boss.admin
Nasıl kullanılır?
3 adet boss vardır.
Bu 3 boss için ilk önce yer seçmeniz gerek;
/boss yeryap <zombikral/okcukralice/golembaba>
Ardından,
/boss yarat <bossadi>
Yazarsanız seçtiğiniz yerde Boss doğar, öldürünce bossparası düşer ve 5 saniye sonra tekardan doğar.
Boss Özellikleri:
ZombiKral:
Canı 1000
Öldürünce 1 adet BossParasi verir.
OkcuKralice:
Canı 1500
Öldürünce 2 adet BossParasi verir.
GolemBaba:
Canı 2000
Öldürünce 3 adet BossParasi verir.
Skript:
Kod:
#Skript yazari: beeboy07
#Boss oldurunce icinden boss parasi duser.
options:
prefix: &8[&6&lBoss&8] #Boss tagi
zombikral: &8&m-[--&2&l&lZombiKral&8&m--]- #Boss ismi
okcukralice: &8&m-[--&4&lOkcuKralice&8&m--]- #Boss ismi
golembaba: &8&m-[--&b&l&oGolem&f&l&oBaba&8&m--]- #Boss ismi
command /boss [<text>] [<text>]:
permission: boss.admin
permission message: &cBunu yapmak icin yetkiniz yok!
usage: /boss <yeryap/yarat> <boss>
trigger:
if arg 1 is "yerbelirle":
if arg 2 is "zombikral":
set {boss.dogma.zombikral} to location of player
send "&8&m-[---------------------------------------------------]-"
send "{@prefix}&7 &2&lZombiKral &7adli bosun dogma yeri secildi!"
send "&8&m-[---------------------------------------------------]-"
if arg 2 is "okcukralice":
set {boss.dogma.okcukralice} to location of player
send "&8&m-[---------------------------------------------------]-"
send "{@prefix}&7 &4&lOkcuKralice &7adli bosun dogma yeri secildi!"
send "&8&m-[---------------------------------------------------]-"
if arg 2 is "golembaba":
set {boss.dogma.golembaba} to location of player
send "&8&m-[---------------------------------------------------]-"
send "{@prefix}&7 &b&l&oGolem&f&l&oBaba &7adli bosun dogma yeri secildi!"
send "&8&m-[---------------------------------------------------]-"
if arg 1 is "yarat":
if arg 2 is "zombikral":
spawn 1 zombie at {boss.dogma.zombikral}
set name of spawned zombie to "{@zombikral}"
set maximum health of last spawned zombie to 1000
set health of last spawned zombie to 1000
if arg 2 is "okcukralice":
spawn 1 skeleton at {boss.dogma.okcukralice}
set name of spawned skeleton to "{@okcukralice}"
set maximum health of last spawned skeleton to 1500
set health of last spawned skeleton to 1500
if arg 2 is "golembaba":
spawn 1 iron golem at {boss.dogma.golembaba}
set name of spawned iron golem to "{@golembaba}"
set maximum health of last spawned iron golem to 2000
set health of last spawned iron golem to 1000
if arg 1 is not set:
send "&8&m-[---------------------------------------------------]-"
send " &6| &a/boss <yarat/yerbelirle> <bossismi>" to player
send "&8&m-[---------------------------------------------------]-"
on death of zombie:
attacker is a player
victim is a zombie
victim's name is "{@zombikral}":
clear drops
give 1 paper named "&8&lBoss&f&lParasi" to attacker
send "&8&m-[---------------------------------------------------]-" to attacker
send "{@prefix}&c &2&lZombiKral &7adli boss'u oldurdun!" to attacker
send "&8&m-[---------------------------------------------------]-" to attacker
wait 5 second
execute console command "/boss yarat zombikral"
on death of skeleton:
attacker is a player
victim is a skeleton
victim's name is "{@okcukralice}":
clear drops
give 2 paper named "&8&lBoss&f&lParasi" to attacker
send "&8&m-[---------------------------------------------------]-" to attacker
send "{@prefix}&c &4&lOkcuKralice &7adli boss'u oldurdun!" to attacker
send "&8&m-[---------------------------------------------------]-" to attacker
wait 5 second
execute console command "/boss yarat okcukralice"
on death of iron golem:
attacker is a player
victim is a iron golem
victim's name is "{@golembaba}":
clear drops
give 3 paper named "&8&lBoss&f&lParasi" to attacker
send "&8&m-[---------------------------------------------------]-"
send "{@prefix}&c &b&l&oGolem&f&l&oBaba &7adli boss'u oldurdun!" to attacker
send "&8&m-[---------------------------------------------------]-" to attacker
wait 5 second
execute console command "/boss yarat golembaba"
on damage of entity:
attacker is a player
victim is a zombie
victim's name is "{@zombikral}":
send "{@prefix}&7 &e&lZombiKral&7'in &c%health of victim%&7/&c1000 &7cani kaldi!" to attacker
on damage of entity:
attacker is a player
victim is a skeleton
victim's name is "{@okcukralice}":
send "{@prefix}&7 &4&lOkcuKralice &7'nin &c%health of victim%&7/&c1500 &7cani kaldi!" to attacker
on damage of entity:
attacker is a player
victim is a iron golem
victim's name is "{@golembaba}":
send "{@prefix}&7 &b&l&oGolem&f&l&oBaba&7'nin &c%health of victim%&7/&c2000 &7cani kaldi!" to attacker