Difference between revisions of "AccessControlGUI.php"
From Bebot Wiki 2
Jump to navigationJump to search (Created page with '====== Access Control GUI ====== ==== Description ==== This GUI allows changes to the minimum access levels for commands. ==== Features ==== * Lists all commands for speci…') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
===== Commands provided ===== | ===== Commands provided ===== | ||
− | + | <pre> | |
^Command ^ Keyword ^Argument(s) ^Description ^Tell ^Guild ^Priv ^ | ^Command ^ Keyword ^Argument(s) ^Description ^Tell ^Guild ^Priv ^ | ||
|!commands| | |Shows a list of the channels with chat commands|Owner|N/A|N/A| | |!commands| | |Shows a list of the channels with chat commands|Owner|N/A|N/A| | ||
|!commands| | <tell/pgmsg/gc> |Shows the chat commands for the selected channel with current access levels and allows changing the access levels|Owner|N/A|N/A| | |!commands| | <tell/pgmsg/gc> |Shows the chat commands for the selected channel with current access levels and allows changing the access levels|Owner|N/A|N/A| | ||
|!commands| update | <tell/pgmsg/gc> <//command//> <//newlevel//> |Sets the minimal access level for //command// to //newlevel//|Owner|N/A|N/A| | |!commands| update | <tell/pgmsg/gc> <//command//> <//newlevel//> |Sets the minimal access level for //command// to //newlevel//|Owner|N/A|N/A| | ||
+ | </pre> | ||
+ | |||
+ | !channel - Shows the current lock status for commands in guild chat and private chat group. | ||
+ | !channel [lock|unlock] [gc|pgmsg] - Locks or unlocks access to commands in guild chat or private chat group. | ||
===== Notes ===== | ===== Notes ===== | ||
//commands update// accepts the following shortcuts instead of full level names: | //commands update// accepts the following shortcuts instead of full level names: | ||
+ | <pre> | ||
^Shortcut ^Access level ^ | ^Shortcut ^Access level ^ | ||
| AN | ANONYMOUS | | | AN | ANONYMOUS | | ||
Line 32: | Line 37: | ||
| O | OWNER | | | O | OWNER | | ||
| D | DISABLED | | | D | DISABLED | | ||
+ | </pre> |
Latest revision as of 23:41, 22 August 2021
Access Control GUI
Description
This GUI allows changes to the minimum access levels for commands.
Features
* Lists all commands for specific channels with current rights * Allows changes to those rights
Commands provided
^Command ^ Keyword ^Argument(s) ^Description ^Tell ^Guild ^Priv ^ |!commands| | |Shows a list of the channels with chat commands|Owner|N/A|N/A| |!commands| | <tell/pgmsg/gc> |Shows the chat commands for the selected channel with current access levels and allows changing the access levels|Owner|N/A|N/A| |!commands| update | <tell/pgmsg/gc> <//command//> <//newlevel//> |Sets the minimal access level for //command// to //newlevel//|Owner|N/A|N/A|
!channel - Shows the current lock status for commands in guild chat and private chat group.
!channel [lock|unlock] [gc|pgmsg] - Locks or unlocks access to commands in guild chat or private chat group.
Notes
//commands update// accepts the following shortcuts instead of full level names:
^Shortcut ^Access level ^ | AN | ANONYMOUS | | G | GUEST | | M | MEMBER | | L | LEADER | | A | ADMIN | | SA | SUPERADMIN | | O | OWNER | | D | DISABLED |