Dont Hit Teammates
A client-side Fabric mod that prevents accidental damage to players added to a special list. This is the perfect solution for team battles when it's important to avoid friendly fire.
Control Settings
Activation and deactivation of the mod is done through an assigned hotkey (default - KP_2). For fine-tuning, there are parameters save_enabled_state and save_teammates_list that are responsible for saving current settings between game restarts. These settings can be changed using the /donthitteammates command.
Managing the Allies List
Add players to the list of protected participants by simply entering their nicknames in a special interface. This menu can be opened either through a hotkey (default KP_3) or through ModMenu.

All configuration data is saved in the config/donthitteammates.json file.