All Mods Resource Packs Data Packs Shaders Modpacks Plugins
AntiHealthIndicator

AntiHealthIndicator

by DevBram • Downloads: 22 • Followers: 0
Description
Gallery
Changelog
Versions

AntiHealthIndicator

Build CodeQL GitHub Release

SpigotMC Modrinth

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

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.

Credits

Special thanks to:

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:

  1. 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).
  2. Make sure you have the compatible loader or environment installed for Bukkit, Bungeecord, Folia, Paper, Purpur, Spigot, Sponge, Velocity, Waterfall.
  3. Move the downloaded AntiHealthIndicator file into your Minecraft .minecraft/plugins folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.x 1.21.x +13
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 12
26.1.x 1.21.x 1.20.x +12
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 6
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 4
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 3
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 2
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 2
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 2
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 2
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Sponge Velocity Waterfall
2mo ago 1
1.21.x 1.20.x 1.19.x +11
Bukkit Bungeecord Folia Paper Purpur Spigot Velocity Waterfall
2mo ago 1
1.21 1.20.x 1.19.x +11
Bukkit Folia Paper Purpur Spigot Velocity Waterfall
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Bungeecord Folia Paper Purpur Spigot Velocity Waterfall
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Bungeecord Folia Paper Purpur Spigot Velocity Waterfall
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Bungeecord Folia Paper Purpur Spigot Velocity Waterfall
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
1.20.x 1.19.x 1.18.x +10
Bukkit Folia Paper Purpur Spigot
2mo ago 1
  • Added: 26.2 Support
  • Added: 1.21.11 Support
  • Added: Health Randomisation (will really piss off cheaters 😄)

  • Added: 1.21.9 & 1.21.10 Support
  • Fixed: Custom vehicles not showing the right health
  • Some small performance improvements
Fixed: Another NullPointerException on UserLogin 😭

Fixed: NullPointerException when spoofing players / using NPC's
  • Added 1.21.6, 1.21.7, and 1.21.8 Support
  • Fixed: Happy Ghast health being spoofed while riding

## What's Changed

### 🔧 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 update with 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.


## What's Changed
[Fix] Additional Durability Conditions by @Pantera07 in https://github.com/Bram1903/AntiHealthIndicator/pull/18

## New Contributors

### New Features
  • 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 reload to 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.Reload for managing reload access.

  • Fixed: Getting kicked upon entering a boat
  • Chore: Cleaned up some old code

# Minecraft 1.21 Support

  • 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

## Changes
  • Fixed: Permission being required for the base command, but not given by default
  • Added: Help and Discord command
  • Refactored: EntityMetadataListener
# New Release: Proxy Support and Cache Rewrite

## 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:


Thank you to everyone involved for your support in making this release possible!

Kind regards,
Bram
## Changes

  • Added: Support for 1.20.5 & 1.20.6 (we now support 1.8.8-1.20.6)
  • Added: /AntiHealthIndicator or /ahi command, 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.

AntiHealthIndicator Icon
Download AntiHealthIndicator
Select game version
Select platform