Home›Java›Mods›Anti-Proxy
It's about time this plugin got a huge update to it, after many players/users requests, I've decided to add in some features

1.13 support with updates to proxycheck.io v2 api

NOTE THERE ARE CONFIG CHANGED, DELETE THE OLD FOR A NEW ONE

NOTE2: MY PLUGIN DOESNT LIKE TO WORK WITH PAPERSPIGOT AND FOR NOW I WILL NOT PROVIDE SUPPORT OUTSIDE SPIGOTS MAIN JAR

Antiproxy is a plugin that can utilize online services to check users while they login to your server to make sure their IP they connect with from their home computer is a guniune IP rather then a VPN / Tor Node / Proxy

SIDE NOTE - PlayerLogins tend to fire the event a few times, NotifyAdmin may get spammy, ill work on an update in the future for this

Should be fixed message me if not

also looking for beta testers message me if your interested into that as well

Known issues:
- The config has an error... default has {player} and {ip} as placeholders for NotifyAdmin, please change these to {Player} and {IP} respectivly

Please don't post errors in the reviews section, keep all errors inside the discussion over at
https://www.spigotmc.org/threads/anti-proxy.226400/

or on discord at
https://discord.gg/9YvgdEC

Plugin Video -- Sorry the video is long, I explain so much in this video





Features
- BungeeCord Support and Spigot Support in 1 jar
- AntiProxy / AntiVPN / AntiTOR blocking
- Whitelist / Blacklists for IP's
- Lightweight Option's
- Extensive Placeholders for kick/punish messages
- Utilization of SSL (optional via config)
- Fully customizable
- Plugin Logger

Terms of use
- Do not decompile this plugin or copy any of its contents
- Do not claim my own work as your own
- Do not redistrubute my plugin other then giving out my link for this page
- Do not resell / try to sell my plugin -- i will advise anyone paying for this plugin to instantly chargeback and report the seller and contact me
- Enjoy


Where to get an APIKey
https://proxycheck.io/ - Lightweight option
https://www.ipqualityscore.com/?r=10112 - heavier option


Commands

Main command / base = /AntiProxy or Alias /ap
/AntiProxy help = This just displays a lovely help menu (preset perm node === antiproxy.help)
/AntiProxy reload = this reloads all configs
/AntiProxy get [whitelist/blacklist] = this outputs what ips have been added to the lists
/AntiProxy [whitelist/blacklist] [add/remove] <IP>

All Permissions are set VIA config on startup


Config Explaination
Code (YAML):

Options
:
#UseLightWeight - this will choose which database to check the ip with
#false = IpQualityScore true = ProxyCheck
  UseLightweight
: true
#UseSSL = Weather or not to use a secure connection for looking up IP's (can add 15+ MS Latency)
  useSSL
: true
#APIKey = API Key from your selected host
  APIKey
: "APIHere"
#APITimeout = Amount of time in milliseconds till the database gives up and throws an error
  APITimeout
: 5000
#Strictness = This is only used if UseLightWeight = false determines on a scale of 0 to 5 how strict the database will be on an IP
  Strictness
: 1
#PunishmentType = this is only avalible for Spigot based servers not bungeecord, Values = Kick, Ban, or IPBan
  PunishmentType
: "Kick"
#AutoBlacklist = this will make found ips automatically added to the blacklist file
  AutoBlacklist
: true

Messages
:
#Prefix = this is used as the Source of who banned / kicked a player
  Prefix
: "&9&l[AntiProxy]"
#PunishmentMessage = this is the message that players get when getting punished via Kick Ban Or IPBan
  PunishmentMessage
: "You are not allowed to join this server with Proxies."
#BlackListPunishMessage = this is the message players get if their ip is blacklisted from the server
  BlackListPunishMessage
: "You are blacklisted from joining this server."
#NoPermission = this is the message players get when trying to run commands without permission
  NoPermission
: "You do not have permission for this command!"
#ReloadMessage = this is the message you get when you type /reload
  ReloadMessage
: "Config Reloaded Successfully."
#BlackListAddedMessage / WhiteListAddedMessage = Message when an ip is added to the list
  BlackListAddedMessage
: "Added IP Successfully to BlackList."
  WhiteListAddedMessage
: "Added IP Successfully to WhiteList."
#BlackListRemovedMessage / WhiteListRemovedMessage = Message when an ip is removed from the list
  BlackListRemovedMessage
: "Removed IP Successfully from BlackList."
  WhiteListRemovedMessage
: "Removed IP Successfully from WhiteList."
#IPNotInList / IPExistsInList = Message you get when trying to add/remove from the list and it fails due to already existing or not existing
  IPNotInList
: "IP does not exist in current List."
  IPExistsInList
: "IP already exists in current List
#NotifyAdminMessage: this message is sent to all players with NotifyAdmin permission when a player tries to login with a proxy or is blacklisted
  NotifyAdminMessage: "
Player {player } tried to login with a potential proxy with IP : {ip } "
#GetBlackListColor / GetWhiteListColor = Color the list will be in
  GetBlackListColor: "
&9 "
  GetWhiteListColor: "
&9 "
#WhiteListHeader / BlackListHeader = Message before the IPs get listed into chat
  WhiteListHeader: "
&9AntiProxy WhiteListed IPs "
  BlackListHeader: "
&9AntiProxy BlackListed IPs "

Permissions:
  Reload: "
AntiProxy.Reload "
  WhiteList: "
AntiProxy.WhiteList "
  BlackList: "
AntiProxy.BlackList "
  NotifyAdmin: "
AntiProxy.Notify "
  GetBlackListPermission: "
AntiProxy.GetBlackList "
  GetWhiteListPermission: "
AntiProxy.GetWhiteList "
Variables List

ALL MESSAGES ALLOW COLOR CODES

PunishmentMessage

These will only work with useLightweight = false
{Prefix} = prefix from config
{asn} = ASN Node that the IP Belongs to
{country} = Country ip resides in
{region} = region the IP belongs to
{city} = city IP belongs to
{lat} / {lon} = Geo Cords for the IP location (within 100 miles)
{timezone} = timezone IP resides in
{host} = hostname of the ip
{score} = score the ip got from the API
{status} = status of the lookup (success or failed)
{message} = message the api gives via failures of certain information
{requestID} = ID the API gave this lookup
{newline} = forces text to new line

NotifyAdminMessage
{Player} = player logging in
{IP} = IP player logs in with


Feel Free to Support me in any way that you can

Discord
- https://discord.gg/YTTwrqg
Patreon - https://www.patreon.com/DefianceCoding
Donations - https://www.paypal.me/DeFianceCoding
Twitter - https://twitter.com/untamedbeast996

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Anti-Proxy is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 20,853 times (via Spigot). Download it and open it directly in the game.

Explore more