CSS-CreateCustomCommands icon indicating copy to clipboard operation
CSS-CreateCustomCommands copied to clipboard

Player Black- and Whitelist for commands

Open HerrMagiic opened this issue 1 year ago • 0 comments

Adding a whiltelist and blacklist option for the command to select which players can use the command or not

[
    {
        "Title": "Ping",
        "Description": "Send back Pong! to the user",
        "Command": "ping",
        "Message": "Pong!",
        "PrintTo": 0,
        "Permission": {
            "RequiresPermissionOr": false, 
            "PermissionList": [
                "@css/cvar"
            ],
            "Blacklist": [
                {
                    "PlayerName": "name",
                    "SteamID": "steamid"
                },
                {
                    "PlayerName": "name",
                    "SteamID": "steamid"
                }
            ],
            "Whitelist": [
                {
                    "PlayerName": "name",
                    "SteamID": "steamid"
                }
            ]
        }
    }
]

HerrMagiic avatar Feb 09 '24 22:02 HerrMagiic