Guest User

MobileSecurity

a guest
Sep 22nd, 2016
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. varietas:
  2. {antybot::attack.cooldown} = 0
  3. ################
  4. #Opcje Skryptu!#
  5. ################
  6. options:
  7. nazwaswiata: world
  8. czasbotow: 50
  9. iloscbotow: 10
  10. botownasekund: 2
  11. #################
  12. # Ważne Nie Edytuj #
  13. #################
  14. on join:
  15. add 1 to {antybot::join.check}
  16. wait {@botownasekund} seconds
  17. set {antybot::join.check} to 0
  18. send "&2-=( &aJoinSecurity &2)=- &aSerwer Zabezpieczony Przez AntyBota MineSecure.pl" to the player
  19. if {antybot::attack} is true:
  20. kick player due to "&c[&4AntyBOT&c] &oTrwa atak botow na serwer! Wejdz ponownie za: &4{antybot::attack.cooldown} &c&osekund!"
  21. every 1 second:
  22. if {antybot::join.check} is larger than {@iloscbotow}:
  23. loop all players in "{@nazwaswiata}":
  24. if loop-player has permission "security.sk":
  25. send "&c[&4AntyBOT&c] &oWykryto prawdopodobny atak botow! Sprawdz To!" to players
  26. set {antybot::attack} to true
  27. set {antybot::attack.cooldown} to {@czasbotow}
  28. if {antybot::attack} is true:
  29. execute console command "whitelist on"
  30. wait {@czasbotow} seconds
  31. execute console command "whitelist off"
  32. if {antybot::attack.cooldown} is higher than 1:
  33. remove 1 from {antybot::attack.cooldown}
Advertisement
Add Comment
Please, Sign In to add comment