Anti-Proxy 1.1.2

Stop those pesky proxy users

  1. DefianceCoding
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Contributors:
    DefianceCoding
    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

Recent Updates

  1. Anti-Proxy
  2. Anti-Proxy
  3. AntiProxy

Recent Reviews

  1. Mcer231
    Mcer231
    5/5,
    Version: 1.1.2
    Excellent plugin! The developer is an extremely nice person, I suggest this plugin to anyone who has problems with bots on their server as it effectively blocks the bots AND is free compared to other Anti-Bot solutions!
  2. nandoguissa
    nandoguissa
    5/5,
    Version: 1.1.2
    I liked the plugin, it saved me in an hour of suffocation, very good!
    _____________________
  3. iTzMartin
    iTzMartin
    5/5,
    Version: 1.1.2
    Best Anti-Proxy plugin it can even be used as AntiBot For the Free plugin one of the best 5 stars!
  4. RevengeForce
    RevengeForce
    4/5,
    Version: 1.1.0
    Good Plugin but not working for me :/ when i use VPN and join in console saying : Player cannot be checked, please check ProxyCheck Dashboard
    1. DefianceCoding
      Author's Response
      Please get in contact with me, well fix this issue
  5. KeremBendis
    KeremBendis
    5/5,
    Version: 1.1.0
    This plugin prevents bot attack
    It is very good plugin .
    Waiting for updates ...
  6. kill_this
    kill_this
    5/5,
    Version: 1.0.7
    Nice support! and 80808080808080808080808080808080808080808080808080808080808080 characters!
    1. DefianceCoding
      Author's Response
      thanks for the review,
      i take passion into coding, my support for the users will never end
  7. MrJuancho
    MrJuancho
    5/5,
    Version: 1.0.7
    Que buen plugin
    5 estrellas
    gracias por crear este plugin tan hermozo :'v

    xd
    1. DefianceCoding
      Author's Response
      Thanks for the review :) means a lot
      feel free to message me if there's anything you feel is missing

      Gracias por la revisión :) significa mucho

      siéntete libre de mandarme un mensaje si hay algo que sientes que falta

      (sorry i use google translate)
  8. EncryptionXYZ
    EncryptionXYZ
    5/5,
    Version: 1.0.6
    Although there are a few bugs due to the new coming of this plugin, this plug will help me deal with those VPN users that avoid my bans..
    1. DefianceCoding
      Author's Response
      Thanks for the review :) means alot, message me if you feel theres anything you feel is missing
  9. EnzoDct
    EnzoDct
    1/5,
    Version: 1.0.5
    Yo creo que es un Buen Plugin pero deberían implementar unas cuantas cositas mas y es por eso que le doy 1 estrella, pero muy bueno eh
    1. DefianceCoding
      Author's Response
      sorry you didn't find it 100% to your liking, feel free to PM me on what you would like to see


      Lo siento que no lo encontró 100% a su gusto, no dude en PM en lo que me gustaría ver
  10. Silver750
    Silver750
    4/5,
    Version: 1.0.3
    i've got this error please fix it
    [20:22:00 WARN]: me.defiancecoding.proxy.json.JSONException: JSONObject["country"] not a string.
    [20:22:00 WARN]: at me.defiancecoding.proxy.json.JSONObject.getString(JSONObject.java:722)
    [20:22:00 WARN]: at me.defiancecoding.proxy.checks.Proxychecks.IPInfo(Proxychecks.java:81)
    [20:22:00 WARN]: at me.defiancecoding.proxy.checks.Proxychecks.PlayerJoin(Proxychecks.java:14
    2)
    [20:22:00 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecu$
    or206.execute(Unknown Source)
    [20:22:00 WARN]: at org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:44)
    [20:22:00 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74)
    [20:22:00 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:6$
    )
    [20:22:00 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java$
    517)
    [20:22:00 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java$
    499)
    [20:22:00 WARN]: at net.minecraft.server.v1_11_R1.LoginListener$LoginHandler.fireEvents(Logi$
    Listener.java:268)
    [20:22:00 WARN]: at net.minecraft.server.v1_11_R1.LoginListener$2.run(LoginListener.java:181$
    [20:22:00 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav$
    :1142)
    [20:22:00 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja$
    a:617)
    [20:22:00 WARN]: at java.lang.Thread.run(Thread.java:745)
    1. DefianceCoding
      Author's Response
      I'll work on a fix for this, thanks for reporting the bug, i'll PM you when I fix the issue