
AntiFriendAttack
A mod that doesn't allow you to hit friends
Screenshots

About this Mod
NEWER VERSION OF THIS MOD WILL BE FOUND HERE
https://modrinth.com/mod/antihit
AntiFriendAttack
The "AntiFriendAttack" mod is a client-side Minecraft mod that allows players to manage a list of friends and prevent accidental attacks on them. Players can add and remove friends using configurable keybindings.
Features
- Add and remove friends using in-game keybindings.
- Prevent accidental attacks on added friends.
- Name tag color changes to aqua for added friends.
- A sound will play when you add someone as friend.
- A bind to remove all friends.
Usage
- To add a player as a friend,press the adding friends keybind while aiming at them.
- To remove a friend, press the removing friends keybind while aiming at them.
- The mod could be usefull in pvp.
Bugs
- If you find a bug or have suggestions for improvements feel free to open an issue.
Available Versions
How to Install AntiFriendAttack 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.20.2).
Install Mod
Open the mod browser in the dashboard and search for "AntiFriendAttack". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.2, 1.20.1
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
AntiFriendAttack 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.20.2). You can switch loaders with one click in the panel.
Is AntiFriendAttack compatible with fabric and quilt?
AntiFriendAttack officially supports fabric, quilt for Minecraft 1.20.2, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with AntiFriendAttack – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if AntiFriendAttack 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 AntiFriendAttack with just one click on your server.