[2] Blackout Radius

The Blackout Radius system allows a user to create a blackout for a specific radius. This system only works with a command (as of ).

Included in this system is the option to "confirm" the radius. If this configuration is enabled, then the user will see the radius on their map and be asked to confirm it before executing it.

-- Enable/Disable Command To Trigger Blackout For A Specific Radius  
Main.EnableRadiusCommand = true 
-- Command Name (If 'EnableRadiusCommand' is set to true.)
Main.RadiusCommandName = 'blackoutradius' 
-- Maximum And Minimum Radius Permitted For Blackouts
Main.MaxRadius = 10000
Main.MinRadius = 10 
-- Set this to true if you want the player to confirm the radius before the command is executed. Their radius will appear on the map, showing the player the blackout radius before setting it. 
Main.ConfirmRadius = false 
Main.ConfirmRadiusAcceptKeyN, Main.ConfirmRadiusAcceptKey = 38, 'INPUT_PICKUP' -- Index, Default QWERTY
Main.ConfirmRadiusRejectKeyN, Main.ConfirmRadiusRejectKey = 23, 'INPUT_ENTER' -- Index, Default QWERTY
-- Restricted permissions through server.cfg. If true, then restricted to '5S_RadiusCommand'. (More details in DOCUMENTATION)
Main.RadiusPermissionsRestricted = false

Permissions

To enable permissions on this system using ACE permissions,

  1. Set Main.RadiusPermissionsRestricted to true in the configuration.

  2. Add this to the server.cfg. Make sure to change the group:

add_ace group.admin "5S_RadiusCommand" allow

Last updated