Commit Graph
100 Commits
Author SHA1 Message Date
Axionize 65815fc73b Merge remote-tracking branch 'origin/2.0' into lightning
# Conflicts:
#	common/src/main/java/ac/grim/grimac/checks/impl/combat/Reach.java
2026-04-15 10:17:13 -04:00
Axionize c169d9c682 Fix incorrect entity metadata indexes 2026-04-14 04:24:31 -04:00
Axionize 3e07a0ee2d Downgrade PE to fix promise/future execution breaking in PE's netty listeners 2026-04-12 08:22:07 -04:00
Axionize ece9f3cae4 Bump PE to support Bukkit 26.1 servers 2026-04-09 11:12:12 -04:00
Axionize 9b06c8670e Fix PE 26.1 update (deferred fabric folder) 2026-03-29 11:40:53 -04:00
Axionize f380fcd9af Bump PE for initial 26.1 support 2026-03-29 10:39:26 -04:00
Axionize 5efefe59ec Fix compilation issues, eliminate allocations and fix distanceSquared() > 36 instead of 6 2026-03-25 03:59:12 -04:00
Axionize 162a8d1b23 Merge branch '2.0' into lightning
# Conflicts:
#	common/src/main/java/ac/grim/grimac/checks/impl/combat/Reach.java
#	common/src/main/java/ac/grim/grimac/manager/CheckManager.java
#	common/src/main/java/ac/grim/grimac/player/GrimPlayer.java
2026-03-25 03:36:40 -04:00
Axionize 740f7f4aa7 Make DefaultResyncHandler a record 2026-03-25 03:28:58 -04:00
Axionize 5f9b9ddb65 Bump Kotlin Plugin Serialization 2.3.0 2026-03-25 03:28:32 -04:00
Axionize 0a1ce1d88b Fix encoding of Polymer blocks breaking when resyncing with world, optimize allocations Fabric PlatformChunk.getBlockId(x,y,z) 2026-03-10 20:42:26 -04:00
Axionize 879d566c05 Add support disable-webhook-validation boolean in discord.yml for custom domains with Discord webhooks
Closes https://github.com/GrimAnticheat/Grim/issues/2520
2026-03-09 04:48:25 -04:00
Axionize d4611f1b31 discord.yml translation fixes 2026-03-09 04:37:22 -04:00
Axionize 53cf3e8e99 Fix compile issues from package references not being refactored in Discord refactor 2026-03-09 04:05:17 -04:00
Axionize c356f5fa4d Fix Discord Webhook PAPI Placeholders (#2518)
* Fix support for Discord markdown parsing of several edge cases

* Fix PAPI name mangling

* Cleanup Implementation of new Discord Webhook handling

* Document exploit choice to not use volatile when technically correct to

* Address all code review concerns

* Cleanup unused code

* Refactor packages for discord related data types
2026-03-09 03:58:17 -04:00
Axionize 439477eff1 Merge PR #2267 - Improved Chinese Translations 2026-03-04 14:35:43 -05:00
Axionize 1f55742d76 Clean up typos and translator notes 2026-03-04 14:31:52 -05:00
Axionize b281a2d158 add support for attribute swapping to and from items with attack range components 2026-03-03 16:24:35 -05:00
Axionize 7d487a4279 history rewrite marker 2026-03-02 15:25:25 -05:00
Axionize f0fbc9db8c Fix getting hitbox for unstable scaffolding 2026-03-02 14:09:50 -05:00
Axionize 0a6ac7a47e Merge branch '2.0' into lightning
# Conflicts:
#	.github/workflows/build-and-publish.yml
#	common/src/main/java/ac/grim/grimac/checks/impl/combat/Reach.java
#	common/src/main/java/ac/grim/grimac/predictionengine/PointThreeEstimator.java
2026-02-26 03:02:12 -05:00
Axionize 4ca65b1670 Update Grim API to 1.2.4.0 2026-02-23 02:23:51 -05:00
Axionize 6c49a01853 Bump PE: Fixes Packet Ordering and mapping issues
- Previa packet mapping failing due to incorrect upstream call to getPacketVersion() instead of getClientVersion(), affects previa on all versions
- Fix Krypton + Via + Grim compat form listener relocation
2026-01-24 00:15:40 -05:00
Axionize 35174fdca9 Refactor Resolver Lifecycle 2026-01-18 16:56:10 -05:00
Axionize 88cfffc5d6 Rename Fabric1211PlatformServer -> Fabric12111PlatformServer 2026-01-18 16:56:10 -05:00
Axionize 9d1682d397 Rename Fabric mc1211 -> mc12111 module 2026-01-14 00:23:21 -05:00
Axionize fefe0d150f Fix early init of CommandManager on Bukkit causing startup issues 2026-01-13 16:44:45 -05:00
Axionize a54329ad45 Bump PE 2026-01-13 14:18:45 -05:00
Axionize 36590605b1 Update supported fabric versions 2026-01-13 14:17:55 -05:00
Axionize 075cec8c12 Fabric 1.21.11 support for fabric-permissions-api-v0 not being included 2026-01-13 02:34:42 -05:00
Axionize b9fa89ccb9 Refactor Fabric to make permissions API and cloud optional dependencies 2026-01-13 01:49:52 -05:00
Axionize 08770f0c6b Command API fallback handling 2026-01-12 21:42:01 -05:00
Axionize 50a25d9921 Bump API to no longer shade Player shim 2026-01-12 20:02:48 -05:00
Axionize 21f69886b8 Bump PE 2026-01-10 16:30:34 -05:00
Axionize 8001f6cb1d Fix support for messing legacy getGrimUser(Player player) method 2026-01-07 21:49:44 -05:00
Axionize c5855fd58d Unify all APIs 2026-01-07 21:17:45 -05:00
Axionize 95e2774f59 Add Back Support for Legacy API (#2409)
* Add back support for the legacy API temporarily

* Bump API to release version
2026-01-06 18:04:54 -05:00
Axionize 5c17fba090 Merge remote-tracking branch 'origin/2.0' into lightning 2026-01-06 15:12:16 -05:00
Axionize 02f6a3b51b Faster temporary fix for Folia breaking getTPS() 2026-01-06 15:03:45 -05:00
Axionize dbd75108c8 Temporary fix for Folia breaking getTPS() 2026-01-06 15:00:23 -05:00
Axionize 9cb45476ea Fix rot only accounting for reach/hitbox in 1.15 - 1.20.1 and 1.21.5 - 1.21.8 once and for all 2026-01-06 14:35:42 -05:00
Axionize be35b9b481 Update .gitignore 2026-01-05 15:10:21 -05:00
Axionize ca64aabaa2 Fix merge errors in hitbox patch 2026-01-05 15:08:41 -05:00
Axionize 801658600c Add forgotten util class file for hitbox fix 2026-01-05 15:06:23 -05:00
Axionize a2074d0fe4 Fix Coral hitboxes 2026-01-05 14:50:41 -05:00
Axionize 14573dace1 Fix Mushroom and Fungus Hitboxes 2026-01-04 21:00:20 -05:00
Axionize 639490a825 Attempt to fix disconnect.timeout cascade issues 2026-01-04 14:49:44 -05:00
Axionize 07d201004e improve FabricatedPlace patch 2026-01-04 14:49:44 -05:00
Axionize 98fd065ddb Patch FabricatedPlace falses 2026-01-01 12:59:53 -05:00
Axionize d0b30ded6c Only update profiles if PLAYER_INFO_UPDATE contains ADD_PLAYER action 2026-01-01 10:56:32 -05:00
Axionize b79d5fdaaf Fix Sculk Vein replacement Phase/Simulation falses & Optimize canBeReplaced logic
- Added replacement logic for SCULK_VEIN (mirrors GLOW_LICHEN).
- Refactored sequential 'if' statements into an 'else-if' chain to improve branch prediction and allow early exits.
- Reordered block checks based on frequency (Slabs, Snow, and Vines are now checked first).
- Merged duplicate logic for multiface blocks.
2026-01-01 08:01:05 -05:00
Axionize 7c68947731 Add option to disable resyncing without API with a NoOp resync handler 2026-01-01 07:14:46 -05:00
Axionize 80f90e658f resync on netty thread instead of trying to send packets in region thread 2025-12-31 20:02:55 -05:00
Axionize 101473b913 Prevent torn reads and race condition on respawn on Fabric from reconstruction of ServerPlayerEntity 2025-12-31 16:22:35 -05:00
Axionize daa3bfe186 Merge branch '2.0' into lightning 2025-12-31 09:10:14 -05:00
Axionize 4292e93327 Merge branch 'fix/reach-infinite-expanding-hitbox' into 2.0 2025-12-31 09:03:06 -05:00
Axionize 60b70d1a11 Fix reach regression in not flagging clients from versions 1.15 to 1.20.1 due to rot only regression 2025-12-31 09:00:26 -05:00
Axionize ce0dad56ad Add PlatformPlayerFactory#getOfflinePlayers() 2025-12-30 07:38:44 -05:00
Axionize 90193b47d6 Stash work 2025-12-30 06:25:24 -05:00
Axionize 83794571d5 Merge remote-tracking branch 'origin/2.0' into lightning
# Conflicts:
#	.github/workflows/build-and-publish.yml
2025-12-24 02:22:13 -05:00
Axionize b6f9f86d11 chore: Bump PE 2025-12-21 06:24:39 -05:00
Axionize 55da3842f5 chore: Increase default building memory allocation 2025-12-20 00:24:11 -05:00
Axionize 955b725884 chore: Bump shadow 2025-12-20 00:20:14 -05:00
Axionize 96267128fc Fix: build ci changes 2025-12-20 00:16:07 -05:00
Axionize 92d06e4222 Bump PE 2025-12-20 00:02:35 -05:00
Axionize f772b745cc ci: make runner configurable to work around Tenki issues (#2398)
Tenki's self-hosted runners started failing on Dec 19, 2025 with
"Invalid URL" errors during artifact upload. This adds a configurable
runner input to all workflows, allowing easy switching between
GitHub-hosted and Tenki runners.

- Add `runner` input to reusable build workflow (default: ubuntu-latest)
- Expose runner option in gradle-publish.yml for manual runs  
- Explicitly set runner in release.yml
- Bump upload-artifact v4 → v6
2025-12-19 23:22:02 -05:00
Axionize 9bd12cc7a2 Bump github actions-upload-artifact versions 2025-12-19 18:08:30 -05:00
Axionize c2afc62241 fix: bump gradle wrapper to fix build 2025-12-17 05:49:51 -05:00
Axionize 97b875860f build: add initial support for 1.21.11 and update dependencies
- Update GitHub workflow game-versions to >=1.21.11
- Update Cloud Command Framework (Paper: beta.14, Fabric: beta.15)
- Update Fabric Permissions API to 0.6.1
- Update Fabric Loom to 1.14.6
- Update Shadow Gradle plugin to 9.0.0 (stable)
2025-12-17 01:37:50 -05:00
Axionize c019566255 fix: Bubble Column, Azalea, Bed, and Ceiling Wall Sign hit/collision boxes 2025-12-17 00:42:32 -05:00
Axionize 12f6af3715 Bump PE 2025-12-17 00:42:32 -05:00
Axionize 965008f7e1 build: Refactor repo logic to support mavenLocalOverride
- Implements a `RepositoryHandler.exclusive` extension in buildSrc to handle repository priority.
- Fixes an issue where strict `exclusiveContent` blocks prevented `mavenLocal()` from being checked even when `-PmavenLocalOverride=true` was active.
- Ensures efficient dependency resolution: checks Local (if enabled) -> Remote -> Stop, preventing leaked HTTP requests.
- Reduces boilerplate code across common, bukkit, and fabric build configurations.
- Adds overload support for existing repositories (e.g., mavenCentral) within exclusive blocks.
2025-12-17 00:42:32 -05:00
Axionize 4a104e287c fix: exclude Azalea from Sapling hitbox definitions
Azaleas were incorrectly treated as saplings giving them an incorrect hitbox. This removes them from the sapling list in HitboxData so they fall back to the correct default collision box.
2025-12-17 00:42:32 -05:00
Axionize 324469a78a Merge remote-tracking branch 'origin/2.0' into lightning 2025-12-11 14:32:13 -05:00
Axionize e2e25206ec Update packetevents 2025-11-27 17:38:23 -05:00
Axionize 2d785fdc2c Bump PacketEvents version 2025-11-23 18:59:59 -05:00
Axionize 8f3b7db844 Merge remote-tracking branch 'origin/2.0' into lightning
# Conflicts:
#	.github/workflows/build-and-publish.yml
#	.github/workflows/codeql-analysis.yml
#	bukkit/src/main/java/ac/grim/grimac/platform/bukkit/events/PistonEvent.java
2025-11-23 18:49:49 -05:00
Axionize 9b500a2617 Bump PacketEvents version 2025-11-13 03:39:44 -05:00
Axionize 0d67045f66 Include build number on modrinth 2025-11-08 19:27:49 -05:00
Axionize 49742a9ddc Fix build increment conditional 2025-11-08 18:32:22 -05:00
Axionize 612e0f8f67 Fix permissions for increment build number creating tags/refs 2025-11-08 18:18:52 -05:00
Axionize 5d4af9365b Forget to make workflows run on lightning branch 2025-11-08 17:41:56 -05:00
Axionize 5489f118c1 Fix buildscripts again 2025-11-08 17:40:38 -05:00
Axionize ded5c0f320 Restructure to help upstream forks.
People have started building forks of LightningGrim...

I never intended for this but regardless to help them I'll stop rebasing and use merges only.
2025-11-08 17:37:59 -05:00
Axionize 238b77c002 Fix buildscripts 2025-11-08 17:18:09 -05:00
Axionize 71d93c97cf Minor build fixes after rebase on upstream 2025-11-08 17:12:49 -05:00
Axionize 43f4c7fcd7 README updates for LightningGrim 2025-11-08 17:12:49 -05:00
Axionize 03714c9b97 Fix compile issues from rebasing upstream 2025-11-08 17:12:49 -05:00
Axionize 004804c09e Potentially fix LightningGrim-specific vector culling Reach False? 2025-11-08 17:12:49 -05:00
Axionize 853d02b9c8 Temp stash 2025-11-08 17:12:49 -05:00
Axionize 2272d4df16 Optimize Bukkit PistonEvent() usage 2025-11-08 17:12:49 -05:00
Axionize fa2dc7b00b * Remove space in names of new checks:
* "Wall Hit" -> "WallHit"
    * "Entity Pierce" -> "EntityPierce"
* Fix modeling experience orb as unhittable entity
* Fix sending hitbox with /grim hitboxdebug in the hitboxdebug handler
* Update upstream to 35811fe551
2025-11-08 17:12:49 -05:00
Axionize c8347ed146 Heavy memory use optimization
- 2.2x reduction in queued task overhead
- reduction in size of queued single block changes
- up to 8x reduction in size of queued multi block changes
    - fixed blocks disappearing in B73 caused by incorrect shifting in new block udpate handler
2025-11-08 17:12:49 -05:00
Axionize c94260bea6 Buildscript Update & Dirty Painting Hack
- Update gradle buildscript to not include branch-name if branch is called "lightning"
 - Update GitHub Actions to automatically include changelog and to rename the jar LightningGrim-${platform}-${version}.jar
 - Mark Paintings as entities that cannot be hit to prevent EntityPierce (formally HitboxEntity) falses.
2025-11-08 17:12:48 -05:00
Axionize bde2328511 Update buildscript
Notes:
- Mark actions builds automatically as alpha on Modrinth
- Shorten Fabric version string to be same as Bukkit on Modrinth
2025-11-08 17:12:48 -05:00
Axionize b87eeaf490 Cull dead entities from canHit() 2025-11-08 17:12:48 -05:00
Axionize 3abc904590 Add support for Hitbox Debugging 2025-11-08 17:12:48 -05:00
Axionize 1b416fc841 - Re-add HitboxBlock and HitboxEntity (renamed to WallHit and EntityPierce)
- Reduce unnecessary reach vectors used for calculations in versions
2025-11-08 17:12:48 -05:00
Axionize 224f464eff Add Inventory checks 2025-11-08 17:12:48 -05:00
Axionize ac35735fff Runtime startup check of PE version 2025-11-08 17:12:48 -05:00