Skip to content

ItemLock ​

Description ​

Restricts handling of selected item classes and starting restricted vehicle engines by SteamID. Use it to reserve equipment and vehicles for designated players.

Configuration ​

Default configuration ​

ItemLock.json
json
{
    "m_Enable": 0,
    "m_Groups": [
        {
            "m_Steam": [
                "00000000000000000"
            ],
            "m_Description": "example",
            "m_Items": [
                "FAL"
            ]
        }
    ]
}

Options ​

OptionTypeDescription
m_EnableboolEnables the module with 1 and disables it with 0.
m_Groupsarray<object>Groups that associate allowed SteamIDs with restricted classes.

m_Groups[] ​

OptionTypeDescription
m_Steamarray<string>SteamIDs allowed to handle these classes.
m_DescriptionstringAdministrative label stored in the configuration.
m_Itemsarray<string>Exact item or vehicle class names covered by the restrictions.

Permissions ​

A player authorized for a class by any matching m_Groups[] entry can use it even if the same class is listed in a group they do not belong to. Administrative mode bypasses item restrictions.

Released under the MIT License.