Configure GM roles
Server owners can assign a specific role to gamemasters in their server. Configuring a gamemaster role will limit the usage of campaign and session related commands to users within that role. This is useful for servers with multiple gamemasters or for servers that want to restrict access to certain commands to a specific role. The /settings gm-role command allows admins to grant permissions to multiple roles within the server.
Adding a Gamemaster Role
To add a gamemaster role, use the /settings gm-role command with the add option and specifying the role by name.
/settings gm-role add role: <role_name>
If successful, the bot will respond with a message confirming the addition of the role.
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| role | RoleResolvable | The role to be added as a gamemaster role. This role will have access to campaign and session related commands. |
Removing a Gamemaster Role
To remove a gamemaster role, use the /settings gm-role command with the remove option and specifying the role by name.
Note
If all gamemaster roles are removed, the command will be available to all users in the server.
/settings gm-role remove role: <role_name>
If successful, the bot will respond with a message confirming the removal of the role.
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| role | RoleResolvable | The role to be removed from the gamemaster roles. This role will no longer have access to campaign and session related commands. |
Listing Gamemaster Roles
To list all gamemaster roles, use the /settings gm-role command with the list option.
/settings gm-role list
If successful, the bot will respond with a message listing all gamemaster roles in the server.