LuckPerms Contexts
Allows permissions/groups/prefixes/etc to be assigned easily based on certain DiscordSRV states.
More information about contexts can be found here: https://luckperms.net/wiki/Context
Available contexts:
discordsrv:linked
- whether the player has linked a Discord account (true/false)discordsrv:boosting
- whether the player is boosting the Discord guild (true/false)discordsrv:role
- the role the user has in Discorddiscordsrv:role_id
- the role id the user has in Discorddiscordsrv:server_id
- whether the user is a member of the server with the given id (which the bot is also a part of)
Examples🔗
Command |
|
Explanation |
will give all users access to |
Command |
|
Explanation |
will give a pink |
Command |
|
Explanation |
will negate the |
Command |
|
Explanation |
will negate the |
Command |
|
Explanation |
will give all users access to |
These can be disabled using a LuckPerms-Contexts
entry in the DisabledPluginHooks
config section.
Original implementation: https://github.com/DiscordSRV/DiscordSRV/pull/728