Role Permission Keys
This function is currently in development and is being expanded - not all features are implemented.
SWPM keys are not substitute for a rank mod that limits use of Minecraft commands, or the commands of other mods.
Keys permit a user to access specific set of command relevant to the role (key). Each set of commands is exclusive to the key, meaning multiple keys may be required to run commands from different sets.
Note: These permissions and restrictions are primarily being developed for use in official SWE servers, but are included in the mod for others needing similar functions for server management. The keys determined reflect the roles within our community and staff team, but have been adapted to generic role names for easy application on other servers.
Note: Role Permission Keys are by default only useful for multiplayer servers. This wiki page will assume multiplayer use.
Key Overview and Getting Started
Keys permit a user to access a specific set of commands relevant to the role (key). Currently non-configurable.
The list of commands accessible to each Key is listed below under the Key name.
Each set of commands is exclusive to the Key, meaning multiple keys will be required to run commands from different 'sets'.
In multiplayer servers, OP does NOT immediately grant full access to any SWPM function. Some mods require OP access to be given to players to do tasks below the Mod/Admin level (e.g. World Edit and volunteer/paid Builders). It was deemed unsafe to make OP access default as any lower level staff could then assign/revoke any Key from anyone which could be overwhelmingly harmful to a server's defense against management abuse.
Ranks
The Keys are ordered by rank. More dangerous permissions are given to higher level ranks, like Mod or Admin.
Currently Active Keys (highest rank to lowest):
- Owner
- Admin
- Mod
Other:
(assigned/revoked by Admin Key and higher ranking. Technically not within Rankings)
- Blacklist Bypass
To begin using the Keys:
A server manager with console access will need to run this command to assign the Owner Key (recommended to assign the Key to oneself).
/swpm assign key <player> swpm:owner
From there, the player with the Owner Key can then assign the necessary Keys to the desired staff at their discretion, using the below index of command sets per Keys.
The Owner Key should not be given to anyone who is not absolutely necessary. The Owner Key grants access to assigning/revoking any Key to/from any player.
Jail Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Audit Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Player Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Donator Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Helper Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Filming Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Assistant Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Staff Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Admin Assist Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Builder Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Moderator Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Admin Key (Active)
This key permits approved server staff (admin level) to view, remove and add gamemode locks as well as assign or revoke keys.
Gamemode locks - Set a dimension or area into a specific game mode and automatically change game mode on entry.
/swpm key assign [playername] swpm:admin |
Give a player the |
Available commands | |
/swpm gamemode list |
List gamemode locks for current dimension +/- TP to |
/swpm gamemode remove |
Removes a gamemode lock in the region you are in (current position). |
/swpm gamemode remove dimension |
Removes a gamemode lock in the current dimension you are in. |
/swpm gamemode [gamemode] [@/player] dimension |
Add a new gamemode lock in the current dimension. |
/swpm gamemode [gamemode] [@/player] [coords] |
Add a new gamemode lock between the set coordinates (cube). |
/swpm key list |
Lists all keys assigned to the player. |
/swpm key assign [playername] [key] |
any lower ranking key to another player(s). |
/swpm key revoke [playername] [key] |
|
More commands |
Head Admin Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Co-Owner Key (Inactive)
This key is currently inactive - assigning this key offers no additional access to commands.
Owner Key (Inactive)Active)
This key isserves currentlythe inactivesole -purpose assigningof thisgiving keya offers no additionalplayer access to commands.assign/revoke any key from any player. This Key can only be given through console. Once given, the Owner can then assign Keys as needed, such as Mod or Admin Keys.
/swpm key assign [playername] swpm:owner |
Give a player the Owner key. |
Available commands | |
/swpm key assign [playername] [key] |
Assign any lower ranking key to another player(s). |
/swpm key revoke [playername] [key] |
Revoke any lower ranking key from another player(s). |
Blacklist Bypass Key (Active)
This key permits approved server staff to be exempt from item confiscation by the Blacklist feature.
If assigned, a player with the Blacklist Bypass keyKey will be able to keep (in their inventory) andany item which would otherwise be deleted moments after being taken, picked upup, or transferred into an inventory.
Changelog
View Changes
This is not a complete list of version changes / fixes. It is a changelog of relevant wiki-related version information.
MC Version | Release | Notes |
1.18.2 | 1.18.2-2.1.0 | New feature - added permissions keys. |