[4] Server-Wide Blackout

A Server Wide Blackout will cut all lights in the entire map (excluding the safe zones preset here in the config).

Basic Configuration

Enabled = true, 

TriggerOnStartUp = true, -- Server-Wide Blackout will be initiated when the resource is started.
    
Command = {
    Name = 'blackoutmap', -- Leave name empty to disable the command feature. 
    ACE_Restricted = false, -- Restricted to '5S_ServerWideBlackoutPerms'
},

Safe Zones

EnableSZBlips = true, -- Toggle to have blips on the map around safe zones. 

Safe_Zones = { -- These areas will not be affected by the server wide blackout. 
    { -- Center Of Circle Coordinates 
        xPos = -105.33, 
        yPos = 6468.34, 
        zPos = 31.63, 
        Radius = 100.0,
    },
}

If you do not want any safe/power zones, then set Safe_Zones = false

For Instance, your config would look like this:

ServerWideBlackout = {
    Enabled = true, 

    TriggerOnStartUp = true,
    
    Command = {
        Name = 'blackoutmap', 
        ACE_Restricted = false, 
    },

    EnableSZBlips = false, 
    Safe_Zones = false,
}

Last updated