Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Chamar cada protecao de acordo com a ordem por nomes
- # Metodos de proteçao não listados nao serao chamados
- # Não mexa se nao sabe o que significa
- Hanshake_Check:
- Ativado: true
- # Blacklisting settings by: Bot-Sentry
- blacklisting:
- # Blacklisting mode ("file" or "both")
- # file - blacklisted ip will be saved to a special file
- # both - blacklisted ip will be saved to a special file and a System command will be run (e.g. to firewall it)
- #
- # P.S: If you decided to use "both" blacklisting mode, your server needs to be run using ROOT
- mode: both
- # Blacklist command.
- # If you are using Windows (instead of Unix-like system), replace the command with that one:
- # "cmd /c netsh advfirewall firewall add rule name=blacklist dir=in interface=any protocol=TPC localport=25565 action=block remoteip={ip}/32"
- add-command: "ipset -! -A blacklist {ip}"
- remove-command: "ipset -! -D blacklist {ip}"
- drop-command: "ipset flush blacklist"
- # System commands
- system-commands:
- # Command that will be executed to install the ipset package
- # Depending on your Linux distribution the install command might vary
- # These are some of the commands to install ipset using different package-management utilities:
- # "apt --yes install ipset" - APT (e.g. Debian, Ubuntu)
- # "yum -y install ipset" - YUM (e.g. CentOS, older versions of Fedora)
- # "dnf -assumeyes install ipset" - DNF (e.g. newer versions of Fedora)
- ipset-install: "apt-get --yes install ipset"
- # Command that will be executed to configurate the ipset
- ipset-configurate: "ipset create -! blacklist hash:ip hashsize 4096"
- # Command taht will be executed to configurate the iptables
- iptables-configurate: "iptables -I INPUT -p tcp --dport 25565:25600 -m set --match-set blacklist src -j DROP"
- Protecao:
- - 'IP_BLOCK'
- - 'INVALID_REQUEST'
- - 'REJOIN'
- - 'FLOOD_LOGIN'
- - 'PROXY_BLOCK'
- # Proteção para ataque que tenta derrubar o servidor usando Motd Request
- Ping_Protection:
- # O Servidor responderá o Ping se a quantidade de resquest por IP for menor
- Max_Success: 5
- # Caso o IP entre no servidor, será resetado
- Auto_Reset: true
- # Bloquear se o tempo de resquest simultâneo for menor
- Refresh_Request: 1000 # milisegundos
- Limitador:
- # Bloquear request se a quantidade de requests no ultimo segundo for maior
- Ativado: true
- Limite: 300
- Bloqueio:
- # 0 = Bloqueio do IP permanente
- # 1 = Bloqueio de IP temporário
- Metodos:
- Temporario: 5 # minutos
- IP_BLOCK:
- Tipo: 1
- INVALID_REQUEST:
- Tipo: 1
- FLOOD_LOGIN:
- Tipo: 1
- PROXY_BLOCK:
- Tipo: 0
- INVALID_PROTOCOL:
- Tipo: 0
- INVALID_HANDSHAKE:
- Tipo: 1
- CHAT_SPAM:
- Tipo: 1
- BlockTemp:
- Kick:
- - '&cVocê está temporariamente bloqueado'
- - '&cpor violar o protocolo anti bot'
- - '&c'
- - '&cDebloqueio em: &e%tempo%'
- - ' '
- - '&cCaso isso seja um erro,'
- - '¢re em contato com um administrador'
- AutoWhitelist:
- Ativado: true
- # Tempo em milisegundos
- Tempo: 60000
- Blacklist:
- # Se ativado irá implementar lista de IPs detectado como proxy
- Global: true
- Externo: true
- Links:
- - "https://advanced-bot.com/api/proxy.php?ip=getall"
- - "https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&country=all&ssl=all&anonymity=all"
- - "https://api.proxyscrape.com/?request=getproxies&proxytype=socks4&timeout=10000&country=all"
- - "https://api.proxyscrape.com/?request=getproxies&proxytype=socks5&timeout=10000&country=all"
- - "https://raw.githubusercontent.com/clarketm/proxy-list/master/proxy-list.txt"
- - "https://www.proxy-list.download/api/v1/get?type=http"
- - "https://www.proxy-list.download/api/v1/get?type=https"
- - "https://www.proxy-list.download/api/v1/get?type=socks4"
- - "https://www.proxy-list.download/api/v1/get?type=socks5"
- - "https://proxy-daily.com/"
- - "https://www.duplichecker.com/free-proxy-list.php"
- - "https://www.hide-my-ip.com/pt/proxylist.shtml"
- - "https://smallseotools.com/free-proxy-list/"
- - "http://biskutliat.blogspot.com/"
- - "http://sockproxy.blogspot.com/"
- - "http://sock5us.blogspot.com/"
- Ataque:
- # Jogadores entrando
- Sensibilidade: 30
- MensagemAtivado:
- - "&f======"
- - "&aAtaque de bot detectado"
- - "&aProteção %protection% ligada.."
- - "&f======"
- MensagemDesativado:
- - "&f======"
- - "&aAtaque de bot finalizado"
- - "&aProteção %protection% desligada.."
- - "&f======"
- # Fazer o jogador relogar na primeira vez conectado ao Servidor
- REJOIN:
- IgnorarWhiteList: false
- SomenteEmAtaque: true
- UsarEmAtaque: true
- Kick:
- - '&cVocê foi expulso de nosso Sistema'
- - ' '
- - '&ePor favor, reconecte para validar seu login'
- - ' '
- - '&cCaso isso seja um erro,'
- - '¢re em contato com um administrador'
- KickConfirm:
- - '&cVocê foi expulso de nosso Sistema'
- - ' '
- - '&cAguarde %time%s para entrar novamente.'
- # Negar conexões com Proxy/VPN
- PROXY_BLOCK:
- IgnorarWhiteList: false
- SomenteEmAtaque: false
- # recomendo desligado para não lagar
- UsarEmAtaque: false
- Kick:
- - '&cVocê foi expulso de nosso Sistema'
- - ' '
- - '&4Proxy detectado'
- - ' '
- - '&cCaso isso seja um erro,'
- - '¢re em contato com um administrador'
- # Caso um IP atacar sem proxy, ele será bloqueado
- IP_BLOCK:
- IgnorarWhiteList: true
- SomenteEmAtaque: false
- UsarEmAtaque: true
- Kick:
- - '&cVocê foi expulso de nosso Sistema'
- - ' '
- - '&4Seu IP foi bloqueado'
- - '&4por floodar o login'
- - ' '
- - '&cCaso isso seja um erro,'
- - '¢re em contato com um administrador'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement