Summary
WR MOB Protection is a standalone Arma Reforger addon.
Description
To use WR MOB Protection, add the mod as a dependency to your scenario or server mod. If your scenario uses the normal SCR_GameModeCampaign game mode, the protection starts automatically. You do not need to place anything in the world.
The mod automatically finds bases that are set as HQ bases and creates a no-fire zone around them. The default radius is 500 meters. Inside the HQ zone, players can still aim down sights, but they cannot fire, throw grenades, or melee. Outside the HQ zone, weapons work normally.
The main parts of the mod are WRMP_HQNoFireManager, which finds HQ bases and checks if players are inside the HQ radius, WRMP_HQNoFireCharacterController, which blocks shooting, throwing, and melee inside the HQ zone, and WRMP_HQNoFireGameModeComponent, which is an optional settings component.
If you want to change the settings, add WRMP_HQNoFireGameModeComponent to your GameMode. From there, you can turn the system on or off, change the radius, change how often it searches for HQ bases, or add fallback name checks like HQ or MOB.
Players do not need to set anything up themselves. They only need to have the mod loaded when joining the server or playing the scenario
License
WR MOB Protection is released under the Arma Public License (APL).
License reference:
https://www.bohemia.net/community/licenses/arma-public-license
You may use and share this addon for Arma Reforger according to the APL terms.