{"repo":"GrimAnticheat/GrimAPI","free":true,"listed":false,"github":"https://github.com/GrimAnticheat/GrimAPI","clone":"git clone https://github.com/GrimAnticheat/GrimAPI.git","description":"The API for Grim Anticheat","language":"Java","stars":29,"topics":["api","java","minecraft","plugin-api","grim"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"GrimAPI Website Wiki Maven GrimAC The official developer plugin API for GrimAnticheat Requirements : - Java 17 or higher - A supported environment listed here Wiki You can find more documentation and examples of how to use the API on the wiki. Gradle : Maven : Subscribing to events (1.3+) The current API dispatches each event through its own EventChannel . Grab the channel via bus.get(EventClass.class) and subscribe with its fluent on…(…) method. Handlers take the event's fields as positional parameters — no pooled event object, no class-keyed registry lookup on the hot path. Every subscribe takes a GrimPlugin as the first argument. The bus tracks subscriptions by that plugin and sweeps them automatically on plugin disable via bus.unregisterAllListeners(plugin) — same lifecycle model as Bukkit's HandlerList . Resolve the GrimPlugin once at plugin enable and reuse it: api.getGrimPlugin(...) is the modern replacement for examples that manually created BasicGrimPlugin . Pass the native owner object from your platform and let Grim construct the wrapper. Supported contexts include Bukkit/Paper JavaPlugin / Plugin , Fabric ModInitializer , Fabric ModContainer , a Fabric mod id string, or a Class from your plugin/mod. For cross-platform plugins, keep the Grim registration code in a shared class and call it from each platform bootstrap: BasicGrimPlugin remains available for unusual integrations without a native platform owner, but it should not be used in ordinary Bukkit, Paper, Fabr","default_branch":null,"files":null,"tree":[],"storefront":"/r/GrimAnticheat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GrimAnticheat/GrimAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}