100 Commits
Author SHA1 Message Date
Axionize 9c6f94c10b fix: 1.21.11 Fabric support 2025-12-17 22:53:11 -05:00
Axionize fec77fba15 update: 1.21.11 2025-12-17 18:19:23 -05:00
Axionize 3a5625508b Improve fabric dependency specificity 2025-11-23 20:14:19 -05:00
Axionize cb864f7eba Fix infinite netty listener relocation bug by bumping PacketEvents 2025-11-23 19:01:32 -05:00
Axionize 9d50254dec Fix buildscript issues with gradle version 2025-11-13 04:04:08 -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 c22f4f0efe Make Modrinth Fabric version marked as 1.21.4-1.21.7 2025-07-07 00:17:09 -04:00
Axionize 71cd756337 1.21.6/1.21.7 Update 2025-07-01 02:04:28 -04:00
Axionize 4a5543da2a Remove Fabric bstats 2025-04-29 14:54:34 -04:00
Axionize 5a8682dc26 Bump PE for 1.21.5 Update 2025-04-20 22:23:23 -04:00
Axionize 0ed4e78afd Fix actions buildscript 2025-04-20 22:17:43 -04:00
Axionize 6b049d98b0 Update gradle wrapper 2025-04-20 22:14:49 -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 622c23a729 Bukkit:
- Add new build option -Prelocate / RELOCATE_JAR that defines whether to relocate dependencies. Make the default KB Sync jar relocate all deps.

Fabric:
- Clean up build script
- bump cloud-fabric-command version
2025-03-29 05:38:53 -04:00
Axionize 2eba6ec2ab Add support to stop erroring on Carpet Mod fake players 2025-03-23 10:06:00 -04:00
Axionize 8783dd0683 Migrate to yarn mappings + 1.21.4 Update 2025-03-23 09:54:59 -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 c970c1af6f Disable manually loading instance of FabricAPI; let PE dep do it 2025-03-23 03:05:44 -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 511c634c41 Attempt #3 to fix getBlockStateAt() in Folia 2024-12-14 14:59:29 -05:00
Axionize a3b5999de3 Revert "Fix more Folia compat issues"
This reverts commit 1beedd84
2024-12-14 14:14:02 -05:00
Axionize 1666d815b2 Revert "use Folia world on Folia servers"
This reverts commit 6d1ab1acbe.
2024-12-14 14:13:39 -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 6d1ab1acbe use Folia world on Folia servers 2024-11-30 12:58:55 -05:00
Axionize 151eb58fb6 Fix a mistake in getBlockStateAt() 2024-11-30 12:51:23 -05:00
Axionize 1beedd84d0 Fix more Folia compat issues 2024-11-30 12:50:49 -05:00
Axionize bc3175faed Once again fix IllegalStateException packetSentList/packet conflict error 2024-11-30 02:55:26 -05:00
Axionize 58f61073c6 Fix reloading on Folia 2024-11-29 20:25:15 -05:00
Axionize 26c72b5490 Make updateInterval() improvement only work on Bukkit 2024-11-29 20:12:42 -05:00
Axionize 991e70e676 Fix Folia compatability 2024-11-29 19:58:39 -05:00
Axionize c8519f4d74 Bump fabric tools versions; make debugging easier 2024-11-29 18:41:51 -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
Axionize db6440d87c Fix ping priority and not checking for cancelled packets on send 2024-11-06 23:22:13 -05:00
Axionize ab4d9d13c9 Code Cleanup 2024-11-03 22:09:25 -05:00
Axionize 052454fee0 Enable relocation to prevent library conflicts 2024-11-03 21:33:48 -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 7c129185c5 Fix plugin loading on bukkit after refactor 2024-10-26 22:48:25 -04:00
Axionize ac5bd598f0 Bump gradle version in github actions to min required for packetevents-fabric 2.6.0 2024-10-26 22:32:47 -04:00
Axionize 98f23966db Fix clientBrand for fabricPlayer 2024-10-26 22:27:57 -04:00
Axionize 0803d2800f Remove redundant code 2024-10-26 22:26:34 -04:00
Axionize 83dab3cb8c Merge branch 'booky-packets' into dev 2024-10-26 22:25:45 -04:00
Axionize 768bc20e14 Packetevents 2.6.0 fabric fixes 2024-10-26 22:25:28 -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 e1b2487396 Try booky10 fabric fail 2024-10-26 18:34: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
Axionize 619e50dd6a Revert to getHitBlockPosition() 2024-10-26 17:08:53 -04:00
Axionize 98cbf4adfc Make every message besides root configureable 2024-10-26 17:00:59 -04:00
Axionize 7b5949dba6 /tick rate support on Bukkit 2024-10-26 15:40:18 -04:00
Axionize 0be787c1e2 Make all base variables consistently encapsulated 2024-10-26 15:08:08 -04:00
Axionize 74ee5d8c7e Initial offground synchronization commit 2024-10-26 14:40:40 -04:00
Axionize 2d98d4cbff Compensated ping message formatting 2024-10-26 14:40:38 -04:00
Axionize c2bacd2f5c Improve accuracy of getDistanceToGround() 2024-10-26 12:47:04 -04:00
Axionize 164d073861 Merge branch 'dev-upstream' into dev 2024-10-26 05:08:54 -04:00
Axionize 77c4dde70f Merge branch 'workspace' into dev-upstream 2024-10-26 05:08:36 -04:00
Axionize 3745648821 Fix config reloading 2024-10-26 05:07:53 -04:00
Axionize b339a53dc8 Fix config reloading 2024-10-26 04:39:35 -04:00
Axionize 3895b35941 Merge branch 'dev-upstream' into dev 2024-10-26 04:32:18 -04:00
Axionize ac5175b63c Decrease keepalive interval and autoupdate config (#27) 2024-10-26 04:31:45 -04:00
Axionize 8e61e44012 Merge branch 'dev-upstream' into dev 2024-10-26 03:46:05 -04:00
Axionize 233a1e04d3 Fix showing wrong ping and jitter after toggling knockbacksync off and on (#26) 2024-10-26 03:44:34 -04:00
Axionize 170caff375 fix showing wrong pinger and jitter after toggling off and then on 2024-10-26 03:41:29 -04:00
Axionize a2cc42a0a7 Filter out null trackedEntitiy 2024-10-26 03:03:27 -04:00
Axionize ae76933a5d PacketEvents, Tick Rate, and Ping Command Info Changes
- Account for /tick rate properly on Fabric once again, can be modified in the future to account for /tick rate on bukkit
- Switch back to using my PacketEvents fork for Fabric
- Add more information to the ping command including if ping has spiked or not
2024-10-26 02:57:05 -04:00
Axionize 702618482d Minor code cleanup, use only Java 8 features 2024-10-26 01:02:51 -04:00
Axionize a35b208df2 Merge branch 'dev' into dev-upstream
# Conflicts:
#	bukkit/src/main/java/me/caseload/knockbacksync/BukkitBase.java
2024-10-26 00:43:46 -04:00
Axionize a51e9ac32e Fix player death causing console spam with new updateInterval() 2024-10-26 00:39:57 -04:00
Axionize f4df09802b Delete unused UpdateIntervalListener 2024-10-26 00:21:07 -04:00
Axionize b9cc9f1f7f Merge branch 'dev' into dev-upstream 2024-10-25 16:47:31 -04:00
Axionize 0c7b6effde Add support for custom updateInterval() for players on Bukkit/Spigot/Paper + Folia > 1.20.5 2024-10-25 16:47:11 -04:00
Axionize f2807153b5 Fix README 2024-10-25 15:00:50 -04:00
Axionize 4a460f28cd Update developer notes 2024-10-25 14:59:23 -04:00
Axionize fb62b8d99d Remove maven build file 2024-10-25 14:55:25 -04:00
Axionize e056cec07c Custom events and reloading now fully work 2024-10-25 14:18:12 -04:00
Axionize e18a58e4f2 Make config edits from in-game preserve comments 2024-10-25 13:37:55 -04:00
Axionize 36a2bb5165 Fabric crash hotfix 2024-10-25 10:05:06 -04:00