[2] General Configuration

Command Details

Command_Name = 'bdoor',
Command_Restriction = false, -- Restricted permissions through server.cfg. If true, then restricted to '5S_DB_BarricadeCommand'. (More details in DOCUMENTATION)

Permissions Command Details

To restrict permissions for the entire command, we use ACE Permissions,

  1. Set Command_Restriction to true in the configuration.

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

add_ace group.admin 5S_DB_BarricadeCommand

Barricade Strengths

Barricade_Strengths = {
    [1] = { -- [LEVEL]
        Material = 'Wood', -- Options: 'Wood' OR 'Metal'
        Setup_Time = 5,  -- Seconds it takes to put up the barricades. 
        Kicks = 10,      -- Seconds it takes to kick the door down. 
        Tool = true,     -- True = Players can use a CROWBAR to open the barricaded door at 1.5x speed (must have weapon in hand). 
        Perms = 1,       -- Permission type -- || 1 = Everyone || 2 = Custom || 'ACEPermissionTitle' = ACE Permissions || Check Documentation for details.
    }, 
},

To restrict permission for speicifc strengths, we use ACE Permissions or Custom Permissions:

  1. Enter the name of the ACE Group Title you want to set the permissions to.

    (a) Perms = 'barricadeLevel1'

  2. Set the permissions for that group in your server.cfg.

Last updated