Commit Graph

39 Commits

Author SHA1 Message Date
funkemunky 6243727ebf Fixing bug where player is not kicked when using proxy on Bukkit servers 2025-03-17 11:24:56 -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
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
Dawson Hessler d224efce3c Updating depends to make it work 2023-10-30 10:12:14 -04:00
C0D3 M4513R dde81b0495 Bump version 2023-07-14 13:35:50 +02:00
Dawson Hessler 96e48594d8 Fixing velocity loading issues 2023-07-12 08:45:39 -04:00
Dawson Hessler 4bda24f10c Bump to 1.9.0 2023-07-06 20:26:02 -04:00
Dawson Hessler 40308869c0 1.8.4 Added cache for logins for faster response 2023-05-23 08:09:41 -04:00
Dawson Hessler 9c843cd061 Updating to 1.8.3.1
Turns out we accidentally already used the 1.8.3 version
2023-03-13 15:08:04 -04:00
Dawson Hessler 91a09f6940 Updating version to 1.8.3 2023-03-13 15:04:14 -04:00
Dawson Hessler 14e266b978 Fixing load issue with snakeyaml on 1.12+ servers 2022-09-02 09:34:47 -04:00
Dawson Hessler bf5b81b750 1.8.2.1, fixed H2 and removed debug 2022-08-29 07:19:42 -04:00
Dawson Hessler 9dc312186b Shrunk jar file size, fixed errors, added database reload
- Fixed H2 database error on index creation when loading plugin by using dynamic library downloader/loader from Lucko's Helper.
- Shrunk jar file size extensively so it can be uploaded to Spigot directly.
- Updated h2database driver to 2.1.214 to patch vulnerability
- Updated mysql database driver to 8.0.30 to patch vulnerability
- Updated MongoDB java driver to 3.12.11.
2022-08-28 13:14:13 -04:00
Dawson Hessler 0048cf6b8c 1.8.2 2022-08-28 12:12:24 -04:00
Dawson Hessler 7654cca651 Adding reload command 2022-08-05 14:14:42 -04:00
Dawson 733e797a17 Implemented /kaurivpn plan 2022-06-06 10:15:40 -04:00
Dawson bddf26359d 1.7.1.1 2022-06-05 08:45:52 -04:00
funkemunky 314e554ce0 Fixing velocity loading, v1.7.1 update 2022-04-06 09:20:07 -04:00
Dawson Hessler 5a69e49fb9 Relocating shaded depends to prevent incompatibilities 2022-04-01 11:50:32 -04:00
Dawson Hessler 8edef241e4 Adding universal config API and adding allowed/blocked country config 2022-03-18 10:33:14 -04:00
Dawson Hessler e03deb6ba6 1.6.1 2022-02-08 14:56:06 -05:00
Dawson Hessler cd502b6f34 Adding mongo support and /antivpn clearcache command 2022-01-12 15:37:02 -05:00
Dawson Hessler cba3c2f2d9 Fixing KauriVPN on Velocity 1.5.2.1 2021-12-19 13:45:53 -05:00
Dawson Hessler 5ec4cb98e3 Starting to implement h2, fixing Java 17 bug, v1.5.2 2021-12-14 10:34:23 -05:00
Dawson Hessler 5ba19b42f9 1.5.1 KauriVPN plugin.yml rename and System print fix 2021-11-04 08:27:32 -04:00
Dawson Hessler 9f05467553 Adding Velocity support to AntiVPN (1.5) 2021-09-14 18:41:24 -04:00
Dawson Hessler b1cf629945 Update version to 1.4.0 2021-08-27 12:51:16 -04:00
Dawson Hessler fbba41fd71 Potentially fixing Java 16 issues v1.3.1 2021-08-21 13:33:17 -04:00
Dawson Hessler 2cd7951bca v1.3 2021-08-20 15:09:07 -04:00
Dawson Hessler a2dc04dc51 1.2.1 update fixing sql issue 2021-06-19 13:05:13 -04:00
Dawson Hessler c21098a511 1.2 update 2021-06-18 16:42:54 -04:00
Dawson Hessler 09482b970b setting it to snapshot 2021-06-18 11:27:48 -04:00
Dawson Hessler 11c0c177fe Updating to 1.2 2021-06-18 11:27:30 -04:00
Dawson Hessler 64be97b22c Implemented bungee commands and tab complete 1.1.1 2021-06-18 11:09:07 -04:00
funkemunky 1b569531a0 removing files that should now be ignored by gitignore 2021-06-17 12:29:55 -04:00
funkemunky 5d790ce56d Finished commands system on Bukkit - tested and working 2021-06-17 12:27:22 -04:00
Dawson Hessler f5fd7001e7 Adding bypass permission and updating version to 1.0.1 2021-06-15 15:40:19 -04:00
Dawson Hessler e1abdb7bf6 Completed new antivpn plugin 2021-06-15 13:48:39 -04:00