- Katılım
- 9 Temmuz 2017
- Mesajlar
- 429
- Elmaslar
- 73
- Puanlar
- 0
- Minecraft
- DestroyerSlayer_
Şöyle diyeyim;Bence o skript yerine proxy engelleyen bir bot plugini kurman daha mantıklı çünkü anlattığın kadarıyla o skript sadece giren oyuncunun bot olup olmadığını anlıyor ama sunucuya zaten saniye 1000 kişi girdiği için ilk saniyesinde sunucu çökücektir.Hem proxy engelleyen bir plugin hemde onu kurman daha sağlıklı olucaktır.
#Bukkit.yml > connection-throttle: {4000} kısımını {-1} Yapınız!
options:
p: &8[&7&lSorumsuz&e&lNetwork&8]
Atilma-Mesaji: &3&lLutfen Tekrar Giris Yapin&7!&r
perm-mesaj: &cBunun Icin Yetkiniz Yok!
menu-isim: &bBot Koruma &3Menusu
on first join:
kick player due to "{@p} {@Atilma-Mesaji}"
on join:
if {giriskorumasi} is true:
stop
else:
if {ilkgiris.%player%} is not set:
kick player due to "{@p} {@Atilma-Mesaji}"
set {ilkgiris.%player%} to true
stop
if {ilkgiris.%player%} is false:
kick player due to "{@p} {@Atilma-Mesaji}"
set {ilkgiris.%player%} to true
stop
on quit:
set {ilkgiris.%player%} to false
command /girisayarlari [<Text>]:
permission: giris.admin
permission message: {@p} {@perm-mesaj}
trigger:
if arg 1 is not set:
open chest with 1 rows named "{@menu-isim}" to player
if {giriskorumasi} is true:
format slot 4 of player with gray dye named "&8[&bBot Korumasi&8] &cKAPALI" with lore "&aTıklayarak Bot Korumasını Acarsınız!" to close then run [make player execute command "/girisayarlari ac"]
else:
format slot 4 of player with light green dye named "&8[&bBot Korumasi&8] &aAKTIF" with lore "&cTıklayarak Bot Korumasını Kapatırsınız!" to close then run [make player execute command "/girisayarlari kapat"]
else:
if arg 1 is "kapat":
send "{@p} &cBot Koruması Kapatıldı!"
set {giriskorumasi} to true
stop
if arg 1 is "ac":
send "{@p} &aBot Koruması Açıldı!"
set {giriskorumasi} to false
stop