I’d like to suggest adding two helpful commands to make managing permissions easier directly in-game/console instead of using the DataBase:
1. /pcheck <steamID>
Purpose: View a player’s groups, permissions, and how long they have left in temporary groups (if any).
Example output:
JillKurstin's groups: Guest, Vault, Diamond [27d]
JillKurstin's permissions: kits, tpa, home, warp, kit.starter
• If a group is permanent, no time will be shown.
• If a group is temporary, remaining time (e.g., [27d]
) will be displayed. (it’s just like kits cooldown)
2. /pcreategroup <GroupID> <DisplayName> <Prefix>
Purpose: Create a new permission group directly in-game/console instead of doing it manually in database.
Other group details (like color, priority, etc.) will default to NULL
or be set to white.
These details can still be edited later in the database manually.
3. /psetpermission <GroupID> <Permission> [Cooldown]
Purpose: Add a permission to a group with an optional cooldown.
Example
/psetpermission Diamond kit.diamond
4. /paddbulk <GroupID> <SteamID1> <SteamID2> <SteamID3> <SteamID4> <SteamID5> [Duration]
Purpose: Add multiple players to a group at once, with an optional duration. This is good for a server with a clan feature like Unbeaten / Trapdoor
Example:
/paddbulk Diamond 7656119... 7656119... 7656119... 7656119... 7656119... 30d
• Supports up to 5 Steam IDs at a time.
• If no duration is given, the group will be assigned permanently.