
CLI
You can use CLI to add new administrators, manage the permission groups and much more. This feature was introduced in version 2.0.
Admin Management
lc admins
Usage: lc admins
Use this command to see all admins registered in the admin menu.
> lc admins
------------------------------------------------------------------------------------------
On Duty | Nick | Group | Group Tier | Global Identifier
------------------------------------------------------------------------------------------
YES (ID: 7) | dev7 | owner | 1 | license:c08777064740a5e3fd9aa6284978371442d73f68
------------------------------------------------------------------------------------------lc admin
Usage: lc admin <target_id/identifier>
This command shows all the information about specified admin.
> lc admin 7
--------------------------------
Admin Info
Nick: user
Global Identifier: license:c08777064740a5e3fd9aa6284978371442d73f68
Online: YES (ID: 7)
Admin ID: 785
Group: dev7
Group Tier: 1
Permissions Source: database
Permissions: [
"all"
]
--------------------------------
Use command "lc set_group 7 <group_name>" to set the group of an admin.lc give_access
Usage: lc give_access <target_id> <group_name>
This command gives access to the admin menu to player with specific ID. Make sure that the group name is a correct Permission Group name.
lc set_group
Usage: lc set_group <target_id> <group_name>
Use this command to change already existing admin's group.
Permissions
lc permissions
Usage: lc permissions
Lists all available permissions.
lc groups
Usage: lc groups
Lists all available Permission Groups.
lc group
Usage: lc group <group_name>
Displays group info.
lc create_group
Usage: lc create_group <group_name> <tier>
Creates Permission Group with given name and tier.
lc delete_group
Usage: lc delete_group <group_name>
Deletes Permission Group with given name.
lc add_group_permission
Usage: lc add_group_permission <group_name> <permission_name>
Adds permission to a Permission Group with given name.
lc remove_group_permission
Usage: lc remove_group_permission <group_name> <permission_name>
Removes permission from a Permission Group with given name.
Last updated