This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
Former-commit-id: fca9eaa
- Loading branch information
Showing
2 changed files
with
287 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,300 @@ | ||
# EpicGuard | ||
⚡️ Download builds here: https://www.spigotmc.org/resources/%E2%9A%A1%EF%B8%8F-epicguard-1-8-1-14-antibot-country-blocker-staff-protection-tools-%EF%B8%8F%E2%9A%A1%EF%B8%8F.72369/ | ||
![alt text](http://epicmc.cba.pl/cloud/uploads/Bez%20nazwy.png) | ||
![Logo](http://epicmc.cba.pl/cloud/uploads/epicguard.png) | ||
# Download | ||
BUILDS: https://www.spigotmc.org/resources/epicguard-antibot-anti-forceop-server-protection.72369/ | ||
# About Plugin | ||
|
||
EpicGuard is a plugin that I originally created for my server to better protect it against bots, griefers, and administration abusing its permissions. This plugin is not fully completed, but is functional. | ||
> EpicGuard is a plugin, that can protect your server from bots, hackers or griefers! | ||
> Block countries, block proxy, and VPN, automatic firewall commands, blocking fast and slow connections, see if your server is attacked using fancy notifications. Custom blacklist and whitelist system. | ||
> See basic information about players, see their country, and IP history. When a player joins with a new IP, he is logged and the staff is informed. | ||
> You can see opped players list, and when they were last online. You can configure everything - plugin messages, kick messages, permission base, prefix, attack speed options, and more! | ||
> This plugin includes its own log system - messages are logged both in the console and in logs.txt file. | ||
If you found a bug, or want some feature, contact me! | ||
My discord account: PolskiStevek#2198. | ||
Or just send me message on spigotmc. | ||
Discord server: https://discord.gg/Jk3M8yy | ||
You should edit config after first run, for example i reccomend you to get a free api key from checkproxy.io | ||
|
||
# Commands & Permissions | ||
# Plugin Features | ||
|
||
AntiBot features: | ||
Proxy, VPN blocking. | ||
Block fast connections to the server. | ||
Block fast pings to the server | ||
Block fast joins to the server. | ||
Block specific countries. | ||
Force players (bots) to rejoin. | ||
Setup Country Whitelist or Blacklist | ||
Automatic Whitelisting | ||
Whitelist and Blacklist IP system. | ||
Firewall commands support. | ||
AntiExploit (very simple for now) - block book edit (configurable max pages limit). | ||
Anti ForceOP - only players added to the special list can have operator permissions. | ||
Player IP History - see player's IP history (can be disabled). | ||
Block commands, you don't want players or staff to execute. | ||
Configure a list of allowed commands that can normal players execute. | ||
Manage your server using GUI instead of boring commands! | ||
ActionBar and Title notifications (for antibot). | ||
Customizable messages file. | ||
Custom logs system. | ||
Custom error catching system. | ||
Everything is customizable (except GUI's). | ||
100% Free! | ||
|
||
# Commands & Permissions | ||
Commands: | ||
/guard - main plugin command, informations about plugin and server, list of commands. | ||
/guard whitelist <adress> - manually add specified adress to plugin whitelist. | ||
/guard blacklist <adress> - manually add specified adress to plugin blacklist. | ||
/guard status - toggle antibot notifications. | ||
/guard op - list of opped players. | ||
/guard antibot - antibot status, blacklisted / whitelisted ips. | ||
/guard player <player> - basic information about player. | ||
/guard reload - reload config. | ||
Aliases: /eg, /ab, /epicguard. | ||
Permisssions: | ||
epicguard.admin - basic permission for commands, and alerts. | ||
|
||
# Features | ||
/guard - opens plugin GUI. | ||
/guard help - list of commands | ||
/guard whitelist <adress> - manually add specified adress to plugin whitelist. | ||
/guard blacklist <adress> - manually add specified adress to plugin blacklist. | ||
/guard status - toggle antibot notifications. | ||
/guard op - list of opped players. | ||
/guard player <player> - basic information about player. | ||
/guard reload - reload config. | ||
|
||
Permissions: | ||
|
||
epicguard.admin - basic permission for commands, and alerts. | ||
epicguard.protection.notify - permission to see alerts from OP-protection. | ||
epicguard.exploit.notify - permission for anti-exploit notifications (when someone is kicked for exploit). | ||
|
||
|
||
# Configuration | ||
updater: true | ||
|
||
############################### | ||
## Countries ## | ||
############################### | ||
|
||
countries: | ||
# This has three values: | ||
# WHITELIST = countries listed below CAN join, every other can't. | ||
# BLACKLIST = countries listed below CAN'T join, every other can. | ||
# DISABLED = disable this module. | ||
mode: WHITELIST | ||
# List of country codes: | ||
# https://dev.maxmind.com/geoip/legacy/codes/iso3166/ | ||
list: | ||
- US | ||
- GB | ||
- DE | ||
|
||
############################### | ||
## AntiBot ## | ||
############################### | ||
|
||
antibot: | ||
# You can fuly disable ALL antibot modules if you don't want it. | ||
# Disabling antibot will not disable country checking (look above) | ||
enabled: true | ||
# HIGHLY RECOMMENDED: Register on https://proxycheck.io/dashboard and get a free API KEY! | ||
# Then replace the URL "http://proxycheck.io/v2/{IP}&vpn=1" to this: | ||
# "http://proxycheck.io/v2/{IP}?key=API_KEY&vpn=1" | ||
checkers: | ||
'1': | ||
adress: "http://proxycheck.io/v2/{IP}&vpn=1" | ||
'2': | ||
adress: "http://www.stopforumspam.com/api?ip={IP}" | ||
'3': | ||
adress: "https://ip.teoh.io/{IP}" | ||
# What should the return message of each page contain? | ||
responses: | ||
- "yes" | ||
- "true" | ||
- "Bad" | ||
|
||
############################### | ||
## Server Protection ## | ||
############################### | ||
|
||
ip-history: | ||
enabled: true | ||
|
||
op-protection: | ||
enabled: false | ||
# Permission to see alert: epicguard.protection.notify | ||
alert: "&cPlayer &6{PLAYER} &chas been banned for Force-OP." | ||
command: "ban {PLAYER} Force-OP" | ||
# List of players who can have OP | ||
list: | ||
- "Admin" | ||
|
||
> AntiBot | ||
Block countries, block proxy and vpn, automatic firewall commands, blocking fast and slow connections, see if your server is attacked using fancy notifications. Custom blacklist and whitelist system. | ||
# If someone tries to execute command listed here, | ||
# event will be canceled, and the player will see a custom message | ||
# defined in messages.yml | ||
|
||
> Player Information & Security | ||
See basic informations about players, see their country, and ip history. When player joins with new ip, he is logged and staff is informed. You can see opped players list, and when they were last online. | ||
command-protection: | ||
enabled: false | ||
list: | ||
- "/op" | ||
- "/deop" | ||
|
||
> Configurable | ||
You can configurate everything - plugin messages, kick messages, permission base, prefix, attack speed options, and more! | ||
# If someone tries to execute a command not listed | ||
# in this module, and does not have bypass permission, | ||
# event will be canceled, and custom message will be shown | ||
|
||
> Logs | ||
This plugin includes its own log system - messages are logged both in console and in logs.txt file. Example log: | ||
allowed-commands: | ||
enabled: false | ||
# Permission for bypass this module. | ||
# Everyone with the permission below can use any command. | ||
bypass: "epicguard.command.bypass" | ||
# If someone execute command not listed below, | ||
# without permission to bypass, will get custom message | ||
# defined in messages.yml | ||
list: | ||
- /msg | ||
- /r | ||
- /reply | ||
- /tp | ||
- /tpa | ||
- /v | ||
- /vanish | ||
- /plot | ||
- /fly | ||
- /chat | ||
- /mute | ||
- /warn | ||
- /kick | ||
- /ban | ||
- /tempban | ||
- /unwarn | ||
- /god | ||
- /heal | ||
- /feed | ||
- /helpop | ||
- /ec | ||
- /enderchest | ||
- /home | ||
- /back | ||
- /sethome | ||
- /warp | ||
- /tpaccept | ||
- /tpdeny | ||
- /ignore | ||
- /spawn | ||
- /hub | ||
- /lobby | ||
- /report | ||
- /pay | ||
- /ping | ||
- /kit | ||
- /bal | ||
- /balance | ||
- /money | ||
- /afk | ||
- /sell | ||
|
||
############################### | ||
## AntiExploit ## | ||
############################### | ||
|
||
anti-exploit: | ||
# Set this to true to enable all features of this section. | ||
enable: false | ||
# Prints all received packets to console! | ||
kick-message: "&cKicked for using exploit ({EXPLOIT})!" | ||
staff-notification: "&cPlayer {PLAYER} has been detected for using exploit ({EXPLOIT})!" | ||
modules: | ||
# Max amount of pages, a player can send over 47k pages to lag the server. | ||
max-book-pages: 50 | ||
|
||
|
||
############################### | ||
## Advanced ## | ||
############################### | ||
|
||
speed: | ||
# How many connections per second should be made, to block connections to the server. | ||
# Whitelisted players still can join, if CPS is below this value, connection blocking will be disabled. | ||
# If deny-join is triggered, Proxy/VPN checking is skipped. | ||
connection: 10 | ||
# How many pings per second should be made to block connections to the server. | ||
ping-speed: 15 | ||
# How many successful joins per second should be made to block connections to the server | ||
join-speed: 5 | ||
# Time (in ticks) before the antibot will disable. | ||
attack-timer-reset: 800 | ||
|
||
auto-whitelist: | ||
# Enable automatic player whitelisting. | ||
# When a player is whitelisted, all checks are skipped (like a Proxy check). | ||
# Whitelisted players can join even when ATTACK_MODE is activated. | ||
enabled: true | ||
# How much time (in ticks), the player should be online to be added to the whitelist. | ||
# 20 ticks = 1 second | ||
time: 2400 | ||
|
||
|
||
############################### | ||
## Firewall ## | ||
############################### | ||
|
||
firewall: | ||
# Don't use on free / shared hosting! | ||
# You need private machine with IPTables (or something else) installed. | ||
enabled: false | ||
# Executed in /guard blacklist <player> OR while player was detected as a BOT | ||
command-blacklist: "iptables -A INPUT -s {IP} -j DROP" | ||
# Executed in /guard whitelist <player> | ||
command-whitelist: "iptables -D INPUT -s {IP} -j DROP" | ||
|
||
# Messages Configuration | ||
|
||
prefix: "&8[&bEpicGuard&8] " | ||
actionbar: | ||
attack: "&f{NICK} &7[&f{IP}&7] failed &8» &c{DETECTION} &8| &c{CPS}&7/&ccps" | ||
no-attack: "&7No Attack... {ANIM} &8| &a{CPS}&7/&acps" | ||
attack-title: | ||
# {MAX} - Number of blocked bots during last attack. | ||
# {CPS} - Connections Per Second. | ||
title: "&6⚠ &cServer is attacked ({MAX})! &6⚠" | ||
subtitle: "&7Attack speed: &a{CPS}&7/&asec&7!" | ||
other: | ||
history-new: "&7Player &e{NICK} &7connected with &fNEW&7 IP Adress &8(&6{IP}&8)&7!" | ||
no-permission: "&cYou don't have permission! If you think this is an issue, report this to administrators." | ||
# This option is only one here | ||
# without "prefix" added before it! | ||
not-allowed-command: "&fUnknown command. Type /help for help." | ||
blocked-command: "&cThis command is blocked!" | ||
kick-messages: | ||
proxy: | ||
- "&8▪ &cEpicGuard AntiBot &8▪" | ||
- " " | ||
- "&7Our systems have detected, that you are using Proxy or VPN." | ||
- "&7Please disable VPN programs, and join server." | ||
- " " | ||
- "&7If you think this is an issue, contact our staff." | ||
blacklist: | ||
- "&8▪ &cEpicGuard AntiBot &8▪" | ||
- " " | ||
- "&7Your IP has been blacklisted on this server." | ||
- " " | ||
- "&7If you think this is an issue, contact our staff." | ||
attack: | ||
- "&8▪ &cEpicGuard AntiBot &8▪" | ||
- " " | ||
- "&7Our server is being attacked." | ||
- "&7Please wait some minutes before connecting." | ||
- " " | ||
- "&7If you think this is an issue, contact our staff." | ||
country: | ||
- "&8▪ &cEpicGuard AntiBot &8▪" | ||
- " " | ||
- "&7Your country is not allowed on this server." | ||
- " " | ||
- "&7If you think this is an issue, contact our staff."[/code] | ||
|
||
# Other Information | ||
|
||
If the plugin can't download the GeoIP database, download it here and put it in the plugins/EpicGuard folder. | ||
If the plugin can't download messages.yml file, download it here and put it in the plugins/EpicGuard folder. | ||
|
||
If you found a bug, or want some feature, contact me! | ||
|
||
> Dynamic GUI | ||
Manage your server's protection using fancy, dynamically updated GUI Menu! | ||
Use this resource's "Discussion" tab. | ||
My discord account: PolskiStevek#2198. | ||
Github issue tracker: https://github.com/PolskiStevek/EpicGuard/issues | ||
Or just send me a message on spigotmc. | ||
|
||
# Informations | ||
This plugin requires Spigot or PaperSpigot, version from 1.8 to 1.15, Craftbukkit is not supported. | ||
BungeCord is supported, but most functions from the spigot are not included yet. | ||
|
||
If plugin can't download GeoIP database, download it here and put it in the plugins/EpicGuard folder. | ||
Plugin requires Spigot or PaperSpigot, version from 1.8 to 1.14, Craftbukkit is not supported. | ||
BungeCord is supported, but most functions from spigot is not included yet. | ||
Do not decompile or deobfuscate plugin. If you want new feature, join my discord, if you really need source code, contact me! | ||
# Plugin Statistics | ||
https://bstats.org/plugin/bukkit/EpicGuard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
theme: jekyll-theme-architect |