Mustafa1448
Ağaç Yumruklayıcı
- En iyi cevaplar
- 0
Arkadaşlar Bana Bir BountySHOP Skripti lazım.O ne Derseniz /bountyshop yazınca önüne bir market açılcak orda bazı itemler olcak işte pvp itemleri elmask kask gapple işte ne bilim çakmak falan vb onlardan alınca bounty benim belirlediğim kadar eksilcek işte bu kadar yaparsanız sevinirim bendeki bounty skripti. buna göre uyarlayabilirminiz. uyarlarsanız sevinirim
Kod:
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
set nametags prefix of attacker to "%{bounty.%player%}%"
set nametags prefix of victim to "%{bounty.%player%}%"
if {bounty.%victim%} is less than {@minbounty}:
set {bounty.%victim%} to {@minbounty}
on join:
add 0 to {bounty.%player%}
set nametags prefix of player 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
set nametags prefix of arg-1 to "%{bounty.%player%}%"
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%}
set nametags prefix of arg-1 to "%{bounty.%player%}%"
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
set nametags prefix of arg-1 to "%{bounty.%player%}%"
set nametags prefix of arg-2 to "%{bounty.%player%}%"
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