bugrabozkurt1
Ağaç Yumruklayıcı
- En iyi cevaplar
- 0
PvP Server için bounty olan ? varmı lazımda
options:
prefix: &8[&eBounty&8]
permission: bounty.perm
deathbounty: 8
killbounty: 8
minbounty: 0
on death:
set {silenecekbounty} to random integer between 1 and 22
set {verilecekbounty} to random integer between 1 and 22
victim is a player
attacker is a player
remove {silenecekbounty} from {bounty.%victim%}
add {verilecekbounty} to {bounty.%attacker%}
#add {@killbounty} to {bounty.%attacker%}
wait 1.5 second
send "{@prefix} &aÖldüğün için &c%{silenecekbounty}% &abounty kaybettin!" to victim
send "{@prefix} &aOyuncu öldürdüğün için &c%{verilecekbounty}% &abounty kazandın!" to attacker
if {bounty.%victim%} is less than {@minbounty}:
set {bounty.%victim%} to {@minbounty}
on join:
add 0 to {bounty.%player%}
on chat:
cancel event
loop all players:
if loop-player has the permission "{@permission}":
send "&8[&e%{bounty.%player%}%&8] %player's display name% &l&8>&r <%{chatrengi.%player%}%>%message%" to loop-player
command /bountyayarla <text> <number>:
permission: bountyayarla.admin
trigger:
set {bounty.%arg 1%} to arg 2
send "&c%arg 1% Adlı Oyuncunun Puanı %arg 2% 'ye Ayarlandı!"
command /bountyver <text> <number>:
permission: bountyayarla.admin
trigger:
add arg 2 to {bounty.%arg 1%}
send "&c%arg 1% Adlı Oyuncunun Puanına %arg 2% ekledin!"
command /bounty <text> <number>:
trigger:
if arg 2 is greater than or equal to {@minbounty}:
if {bounty.%executor%} is greater than or equal to arg 2:
if player is not online:
send "&cBu Oyuncu Açık Değil!"
else:
remove arg 2 from {bounty.%executor%}
add arg 2 to {bounty.%arg 1%}
send "&c%arg 1% Adlı Kişiye &3%arg 2% &cMiktarında Puan Gönderdiniz!" to executor
broadcast "&c%player%,%arg-1%'e &3%arg-2% &cMiktarında Puan Gönderdi!"
else:
send "&cBounty Miktarınız Yetersiz!" to executor
else:
send "{@prefix} &aBu işlem gerçekleştirilemez." to executor