Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- varietas:
- {antybot::attack.cooldown} = 0
- ################
- #Opcje Skryptu!#
- ################
- options:
- nazwaswiata: world
- czasbotow: 50
- iloscbotow: 10
- botownasekund: 2
- #################
- # Ważne Nie Edytuj #
- #################
- on join:
- add 1 to {antybot::join.check}
- wait {@botownasekund} seconds
- set {antybot::join.check} to 0
- send "&2-=( &aJoinSecurity &2)=- &aSerwer Zabezpieczony Przez AntyBota MineSecure.pl" to the player
- if {antybot::attack} is true:
- kick player due to "&c[&4AntyBOT&c] &oTrwa atak botow na serwer! Wejdz ponownie za: &4{antybot::attack.cooldown} &c&osekund!"
- every 1 second:
- if {antybot::join.check} is larger than {@iloscbotow}:
- loop all players in "{@nazwaswiata}":
- if loop-player has permission "security.sk":
- send "&c[&4AntyBOT&c] &oWykryto prawdopodobny atak botow! Sprawdz To!" to players
- set {antybot::attack} to true
- set {antybot::attack.cooldown} to {@czasbotow}
- if {antybot::attack} is true:
- execute console command "whitelist on"
- wait {@czasbotow} seconds
- execute console command "whitelist off"
- if {antybot::attack.cooldown} is higher than 1:
- remove 1 from {antybot::attack.cooldown}
Advertisement
Add Comment
Please, Sign In to add comment