xEndlessV2
Elmas Madencisi
- En iyi cevaplar
- 0
PvP serverlerinde kullanabileceğiniz,MCSG Bounty sisteminin benzeri bir sistem
Öldüğünüzde 1 ile 22 arası bounty siler.
Öldürdüğünüzde 1 ile 22 arası bounty verir.
Eksilere puan düşürmez.
Sohbette gönderdiği mesaj EssentialsChat ile çakışmaz.
Birbirlerine bounty gönderebilerler.
Yetkisi olanlar oyunculara bounty verebilir:
Linki görebilmek için üye olmanız gerekiyor.
Giriş yap veya üye ol.
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
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
Antibot kullananlarda whitelist sorunu olabiliyor.
Whitelist mantığını kullanmadan perm ile bakımdayken giriş sağlar.
Bakımdayken giriş yapıldığında tabda isim bırakmaz.
Linki görebilmek için üye olmanız gerekiyor.
Giriş yap veya üye ol.
Kod:
options:
tag: &8[&aSunucuAdı&8]
command /bakım [<text>]:
permission: admin.bakim
permission message: {@tag} &4Maleesef bunu yapmaya yetkin yok.
trigger:
if arg-1 is not "aç" or "kapat":
send "{@tag} &b/bakım &d|aç,kapat|" to sender
else:
if arg-1 isn't set:
send "{@tag} &b/bakım &d|aç,kapat|" to sender
else:
if arg-1 is "aç":
broadcast "{@tag} &9Sunucu 10 saniye içerisinde bakım moduna geçiyor,güvenli çıkış yapınız."
wait 10 seconds
set {bakımmodu} to true
loop all players:
if loop-player doesn't have the permission "bakım.kal":
kick loop-player due to "{@tag} &9Sunucu bakıma alındı."
else:
if arg-1 is "kapat":
set {bakımmodu} to false
broadcast "{@tag} &9Bakım %player% tarafından bitirildi."
stop
on connect:
if {bakımmodu} is true:
if player doesn't have the permission "bakım.gir":
kick player due to "{@tag} &9Sunucu şuanda bakımda."
command /maintenance:
executable by: player
trigger:
cancel event
send "{@tag} &b/bakım &d|aç,kapat|" to sender
command /antibotultra:maintenance:
executable by: player
trigger:
cancel event
send "{@tag} &b/bakım &d|aç,kapat|" to sender