Skip to content

Player Black- and Whitelist for commands #51

Description

@HerrMagiic

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"
                }
            ]
        }
    }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfutureFuture issues. Not really important right now

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions