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
- Overview
- Supported Platforms & Versions
- Spoofers
- Commands
- Permission Nodes
- Installation
- Credits
- License
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
/antihealthindicatoror/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 dataAntiHealthIndicator.Reload- Grants access to the/antihealthindicator reloadcommand.AntiHealthIndicator.Debug- Receives debug messages if debugging is enabled.
Installation
- Prerequisites: Install PacketEvents.
- Download: Get the latest release from the GitHub release page.
- Installation: Move the downloaded plugin to your server's plugins directory.
- Configuration: Customize settings in
config.yml. - Reload: Reload the plugin using
/antihealthindicator reloador restart the server to apply changes.
Credits
Special thanks to:
- @Retrooper: Author of PacketEvents.
- @Tofaa: Helped design the project infrastructure and logic. Check out his EntityLib.
- @Booky10: Helped with various complex matters.
- @Abhigya: Designed the Gradle Build Chain.
License
This project is licensed under the GPL3 License.
How to Install AntiHealthIndicator (Plugin)
AntiHealthIndicator by DevBram is verified for Bukkit, Bungeecord, Folia, Paper, Purpur, Spigot, Sponge, Velocity, Waterfall across Minecraft versions 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1 (latest release: 2.5.1, file size: 95 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1) and platform (Bukkit, Bungeecord, Folia, Paper, Purpur, Spigot, Sponge, Velocity, Waterfall).
- Make sure you have the compatible loader or environment installed for Bukkit, Bungeecord, Folia, Paper, Purpur, Spigot, Sponge, Velocity, Waterfall.
- Move the downloaded AntiHealthIndicator file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version- Added: 26.2 Support
- Added: 1.21.11 Support
- Added: Health Randomisation (will really piss off cheaters 😄)
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.4.4...v2.5.0
- Added: 1.21.9 & 1.21.10 Support
- Fixed: Custom vehicles not showing the right health
- Some small performance improvements
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.4.2...v2.4.3
- Added 1.21.6, 1.21.7, and 1.21.8 Support
- Fixed: Happy Ghast health being spoofed while riding
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.4.0...v2.4.1
### 🔧 Changes
- 1.21.5 Support
- Major performance optimizations throughout the plugin.
- Player gamemodes are now being spoofed
- Removed the configuration option for enabling bypass permissions, as this no longer adds performance overhead.
### 🐛 Fixes
- Fixed an issue where clients on 1.21.4 did not receive spoofed health data when joining 1.8.8 servers, and vice versa.
- Resolved a bug where horses displayed their actual health when mounted by other entities.
- Fixed player cache being cleared when using
/skin updatewith SkinsRestorer. - Golems are now properly spoofed for 1.21.x clients on 1.8.8 servers.
## 📝 Notes
This plugin should now be in a near-perfect state. Whether your server is running 1.8.8 or 1.15.2 and your clients connect with 1.21.5 or the other way around, health is now always being properly spoofed due to properly applying the index based on ViaVersion translations or the client version, depending on the platform used.
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.3.1...v2.4.0
- [Fix] Vehicles, like horses, when riding are now properly showing health again
- [Fix] Do not spoof broken elytra by @Pantera07 in https://github.com/Bram1903/AntiHealthIndicator/pull/15
- [Fix] Resolve Build Failures by Updating JVM Toolchain from 8 to 21 by @Pantera07 in https://github.com/Bram1903/AntiHealthIndicator/pull/16
## New Contributors
- @Pantera07 made their first contribution in https://github.com/Bram1903/AntiHealthIndicator/pull/15
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.3.0...v2.3.1
- 1.21.2 & 1.21.3 Compatibility**: Updated to support Minecraft versions 1.21.2 and 1.21.3.
- Sponge Platform Support**: AntiHealthIndicator now runs seamlessly on Sponge-powered servers.
- PacketEvents 2.6.0 Compatibility**: Compatibility with PacketEvents 2.6.0.
- BetterReload Integration**: Added support for [BetterReload](https://modrinth.com/plugin/betterreload).
### Improvements
- Runtime Configuration Reload**: Use
/ahi reloadto dynamically reload configurations without server restarts. - Rewritten Command Logic**: Commands have been completely rewritten.
### Fixes
- Scoreboard Packet Bypass**: Resolved an issue where some clients could bypass protections through scoreboard packets (triggered by certain bad plugins).
### Permissions
- New Permission Node**: Added
AntiHealthIndicator.Reloadfor managing reload access.
- Full Changelog**: [v2.2.4...v2.3.0](https://github.com/Bram1903/AntiHealthIndicator/compare/v2.2.4...v2.3.0)
- Fixed: Getting kicked upon entering a boat
- Chore: Cleaned up some old code
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.2.3...v2.2.4
- Added Minecraft 1.21 Support
- Fixed an issue on Bungeecord where the wrong indexes were being applied.
- Fixed the Bungeecord version of AHI didn't require PacketEvents as a dependency
- Reworked the UpdateChecker and version class
- Removed unnecessary commands
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.2.2...v2.2.3
- Fixed: Permission being required for the base command, but not given by default
- Added:
HelpandDiscordcommand - Refactored:
EntityMetadataListener
Fixed: [#10]([https://github.com/Bram1903/AntiHealthIndicator/issues/10](https://github.com/Bram1903/AntiHealthIndicator/issues/10)), when enabling
players-only, it ended up not spoofing anything.- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.2.0...v2.2.1
## Proxy Support
We are happy to announce that our plugin now supports proxy servers, including Velocity and BungeeCord! To use the plugin on your proxy server, simply download the latest release and place it into the plugins directory of your proxy. Ensure that the PacketEvents plugin is also installed on your platform. Once set up, the plugin will automatically take care of all your backends. You won't need the plugin on your backend once installed upon the proxy.
## Cache Rewrite
This update also introduces a significant overhaul of our cache management system. Previously, a single cache was maintained for the entire server, retaining entities until they were explicitly removed. This led to inefficiencies, especially when entities remained cached unnecessarily due to the potential for client-side demand.
To support proxy servers, we completely rewrote the cache manager. Now, each user has their own cache, addressing the challenge of server-specific entity IDs and user server-hopping. This user-centric caching relies entirely on packets, eliminating the need for platform-specific methods to track entity spawning and removal. Entities are promptly removed from the cache when your client receives a packet indicating they are out of render distance, etc, dramatically improving cache size and lookup speeds.
With this new approach, we no longer require the [Caffeine Library](https://github.com/ben-manes/caffeine), reducing the plugin size from 1.06MB (1006KB) to a mere 74KB. As the saying goes, "Size doesn't matter, but rather what you do with it." We have surely taken that seriously.
1 Jar, 3 Platforms (and forks), hundreds of different versions across all platforms. All of that is in a single jar of 74KB.
## Acknowledgments
This release wouldn't have been possible without the invaluable contributions of the following individuals:
- [@Tofaa2](https://github.com/Tofaa2): Instrumental in supporting Velocity and redesigning the cache system.
- [@Booky10](https://github.com/booky10): Provided essential tips and insights for developing the packet-based entity tracker.
- [@Abhigya](https://github.com/AbhigyaKrishna): Assisted in redesigning the Gradle Build Chain.
- [@AlexDev](https://github.com/alexdev03): Offered numerous optimization suggestions and guided the configuration manager rewrite.
Thank you to everyone involved for your support in making this release possible!
Kind regards,
Bram
- Added: Support for 1.20.5 & 1.20.6 (we now support 1.8.8-1.20.6)
- Added:
/AntiHealthIndicatoror/ahicommand, which displays the current plugin version. - Updated: PacketEvents from
2.2.1->2.3.0 - Fixed: Possible temporary netty thread freeze upon entering or leaving a vehicle.
- Removed:
FoliaScheduler, because it has been merged upstream into PacketEvents.
- Full Changelog**: https://github.com/Bram1903/AntiHealthIndicator/compare/v2.0.1...v2.1.0