
AntiHit
A mod that adds a friend system.
Screenshots


About this Mod
AntiHit
AntiHit is a Minecraft Fabric mod that allows players to manage a friends list.
Features
Attack Handling:
Choose whether attacks on friends are allowed or blocked.
Key Bindings:
- Configure key bindings for adding, removing friends,remove all friends and toggling attack friends settings.
Configuration:
- Friends list is stored in a JSON file (
friend_list.json) in the config directory.
- Friends list is stored in a JSON file (
Commands
/antihit "color name": to change the friends nametag color for under 1.3/antihit "color name": to change the friend tag color above 1.4- check here for possible colors
Usage
Adding a Friend
-Look at the player and press the configured key binding for adding a friend.
Removing a Friend
- Look at the player and press the configured key binding for removing a friend.
Remove all friends
- You will have a bind to remove all friends at once
Toggling Friend attack
- Press the configured key binding to toggle between allowing and blocking attacks on friends.
Contributing
Feel free to open issues or pull requests for bug fixes or improvements.
Available Versions
How to Install AntiHit on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "AntiHit". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.5, 1.21.4 (+5 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
AntiHit server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is AntiHit compatible with fabric and quilt?
AntiHit officially supports fabric, quilt for Minecraft 1.21.11, 1.21.5, 1.21.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with AntiHit – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AntiHit consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install AntiHit with just one click on your server.