Spigot AntiVPN [Free] 1.8

Get rid of players that use VPNs to join your server! [Player Analytics Support]

  1. brooky1010 submitted a new resource:

    AntiVPN [Free] - Get rid of players that use VPNs to join your server!

    Read more about this resource...
     
  2. i really wanna know how does the plugin work
    can u tell me ??
    thanks!
     
  3. Sure! When player joins, it gets the player IP and uses the getipintel.net API to see if it is a VPN connection or not. It is as simple as that :)
     
  4. woha ! im downloading it!
     
  5. I am getting this on join:
    Code (Text):
    [Server] WARN Please contact the plugin author (brooky1010) on Spigot or Github if you think this is an error.
    [Server] WARN Something went wrong while checking Notch's IP-address.
    [Server] WARN Debug: CODE:400
     
    • Agree Agree x 1
  6. Please enable debug in the configuration file and send me a private message with the error in your console + your whole configuration file.
     
  7. brooky1010 updated AntiVPN [Free] with a new update entry:

    Caching + probability when checking a player

    Read the rest of this update entry...
     
  8. Are you sure this latest release works?
    I'm using 1.11.2 and it seems it throws an exception about something like "Invalid plugin data". The release prior to this one has an error (errcode 400) that is triggered while checking a player's IP address.

    The server isn't blacklisted in the API or anything, this seems to be happening with everyone. Since my field of knowledge isn't desktop/plugin development (only web development), I don't know a thing about what's going on. I can't even turn on debug mode.

    Now, here's a handy stacktrace the plugin graciously spitted out upon the server loading plugins:

    [20:22:17 ERROR]: Could not load 'plugins/AntiVPN (1).jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: main/java/com/djrapitops/plan/data/additional/PluginData
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:301) [spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    Caused by: java.lang.NoClassDefFoundError: main/java/com/djrapitops/plan/data/additional/PluginData
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_121]
    at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_121]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: main.java.com.djrapitops.plan.data.additional.PluginData
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[?:1.8.0_121]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_121]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_121]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_121]
    at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_121]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-3fb9445-2b6c9f4]
    ... 6 more

    Ignore the (1) at the plugin's name, it ended up there whilst updating the plugin (Last release was working, but not checking addresses due to the aforementioned error code).

    Hope it gets fixed soon.
    Thanks.
     
  9. Hey,

    Do you have Player Analytics installed? If yes, I have to look deeper into it. If no, I must've forgot a check somewhere. I'll try to resolve the issue tomorrow. Weird that it worked when I tested it.

    EDIT: Should be fixed in 1.6.
     
    #14 brooky1010, May 15, 2017
    Last edited: May 16, 2017
  10. No, I don't have Player Analytics installed.
    Did the description have something mentioning Player Analytics? I don't remember.
     
  11. Yup. I'm trying to release 1.6 today, but I'm encountering some issues.
     
  12. I Have a ERROR
    Code (Text):
    WARN [AntiVPN] Please contact the plugin author (brooky1010) on Spigot or Github if you think this is an error.
    21.05 21:42:02 [Server] WARN [AntiVPN] Something went wrong while checking Frostflori's IP-address.
    21.05 21:42:02 [Server] WARN [AntiVPN] Debug: CODE: 400
    21.05 21:42:02 [Server] INFO [AntiVPN] Checking Frostflori's IP-address...
    21.05 21:42:02 [Multicraft] MiriamLP ran command Nachricht des Tages
    21.05 21:42:02 [Connect] User MiriamLP, IP 188.100.130.105
    21.05 21:42:01 [Server] WARN [AntiVPN] Please contact the plugin author (brooky1010) on Spigot or Github if you think this is an error.
    21.05 21:42:01 [Server] WARN [AntiVPN] Something went wrong while checking MiriamLP's IP-address.
    21.05 21:42:01 [Server] WARN [AntiVPN] Debug: CODE: 400
    Please Help or Fix
     
  13. Did you enter your email in the config?
     
  14. I don't know i must look for this