Commit Graph
44 Commits
Author SHA1 Message Date
NotAlexNoyle 46358b3079 Normalize adventure version with server 2026-08-10 07:49:27 -04:00
NotAlexNoyle e29e8b6e9f Fix postgres, slf4j providers 2026-06-16 23:10:23 -04:00
NotAlexNoyle 9ed8ae9dba New PacketEvents repo 2026-06-03 18:19:47 -04:00
NotAlexNoyle db66c035c2 Backport to PacketEvents 2.11.2 API 2026-06-01 19:50:43 -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
Cyramek 7e8b6b620e add support for viaversion attack range component for 1.21.11+ clients on legacy servers (#2474)
add support for https://github.com/ViaVersion/ViaVersion/pull/4733
2026-03-09 21:56:12 +01:00
Axionize 4ca65b1670 Update Grim API to 1.2.4.0 2026-02-23 02:23:51 -05:00
AoElite 7be8f51267 bump grim-api version 2026-02-22 17:34:04 -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 a54329ad45 Bump PE 2026-01-13 14:18:45 -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 b6f9f86d11 chore: Bump PE 2025-12-21 06:24:39 -05:00
Axionize 955b725884 chore: Bump shadow 2025-12-20 00:20:14 -05:00
Axionize 92d06e4222 Bump PE 2025-12-20 00:02:35 -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 12f6af3715 Bump PE 2025-12-17 00:42:32 -05:00
Axionize 2d785fdc2c Bump PacketEvents version 2025-11-23 18:59:59 -05:00
Axionize 9b500a2617 Bump PacketEvents version 2025-11-13 03:39:44 -05:00
SamB440 c323cf06ce Bump cloud to beta.13, fixes #2318 2025-11-03 16:30:53 +00:00
ManInMyVan 832194a1e9 fix #2294 2025-10-11 18:46:37 -06:00
Axionize b85c65d623 Improve build performance by explicitly specifying repositories 2025-10-10 18:01:29 -04:00
Axionize d9e279a949 Undisable fabric by accident and minor cleanup 2025-10-10 02:41:38 -04:00
Axionize cccc5fdfb6 Optimize Bukkit dependency fetching 2025-10-10 02:40:20 -04:00
Axionize a7bdc869d4 Improve performance and cleaniness of downloading dependencies 2025-10-10 02:33:10 -04:00
Axionize 513633c645 Bump dependencies 2025-10-10 01:31:00 -04:00
AoElite 9618912072 bump lombok plugin to 9.0.0 2025-09-28 04:39:13 -04:00
AoElite a02f49ef87 update packetevents 2025-09-16 05:45:02 -04:00
Zongle Wang 5a4471c585 Shadow 9.0.0-rc2 (#2229)
```
OLD: grimac-bukkit-2.3.72-shadow-9-ba4bbef66-before.jar
NEW: grimac-bukkit-2.3.72-shadow-9-a14b4044a-after.jar

 JAR   │ old      │ new      │ diff
───────┼──────────┼──────────┼──────
 class │ 20.9 MiB │ 20.9 MiB │  0 B
 other │  1.5 MiB │  1.5 MiB │  0 B
───────┼──────────┼──────────┼──────
 total │ 22.4 MiB │ 22.4 MiB │  0 B

 CLASSES │ old   │ new   │ diff
─────────┼───────┼───────┼───────────
 classes │  4603 │  4603 │ 0 (+0 -0)
 methods │ 53656 │ 53656 │ 0 (+0 -0)
  fields │ 22173 │ 22173 │ 0 (+0 -0)

=================
====   JAR   ====
=================

 size │ diff │ path
──────┼──────┼─────────────────────────────────────────────────────────────────
  0 B │  0 B │ + META-INF/versions/9/ac/grim/grimac/shaded/snakeyaml/internal/
  0 B │  0 B │ + META-INF/versions/9/ac/grim/grimac/shaded/snakeyaml/
      │  0 B │ - META-INF/versions/9/org/yaml/snakeyaml/internal/
  0 B │  0 B │ + META-INF/versions/9/ac/grim/grimac/shaded/
      │  0 B │ - META-INF/versions/9/org/yaml/snakeyaml/
  0 B │  0 B │ + META-INF/versions/9/ac/grim/grimac/
      │  0 B │ - META-INF/versions/9/org/yaml/
  0 B │  0 B │ + META-INF/versions/9/ac/grim/
      │  0 B │ - META-INF/versions/9/org/
  0 B │  0 B │ + META-INF/versions/9/ac/
  0 B │  0 B │ + META-INF/services/
──────┼──────┼─────────────────────────────────────────────────────────────────
  0 B │  0 B │ (total)
```
2025-07-30 12:49:15 -04:00
Axionize 29e0c6e42c Bump PacketEvents 2025-07-30 00:17:32 -04:00
Axionize 4942401c08 1.21.8 Server Support - Bump PE 2025-07-17 11:07:11 -04:00
Axionize 6e28434692 Downgrade from shadow 9.0.0-rc1 to 9.0.0-beta8 to fix jar inflation bug with shading fastutil 2025-07-17 10:58:54 -04:00
Axionize bbc1bee14d Bump Dependencies
gradlew-wrapper 8.13 -> 8.14.3
adventure 4.21.0 -> 4.23.0
adventure-platform-bukkit 4.3.4 -> 4.4.0
cloud-paper 2.0.0.-beta.10 -> 2.0.0.-beta.11
cloud-fabric 2.0.0.-beta.10 -> 2.0.0.-beta.11
packetevents 2.9.0-SNAPSHOT -> 2.9.2-SNAPSHOT
fabric-loader 0.16.10 -> 0.16.14
fabric-loom 1.10.5 -> 1.11.4
shadow 9.0.0-beta6 -> 9.0.0-rc1
2025-07-17 09:06:42 -04:00
Axionize 4ade97a08f 1.21.6 MVP
Changes from https://github.com/GrimAnticheat/Grim/pull/2079 remain unmerged. New movement, entity, and attribute fixes have not been accounted for. This merely allows Grim to boot on 1.21.6/1.21.7-rc2 servers and 1.21.6/1.21.7-rc2 players to join.
2025-06-30 03:44:53 -04:00
Axionize 493666537c Update PacketEvents version to new grim/2.0 branch state 2025-05-25 21:32:15 -04:00
ManInMyVan 5dd64fd414 bump adventure 2025-04-30 23:54:19 -06:00
a45917c9d2 Platform Independence (future Sponge, Fabric, Neoforge, Velocity, etc... support) (#2024)
* 1.21.5 partial changes

* leftover

* cleanup

* check if player is in vehicle

* 1;1 input transformation

* forgot to push that

* notes

* i hate mutability

* not the case

* this is the right way

* note

* java style

* initial block collisions support

* incorrect fix for powder snow issues (1.21.4)

* support 1.18.2+ horizontal collision detection

* Seperated/Abstracted:
- Thread Management
- GrimEntity/PlatformPlayer + PlatformInventory
- PlatformWorld, PlatformChunk, Location
- Removed many bukkit dependencies
- Migrated Bukkit Events to own code section

- Disabled BStats temporarily

* Refactor Part 2:
- Replace Vectors
- Replace ChatColor.translateColorCodes()

* Stash code

* Almost there; just events and bukkit extensions left

* Fix plugin compilation and exeution of commands

* Refactor Part 3:
Checkpoint
Need to implement:
- Fix PlaceHolderAPI and ManInMyVan's MessageUtil logic error
- Add BStats back
- Add platform independent Permissions
- Make TickEndEvent handling platform independent

Need to Test:
- ProxyAlertMessenger
- Commands

* Platform Independence Achieved!

* Multi-module project init setup

* Complete multi-module project setup

* Fabric Support MVP
- Registering permissions likely incomplete
- Building jar incomplete; only works in Debug mode
- Exempting on reload not done
- Plugin Channels not implemented

* Platform loading fixes

* Refactor resyncPosition() internally; may move to platformPlayer in future

* Beta Fabric Support Complete + General Bug Fixes:
- Generate autocompletions for permissions
- Make OP, and enable-on-join permissions false by default even for ops

- Fixed usage of isWorldLoaded() in pre-migration codebase from breaking 1.8 support
- Numerous command loader bugs fixed
- A lot more

* Fix Fabric execution and shutdown; Initial Fabric build script

* Finish Fabric buildscript; now builds runnable jar

* Fix Actions workflow

* Build against new Grim API instead of locally

* Temporarily build against my fork to fix PacketEvent's broken Fabric support

* Fix scheduler hierachy issue

* Moderate refactoring and codebase cleanup

Fixed GitHub actions

Note that Fabric platform is missing:
- Pistons
- Providing an instance of GrimExternalAPI for other plugins/mods to get
- and more

* PE datatype refactor; Fix Folia support

* Fix endTick on Folia

* Refactor Fabric to support 1.21.4, 1.21.1, and (soon) 1.16.1

* Add 1.20.1 support (once PE is fixed)

* Actuallly commit 1.20.4 support

* Fix Legacy (< 1.16.5) Big DripLeaf CollisionBox modeling

* Fix project build issues and fix 1.20.1 support

* Configure builds to use shared lib versions files; push for rebuild with updated PE; (Working 1.20.1)

* Code cleanup

* Minor code cleanup

* Bump Fabric loom version; trigger rebuild on updated PE fork with Fabric fixes

* Fix 1.8 support using non-existent inventory method

* Fix running fabric in IDE and dev mode

Credit: @Bawnorton

* Hopefully Fix inventory errors

* Cleanup Fabric buildscript

* Fix rare preconditions error with checking for null platformPlayer

* Fix Build error from rebasing https://github.com/GrimAnticheat/Grim/commit/aab710dd8b55bc6fbe88f0f4c79aa214527a20dd

* Code cleanup to address code review concerns

* Fix build issues with relocation on bukkit; force rebuild for fabric registry fix with PE

* Fix library relocation typo

* Bump snakeyaml version for Fabric support

* Build against slim configuralize for fabric support

* Fix Geyser-Fabric compatability

* Initable refactor; support multiple types of initables as one object; shutdown fabric bstats

* Fix updating native ServerPlayerEntity reference; Refactor @NonNull annotations

* Translation parity (and more/better) with pre-platform-independence port

* Make Grim rely on JiJed and loaded PE API; Transition PacketPlayerDigging to be cross-platform from upstream

* Add support for Spigot 1.17 - 1.18.2 itemUsageReset()

- Also decrease allocated via gradle.properties
- Forces rebuild with new PE which will fix Geyser detection

* Only include fabricAPI modules we use, reuse dependency code for multiple projects

* New API refactor with getEventBus()

* Minor Build optimization

* Bump RAM allocation to Gradle in root gradle.properties

* Fix build issues with downloading Conditional Mixin library for PE Fabric

* Partially fix lack of suggestions in cloud commands when incorrect command/typo is typed (only works when required arguments missing in a command on modern brigadier servers due to cloud bug, will fix later)

- Also force rebuild with new PE

* Fix build errors from rebasing

* Add explicit dependency for parent mod on packetevents

* Refactor to use new API with better EventBus and consolidate event-bus related code to be non-platform specific

* Fix error with teleporting between dimensions

* Update Loom; Buildscript consolidation and improvements

* Initial 1.21.5 Support

* Significantly reduce Fabric jar size

* Fix 1.21.5 Support breaking with new Chunk format

* Improve performance of underlying Collection used for exemptUsers

* Update API; Add support for overriding player.resyncPosition(x, y, z, sequence)

* Minor Annotation Style changes

* Execute piston updates from Bukkit Event in player netty channel.
- This fixes a rare race condition with pistons. https://github.com/GrimAnticheat/Grim/issues/2031
- Reduces load on main thread (we check for isChunkLoaded() and do processing in netty channel helper now)

* Fix 1.21.5 support and entity metadata
- Fixed 1.21.5 Pig Variant entity metadata handling
- Read Strider isShaking value from entity metadata
- (Hopefully) Fix 1.8 horse saddle modeling

* Fix working with cooldown groups

* Fix 1.21.5 Inventory compatability issues

* Improve performance of internal sendAlert command invocations

* Fix PlaceholderAPI replacements

* Address code review styling concerns. Fix errors from rebasing on 2.0.

* Fully replace underlying native inventory and player objects when reset on death.
- Fixes fastbreak issues after dying with keepInventory off

* Fix rebase on top of more 1.21.5 and other movement fixes.

* Implement new versioning scheme: https://github.com/GrimAnticheat/Grim/wiki/Versions-and-Versioning

* Rewrite Fabric multi-version support
 - handles 1.16.1 - 1.21.5 (currently only 1.19.3+ works due to Cloud command library limitations)
 - Java 21 -> Java 17 requirement for Fabric on older versions that didn't require Java 21

* Startup time optimization

* Fix Fabric Inventory from multi-version refactor

* Fix update checker by fixing version parsing for new version schema

* Complete translations

* Improve Reach and Hitboxes config

* Fix Entity Modeling
- Save data for what mobs can be hit for future hit-un-hittable-entity-check
- Fix bounding boxes and modeling sizes for some entities (firework rocket, falling block, guardians, armor stands)
- Fix modeling of numerous types of baby mobs

* Add support for Fastbreak on blocks that don't exist in client version

* Fix error when kicking player on Fabric 1.20.2+

* Fix Fabric PlatformEntity and PlatformInventory loader issue

* Fix executing commands in Fabric 1.20.3+

* Build 1.17 module against 1.17.1; Fix loader naming inconsistencies

* Fix logic error with FabricAsyncScheduler's runAtFixedRate()

* use our own webhook system

* Fix build issues with compileOnly exports and RotationData/BadPacketsB imports

* Fix issue with running some commands on 1.21.2+

* update GrimAPI used in build script

* Fix building with new API

---------

Co-authored-by: cyramek <xcyramek@gmail.com>
Co-authored-by: ManInMyVan <113963219+ManInMyVan@users.noreply.github.com>
2025-04-25 02:47:26 -04:00