MCPcopy Index your code
hub / github.com/Bram1903/AntiHealthIndicator

github.com/Bram1903/AntiHealthIndicator @v2.5.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.5.1 ↗ · + Follow
300 symbols 708 edges 66 files 31 documented · 10% updated 16d agov2.5.1 · 2026-06-22★ 624 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AntiHealthIndicator

Build CodeQL GitHub Release

SpigotMC Modrinth

Discord

Overview

The AntiHealthIndicator plugin prevents hackers and modders from seeing other players' health. Designed to be lightweight with minimal server performance impact, it modifies packets directly, making it impossible to bypass. Logic executes asynchronously to minimize server load. Additional features include hiding durability, enchantments, item stack amounts, player saturation, absorption, and XP.

Requires PacketEvents

Ensure the PacketEvents library is installed on your server.

Table of Contents

Showcase

Demo

Supported Platforms & Versions

Platform Supported Versions
Bukkit (Spigot, Paper, Folia etc.) 1.8.8 - 26.2
Velocity Latest Major
BungeeCord (or any forks) Latest Major
Sponge Latest Major

Spoofers

The plugin includes various spoofing features:

  • Health (including randomization)
  • Air Ticks
  • Player Absorption
  • Player Saturation
  • Player Gamemode
  • Player XP
  • Item Durability
  • Item Enchantments
  • Item Stack Amount

Commands

  • /antihealthindicator or /ahi - Main plugin command.

Permission Nodes

Operators (OPs) have these permissions by default, except for AntiHealthIndicator.Bypass:

  • AntiHealthIndicator.Notify - Notifies player of updates.
  • AntiHealthIndicator.Bypass - Prevents receiving spoofed data
  • AntiHealthIndicator.Reload - Grants access to the /antihealthindicator reload command.
  • AntiHealthIndicator.Debug - Receives debug messages if debugging is enabled.

Installation

  1. Prerequisites: Install PacketEvents.
  2. Download: Get the latest release from the GitHub release page.
  3. Installation: Move the downloaded plugin to your server's plugins directory.
  4. Configuration: Customize settings in config.yml.
  5. Reload: Reload the plugin using /antihealthindicator reload or restart the server to apply changes.

Compiling From Source

Prerequisites

  • Java Development Kit (JDK) version 21 or higher
  • Git

Steps

  1. Clone the Repository: bash git clone https://github.com/Bram1903/AntiHealthIndicator.git

  2. Navigate to Project Directory: bash cd AntiHealthIndicator

  3. Compile the Source Code: Use the Gradle wrapper to compile and generate the plugin JAR file:

Linux / macOS

bash ./gradlew build

Windows

cmd .\gradlew build

Credits

Special thanks to:

License

This project is licensed under the GPL3 License.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 240
Class 56
Interface 3
Function 1

Languages

Java97%
Kotlin3%

Modules by API surface

api/src/main/java/com/deathmotion/antihealthindicator/api/versioning/AHIVersion.java16 symbols
common/src/main/java/com/deathmotion/antihealthindicator/cache/trackers/EntityTracker.java13 symbols
common/src/main/java/com/deathmotion/antihealthindicator/spoofers/impl/MetadataSpoofer.java11 symbols
common/src/main/java/com/deathmotion/antihealthindicator/managers/ConfigManager.java11 symbols
platforms/sponge/src/main/java/com/deathmotion/antihealthindicator/commands/SpongeAHICommand.java10 symbols
platforms/bukkit/src/main/java/com/deathmotion/antihealthindicator/BukkitAntiHealthIndicator.java10 symbols
platforms/bungeecord/src/main/java/com/deathmotion/antihealthindicator/BungeeAntiHealthIndicator.java9 symbols
common/src/main/java/com/deathmotion/antihealthindicator/AHIPlatform.java9 symbols
platforms/velocity/src/main/java/com/deathmotion/antihealthindicator/VelocityAntiHealthIndicator.java8 symbols
common/src/main/java/com/deathmotion/antihealthindicator/util/UpdateChecker.java8 symbols
common/src/main/java/com/deathmotion/antihealthindicator/cache/EntityCache.java8 symbols
platforms/sponge/src/main/java/com/deathmotion/antihealthindicator/SpongeAntiHealthIndicator.java7 symbols

For agents

$ claude mcp add AntiHealthIndicator \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page