Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &6IPSERWERA &c»
- variables:
- {czas::%player%} = 0
- command /bot [<text>] [<text>]:
- aliases: /wyrzucbota, /boty, /kickbot, /kickbots, /ab, /antybot
- trigger:
- if player has permission "*":
- if arg-1 is "1" or "2" or "3" or "4":
- if arg-1 is "1":
- loop all players:
- if {czas::%loop-player%} is less than 5:
- kick loop-player due to "{@prefix} &cPrawdopodobnie byles botem!"
- broadcast "{@prefix} &7Wszystkie boty zostaly wyrzucone z serwera!"
- else if arg-1 is "2":
- if arg-2 is set:
- loop all players:
- if loop-player's name contains "%arg-2%":
- execute console command "ga points %loop-player% 0"
- kick loop-player due to "{@prefix} &cPrawdopodobnie byles botem!"
- broadcast "{@prefix} &7Wszystkie boty zostaly wyrzucone z serwera!"
- else:
- send "{@prefix} &7Musisz podac czesc nicku bota!"
- else if arg-1 is "3":
- if arg-2 is set:
- loop all players:
- if loop-player's name contains "%arg-2%":
- if file "plugins/Skript/Boty/%player's ip%" doesn't exists:
- execute console command "ga points %loop-player% 0"
- create file "plugins/Skript/Boty/%loop-player's ip%"
- kick loop-player due to "{@prefix} &cPrawdopodobnie byles botem!"
- broadcast "{@prefix} &7Wszystkie boty zostaly wyrzucone i zablokowane!"
- else:
- send "{@prefix} &7Musisz podac czesc nicku bota!"
- else if arg-1 is "4":
- if arg-2 is set:
- loop all players:
- if loop-player's name contains "%arg-2%":
- if file "plugins/Skript/Boty/%player's ip%" doesn't exists:
- execute console command "ga points %loop-player% 0"
- create file "plugins/Skript/Boty/%loop-player's ip%"
- add loop-player to {bot::*}
- kick loop-player due to "{@prefix} &cPrawdopodobnie byles botem!"
- broadcast "{@prefix} &7Wszystkie boty zostaly wyrzucone i zablokowane!"
- else:
- send "{@prefix} &7Musisz podac czesc nicku bota!"
- else:
- send "&8&l---------------[&cAntyBot&8&l]---------------"
- send "&7Pierwszy typ wyrzucenia botow &8(1)"
- send "&6Przydatny gdy boty maja losowe znaki w nicku."
- send ""
- send "&7Drugi typ wyrzucenia botow &8(2)"
- send "&6Przydatny gdy boty maja podobne nicki."
- send "&6Trzeba dopisac czesc nicku"
- send "&6powtarzajaca sie u kazdego bota."
- send ""
- send "&7Trzeci typ wyrzucenia botow &8(3)"
- send "&6Dziala tak samo jak poprzedni, lecz"
- send "&6dodatkowo blokuje adresy ip"
- send "&6wyrzuconych botow."
- send ""
- send "&7Czwarty typ wyrzucenia botow &8(4)"
- send "&6Dziala jak trzecia, dodatkowo"
- send "&6blokuje tymczasowo wbijanie botow z"
- send "&6podobnymi nickami"
- send ""
- send "&cAby wyrzucic bota wpisz&6:"
- send "&e/bot &8(1-4)"
- send "&8&l---------------[&cAntyBot&8&l]---------------"
- every 1 minute:
- loop all players:
- add 1 to {czas::%loop-player%}
- execute console command "pex user %loop-player% add minecraft.command.execute"
- on connect:
- if {antybot::%player%} is not set:
- kick player due to "&cAntyBot &a» &cWbij ponownie!"
- set {antybot::%player%} to true
- if player's name contains "proxy" or "bot" or "mcstorm":
- kick player due to "{@prefix} Prawdopodobnie jestes botem!"
- if file "plugins/Skript/Boty/%player's ip%" exists:
- kick player due to "{@prefix} &7Twoj adres ip jest zablokowany na tym serwerze"
- loop all players:
- if loop-player's name contains "%{bot::*}%":
- kick loop-player due to "{@prefix} &7Prawdopodobnie jestes botem!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement