funkemunky
8a4b86c9ef
Allowlist functionality is now working, corrected sql errors
2026-01-14 09:42:20 -05:00
funkemunky
ac57a540c2
Adding copyright headers
2026-01-05 10:27:59 -05:00
funkemunky
18d9bcea39
Implemented MongoDB version and cleared compile errors
2026-01-05 10:27:20 -05:00
funkemunky
9f7f4b40f0
Implementing database versioning for CIDR whitelisting
2026-01-05 09:24:21 -05:00
funkemunky
7913676323
Start of versioning database functions and handling errors
2025-12-30 07:24:35 -08:00
funkemunky
58395bb705
Merge branch 'master' into 57-feature-allow-subnets-to-be-whitelisted
...
# Conflicts:
# Bukkit/Plugin/src/main/java/dev/brighten/antivpn/bukkit/BukkitPlugin.java
# Bukkit/pom.xml
# Bungee/BungeePlugin/src/main/java/dev/brighten/antivpn/bungee/BungeePlugin.java
# Bungee/pom.xml
# Common/Source/src/main/java/dev/brighten/antivpn/database/Database.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/VPNDatabase.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/local/H2VPN.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/mongo/MongoVPN.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/mongodb/MongoDatabase.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/mongodb/records/AlertsUser.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/mongodb/records/CidrWhitelist.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/mongodb/records/UserIpResponse.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/mongodb/records/UserWhitelist.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/postgres/PostgresDatabase.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sql/MySqlVPN.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sql/utils/ExecutableStatement.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sql/utils/MySQL.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sql/utils/NonClosableConnection.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sql/utils/Query.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sql/utils/ResultSetIterator.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sqllite/LiteDatabase.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sqllite/version/Version.java
# Common/Source/src/main/java/dev/brighten/antivpn/database/sqllite/version/impl/First.java
# Common/Source/src/main/java/dev/brighten/antivpn/utils/CIDRUtils.java
# Common/Source/src/main/java/dev/brighten/antivpn/utils/IpUtils.java
# Common/pom.xml
# Sponge/pom.xml
# Universal/pom.xml
# Velocity/VelocityPlugin/src/main/java/dev/brighten/antivpn/velocity/VelocityListener.java
# Velocity/VelocityPlugin/src/main/java/dev/brighten/antivpn/velocity/VelocityPlugin.java
# Velocity/pom.xml
# pom.xml
2025-12-12 06:56:23 -08:00
funkemunky
c7734b2294
Refactored so in the future I can combine everything into one jar
2025-12-04 09:28:21 -05:00
funkemunky
606144d404
Start of project restructure to use a JarInJarClassLoader
2025-12-02 10:24:38 -05:00
funkemunky
7b3174eaae
Updating to 1.9.4
2025-09-30 08:38:23 -04:00
funkemunky
1930a86a0d
Added task for clearing outdated database responses
2025-06-05 11:37:13 -04:00
funkemunky
edd255e29d
Added mongodb and option to remove spoiled cached responses
2025-06-05 11:35:15 -04:00
funkemunky
9697150465
Added postgresql
2025-06-05 10:24:45 -04:00
funkemunky
a5ea502f17
Added postgres
2025-06-05 09:50:30 -04:00
funkemunky
bb3a31e100
CIDR Support setup and implemeneted for adding/removing via command, and checking updates for CIDR implemented. Also fixed problem with SHA-algor not being present
2025-05-30 18:10:08 -04:00
funkemunky
83f06b29c8
Merge branch 'master' into 57-feature-allow-subnets-to-be-whitelisted
...
# Conflicts:
# Bukkit/pom.xml
# Bungee/pom.xml
# Bungee/src/main/java/dev/brighten/antivpn/bungee/BungeeListener.java
# Common/pom.xml
# Common/src/main/java/dev/brighten/antivpn/AntiVPN.java
# Common/src/main/java/dev/brighten/antivpn/api/VPNExecutor.java
# Common/src/main/java/dev/brighten/antivpn/database/local/H2VPN.java
# Common/src/main/java/dev/brighten/antivpn/database/mongo/MongoVPN.java
# Common/src/main/java/dev/brighten/antivpn/database/sql/MySqlVPN.java
# Common/src/main/java/dev/brighten/antivpn/database/sql/utils/MySQL.java
# Common/src/main/java/dev/brighten/antivpn/database/sql/utils/Query.java
# Common/src/main/java/dev/brighten/antivpn/utils/StringUtil.java
# Sponge/pom.xml
# Universal/pom.xml
# Velocity/pom.xml
# Velocity/src/main/java/dev/brighten/antivpn/velocity/VelocityListener.java
# pom.xml
2025-05-28 21:19:55 -04:00
funkemunky
f271275bfa
Sponge is loading, other plugins load, fixed some bugs that were introduced, added sponge plugin uploader in maven workflow
2025-05-28 16:33:29 -04:00
funkemunky
68a2acce00
Got Sponge support working, need to ensure other plugins are still working tho
2025-05-28 15:42:43 -04:00
funkemunky
7247341693
Got initial sponge powered loading working, Im not sure the consequences of it though
2025-05-27 19:39:27 -04:00
funkemunky
3f6bb4a0e6
Refactor, code cleanup, sponge impl.
...
BungeeCord still has problems, bad API, not my fault technically. still need to fix though
2025-05-27 13:13:53 -04:00
funkemunky
de31d837b9
Velocity dependency fix
2025-05-22 14:29:05 -04:00
funkemunky
6967246edb
Fixing loading on velocity and removing sneakythrows from Query class
2025-05-19 13:23:38 -04:00
funkemunky
52efc7de3f
Ensuring queries auto-close
2025-05-19 10:31:54 -04:00
Dawson
ea33a34b3d
Shrinking Jar File Size Again ( #64 )
...
* Adding back dynamic library support and adding some metrics, velocity first
* Removing guava, using caffiene instead
* Merge cleanup
* Maybe this will get caches working properly now?
* Refactored to be more clean and reliable
* Fixing bungee compile
---------
Co-authored-by: Dawson <dawson@funkemunky.cc >
2025-05-12 11:20:23 -04:00
Dawson
2b7f043eb9
Improving shutdown and error handling ( #63 )
...
Co-authored-by: Dawson <dawson@funkemunky.cc >
2025-04-22 12:07:30 -04:00
Dawson
2dbe465b9e
Fixing Bukkit player kicking not functioning properly ( #62 )
...
* Fixing bug where player is not kicked when using proxy on Bukkit servers
* Removing from PlayerLoginEvent and doing PlayerJoinEvent only instead.
---------
Co-authored-by: Dawson <dawson@funkemunky.cc >
2025-04-22 09:58:46 -04:00
Dawson
3aae8d8f49
Backing up and resetting database on versioning compatibility ( #61 )
...
Co-authored-by: Dawson <dawson@funkemunky.cc >
2025-04-22 09:54:43 -04:00
Dawson
9cbeed1df3
58-bug-plugin-fails-to-load-after-upgrading-to-193-on-velocity ( #60 )
...
* Moving to previous H2 version that was in 1.9.2 that somehow got downgraded
* Reverting back to Java 8 compile target
* removing minimize on shade for Common
* Clearly something here changed something, cause reverting it this way seems to have fixed it
* Cleaning up code here
---------
Co-authored-by: Dawson <dawson@funkemunky.cc >
2025-03-27 10:44:34 -04:00
funkemunky
069142a06b
Version 2.0.0-SNAPSHOT: Updated to use SQLLite with versioning. Needed a recode of the database system to allow for future updates.
2025-02-01 10:45:53 -05:00
Dawson
353b7dad78
bugfix/velocity-kick ( #56 )
...
* Updating velocity API
* Added exception logging and fixed NullPointerException with antivpn plan command in velocity from tab-complete being null. Replaced MySQL with MariaDB driver
* Added exception logging and fixed NullPointerException with antivpn plan command in velocity from tab-complete being null. Replaced MySQL with MariaDB driver.
* Added exception logging and fixed NullPointerException with antivpn plan command in velocity from tab-complete being null. Replaced MySQL with MariaDB driver.
* Fixing kick reason
* Corrected MySQL ssl errors and fixed visual bug with velocity users kicking
* Reverted to mysql driver
---------
Co-authored-by: Dawson <dawson@funkemunky.cc >
2025-01-26 14:56:12 -05:00
dependabot[bot]
0291aca052
Merge pull request #52
...
* Bump com.h2database:h2 from 2.1.210 to 2.2.220 in /Common
* Merge branch 'master' into dependabot/maven/Common/com.h2database-h2-…
* Merge branch 'master' into dependabot/maven/Common/com.h2database-h2-…
* Updating mysql depends to non-vulnerable
2024-11-24 14:38:27 -05:00
Dawson
4c7ff3d061
Merge pull request #48 from funkemunky/bugfix-bukkit-login
...
Fixing bukkit and antivirus problems - Release v1.9.3
2024-03-17 14:23:42 -04:00
funkemunky
3f5ab39877
- Correct command concurrency issues on Bukkit servers
...
- Removed dynamic class loading of libraries to fix antivirus flags of the plugin.
2024-03-15 11:06:49 -04:00
Michielo
a01b595953
Correct ISO codes link
2024-02-18 20:51:25 +01:00
funkemunky
5b6d214e6f
Patches bug on Bukkit/Spigot servers may result in some players not being kicked on VPN detection.
...
I believe this occurs when the API response is below 50ms, and we attempt to Player#kickPlayer() or run commands on console that attempt to kick the player. The problem is that if this is running before the tick PlayerLoginEvent runs on ends, the player wouldn't be considered "online". Therefore, the player would never be removed from the server even if desired.
I assumed wrongly that the async processing of the query would always end up on the next tick. So now I update the PlayerLoginEvent result to KICK_BANNED no matter if the processing is async or in the same thread stack as the event.
2023-12-30 14:06:44 -05:00
funkemunky
2bdd7d2c34
Cleaned up files
2023-12-04 08:55:01 -05:00
funkemunky
31a9412c0a
Updated libraries, and cleaned up code for performance purposes.
2023-12-04 08:54:48 -05:00
dependabot[bot]
9f6b0f8b27
Bump com.google.guava:guava from 31.1-jre to 32.0.0-jre in /Common
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-30 14:24:01 +00:00
Dawson Hessler
c062e3d910
Tested and correcting dependency issues
2023-10-30 10:20:49 -04:00
Dawson Hessler
a79fb1fe9a
Updating more vulnerable depends
2023-10-30 10:14:15 -04:00
Dawson Hessler
d224efce3c
Updating depends to make it work
2023-10-30 10:12:14 -04:00
Dawson Hessler
a2554c2bba
Merge branch 'master' into dependabot/maven/Common/org.yaml-snakeyaml-2.0
2023-10-30 10:06:28 -04:00
Dawson
70bfb4e83d
Merge pull request #42 from C0D3-M4513R/master
...
Fix PR #35
2023-10-30 10:06:07 -04:00
Dawson Hessler
48c6dd63ee
Revert "Merge pull request #35 from C0D3-M4513R/patch-1"
...
This reverts commit db1cdad4e1 , reversing
changes made to 9f66570088 .
2023-10-30 09:48:04 -04:00
C0D3 M4513R
464b02f416
Fix PR #35
2023-10-18 05:45:27 +02:00
Dawson
db1cdad4e1
Merge pull request #35 from C0D3-M4513R/patch-1
2023-10-17 18:58:31 -04:00
C0D3 M4513R
dde81b0495
Bump version
2023-07-14 13:35:50 +02:00
C0D3 M4513R
3b2a463e58
Update PlanCommand.java
2023-07-14 13:17:47 +02:00
Dawson Hessler
96e48594d8
Fixing velocity loading issues
2023-07-12 08:45:39 -04:00
Dawson Hessler
c1ab71c7ed
Merge branch 'master' of https://github.com/funkemunky/AntiVPN
2023-07-06 20:26:07 -04:00
Dawson Hessler
4bda24f10c
Bump to 1.9.0
2023-07-06 20:26:02 -04:00