How the groups are built in all plugins: Permissions with LuckPerms.
Groups
Every group contains the one below, the team groups also contain mrsleep.player - best give mrsleep.player to the default group:
| Permission | Default | What for |
|---|---|---|
mrsleep.player |
OP | Player: /nosleep and /nosleep info; /mrsleep version. |
mrsleep.groups.support |
OP | Group support: player + admin menu, status, teleport, cooldown bypass and /nosleep ban up to the support limit (team-limits.support). |
mrsleep.groups.staff |
OP | Group staff: support + bypass and ban up to the staff limit (team-limits.staff), lift /nosleep blocks, reset cooldowns. |
mrsleep.groups.admin |
OP | Group admin: everything of MRsleep - bypass and ban without limit (also permanent), reload, Discord, update notice. |
/lp group default permission set mrsleep.player true
/lp group supporter permission set mrsleep.groups.support true
/lp group staff permission set mrsleep.groups.staff true
/lp group admin permission set mrsleep.groups.admin true
Single permissions
"Included in" names the smallest group that brings the permission; "–" means: in no group, only given on its own.
| Permission | Default | Included in | What for |
|---|---|---|---|
mrsleep.groups.bots |
nobody | – | Group bots (second accounts): not counted for sleeping (mrsleep.exempt), no other rights. |
mrsleep.version |
OP | Player | /mrsleep version - version, update status and links. |
mrsleep.exempt |
nobody | – | Player is not counted for the sleep quota (e.g. cam or bot accounts). |
mrsleep.nosleep |
OP | Player | Allows /nosleep. |
mrsleep.nosleep.info |
OP | Player | /nosleep info - show your own sleep and /nosleep status. |
mrsleep.nosleep.nocooldown |
nobody | – | Use /nosleep without cooldown (must be granted explicitly, OPs do not get it automatically either). |
mrsleep.admin.discord |
OP | Admin | /mrsleep discord [test] - status of the Discord webhook and test message. |
mrsleep.admin.gui |
OP | Support | /mrsleep gui - open the admin menu (actions in it also need their own permission). |
mrsleep.admin.reload |
OP | Admin | /mrsleep reload |
mrsleep.admin.status |
OP | Support | /mrsleep status and /mrsleep debug |
mrsleep.admin.clear |
OP | Staff | /mrsleep clear and /mrsleep release - remove /nosleep blocks. |
mrsleep.admin.bypass |
OP | Support | /mrsleep bypass - cooldown bypass up to team-limits.support.bypass in config.yml, list and remove bypasses. |
mrsleep.admin.bypass.staff |
OP | Staff | Cooldown bypass up to team-limits.staff.bypass. |
mrsleep.admin.bypass.unlimited |
OP | Admin | Cooldown bypass of any length. |
mrsleep.admin.resetcooldown |
OP | Staff | /mrsleep resetcooldown - reset a player's /nosleep cooldown. |
mrsleep.admin.ban |
OP | Support | /mrsleep ban, unban and bans - exclude players from /nosleep, up to team-limits.support.ban in config.yml. |
mrsleep.admin.ban.staff |
OP | Staff | /nosleep bans up to team-limits.staff.ban. |
mrsleep.admin.ban.unlimited |
OP | Admin | /nosleep bans of any length, also permanent. |
mrsleep.admin.teleport |
OP | Support | Teleport to players in the admin menu. |
mrsleep.admin.update |
OP | Admin | Notice when joining the server if an MRsleep update is available. |
Wildcards
Groups with
*ormrsleep.*also getmrsleep.exemptin LuckPerms - and are then not counted for the quota. For such groups setmrsleep.exempttofalseexplicitly:/lp group admin permission set mrsleep.exempt false
Examples
/lp user CamAccount permission set mrsleep.exempt true # take a bot out of the quota
/lp group mod permission set mrsleep.groups.staff true # mods: like staff …
/lp group mod permission set mrsleep.admin.ban.unlimited true # … but may also ban permanently
/lp group vip permission set mrsleep.nosleep.nocooldown true # VIPs without cooldown
/lp group guest permission set mrsleep.nosleep false # guests without /nosleep