147 Commits
Author SHA1 Message Date
Jyguy aa76e82b16 Fix incorrect config path for offground sync (#45) 2026-01-17 04:45:09 -05:00
Axionize fec77fba15 update: 1.21.11 2025-12-17 18:19:23 -05:00
Axionize cb864f7eba Fix infinite netty listener relocation bug by bumping PacketEvents 2025-11-23 19:01:32 -05:00
Axionize 2bfd3c48b6 Fix buildscript, update shadowJar to V9 2025-11-13 03:54:29 -05:00
Axionize c6df9f029a 1.21.9/10 support 2025-11-13 03:04:35 -05:00
Axionize cc6e38c7f2 1.21.8 support 2025-08-11 00:21:57 -04:00
Axionize 71cd756337 1.21.6/1.21.7 Update 2025-07-01 02:04:28 -04:00
Axionize 5a8682dc26 Bump PE for 1.21.5 Update 2025-04-20 22:23:23 -04:00
Axionize 791e0575a9 Fix another rare NPE in PingRunnable 2025-04-20 21:57:06 -04:00
Axionize 35faf08cfa Common:
- Fix rare NPE occurs when players disconnect while KB is being processed or a command is being run

Fabric:
- Check if native player object is null before constructing PlatformPlayer
2025-04-01 05:25:43 -04:00
Axionize 2eba6ec2ab Add support to stop erroring on Carpet Mod fake players 2025-03-23 10:06:00 -04:00
Axionize e861daa8c1 Fabric:
- Fix Geyser detection
- Force rebuild with new PE
- Build with only used FabricAPI modules
2025-03-23 08:15:30 -04:00
Axionize 921c009a59 Fix client brand NPE 2025-03-23 00:45:19 -04:00
Axionize ea0c2736e1 Fix Java 8 compatability in updater 2025-03-17 05:50:59 -04:00
Axionize 25411ba54f Common:
- Major internal refactor to use PE user object

Folia:
- Fix sometimes NPEing on Disconnect

Fabric:
- Fix default client brand
2025-03-17 05:42:32 -04:00
Axionize 715013d90f Refactor login event to use UserLoginEvent() with PE, prevents unneccessary stacktrace from PE join errors 2025-03-16 00:56:55 -04:00
Axionize a59ff6e625 Common:
- Fix NPE with combat task pings. All combat task management is now done in player netty threads.

Bukkit:
- Disable paper plugin remapping
- Build a "lite" version that doesn't shade PacketEvents, allows multiple plugins to share PacketEvents or for you to update PacketEvents without rebuilding KnockbackSync

Fabric:
- Actually call onLoad() to init PE
- Explicitly prevent loading on Client
2025-03-14 23:19:13 -04:00
Axionize bf609a1964 Fix rare NPE 2025-03-03 13:08:58 -05:00
Axionize af5446f33e - NPE and ping patches
- Fix NPE when toggling for player who is in combat
  - Fix packet queue filling up from unprocessed pings (sending pings to fast for client to process)
2025-01-05 05:47:27 -05:00
Axionize da3ceeca55 Fix NPE caused from loading new PingSTrategy 2024-12-17 01:25:52 -05:00
Axionize f665d1e13e Fix NPE on startup when players join due to event UUID being null; introduced by new folia support 2024-12-17 00:30:22 -05:00
Axionize 8e52dae5b2 Pump PacketEvents to better support 1.21.4 2024-12-16 21:20:09 -05:00
Axionize 01188bc79f Only handly the packet type (KeepAlive/Transaction) our ping strategy cares about 2024-12-16 16:46:17 -05:00
Axionize 664d3899d7 Use CopyOnWriteArrayList() for thread safety on Folia 2024-12-16 14:37:17 -05:00
Axionize 60f0b37adc Fix CME when modifing listenerMap from different threads 2024-12-15 13:22:38 -05:00
Axionize b447154d52 Revert "Full Folia async support"
This reverts commit 73e862a782.
2024-12-14 14:13:38 -05:00
Axionize 73e862a782 Full Folia async support 2024-11-30 16:06:10 -05:00
Axionize bc3175faed Once again fix IllegalStateException packetSentList/packet conflict error 2024-11-30 02:55:26 -05:00
Axionize c9fef78eac Bump packetevents for 1.21.2/1.21.3 support 2024-11-22 13:01:58 -05:00
Axionize 0ce7104f72 Merge remote-tracking branch 'origin/dev' into dev 2024-11-22 12:58:31 -05:00
CASELOAD7000 74e7c3930c Add platform specific downloads, damage tick check 2024-11-07 18:26:16 -06:00
CASELOAD7000 31ab0aa7ff Remove debug again... 2024-11-06 23:28:16 -06:00
CASELOAD7000 fc34b3402e Add changes to auto updater 2024-11-06 23:27:39 -06:00
Axionize db6440d87c Fix ping priority and not checking for cancelled packets on send 2024-11-06 23:22:13 -05:00
CASELOAD7000 0119309ffb Remove debug 2024-11-06 03:22:21 -06:00
CASELOAD7000 f31fcc437f Add unfinished auto-updater 2024-11-06 03:18:27 -06:00
Axionize ab4d9d13c9 Code Cleanup 2024-11-03 22:09:25 -05:00
Axionize 0f0b9f2cec Split up Ping send and Recieve listeners; Add priorities to listeners to be first to send/receive packets 2024-11-03 21:28:52 -05:00
Axionize 2eb1fff556 Remove loom from common sources 2024-11-01 23:52:49 -04:00
Axionize b4f8786683 Fix IndexOutofBoundsException that may occur in handler for ping packets. It has very limited impact on plugin functionality besides potentailly affecting ping measurements 2024-10-31 22:13:31 -04:00
Axionize 5c7f314071 Tix offground status 2024-10-29 16:25:19 -04:00
Axionize 73ab2388dc Remove building packetevents from actions script 2024-10-27 05:38:39 -04:00
Axionize 83dab3cb8c Merge branch 'booky-packets' into dev 2024-10-26 22:25:45 -04:00
Axionize f3bd42ff2f Add new ClientBrands pie 2024-10-26 22:14:17 -04:00
Axionize a56fd79d29 Initial work to port to 2.6.0 packetevents-fabric 2024-10-26 21:24:00 -04:00
Axionize f19499205f Add showing offground sync status 2024-10-26 18:05:06 -04:00
Axionize 39e8cbddcb Config fixes - Fix reloading toggleoffground 2024-10-26 17:45:21 -04:00
Axionize 42c3129060 Merge remote-tracking branch 'origin/workspace' into dev-upstream
# Conflicts:
#	common/src/main/java/me/caseload/knockbacksync/listener/PlayerKnockbackListener.java
#	common/src/main/java/me/caseload/knockbacksync/player/PlayerData.java
#	common/src/main/java/me/caseload/knockbacksync/util/ChatUtil.java
#	common/src/main/java/me/caseload/knockbacksync/util/MathUtil.java
2024-10-26 17:27:20 -04:00
Axionize a6a2577e07 Config fixes 2024-10-26 17:11:19 -04:00
CASELOAD7000 47ff08d62a Revert to getHitBlockPosition() 2024-10-26 16:09:08 -05:00