Commands and Permissions - GazLloyd/Gazlunebot GitHub Wiki

Table of Contents

Commands

gazlunebot

The main command is /gazlunebot, all other commands are subcommands of this. /elunebot is an alias.

Note: Currently, the only permission is gazlunebot.admin, which gives access to all of these. The listed subpermissions will be added in future releases.

help

Usage: /gazlunebot help
Permission: gazlunebot.admin.help
Displays a list of all other commands and basic explanation. This is also displayed if just /gazlunebot is used.

enable

Usage: /gazlunebot enable
Permission: gazlunebot.admin.enable
Enables the bot, if it is not.

disable

Usage: /gazlunebot disable
Permission: gazlunebot.admin.disable
Disables the bot, if it is.

reload

Usage: /gazlunebot reload
Permission: gazlunebot.admin.reload
Reloads the bot's config from the file.

PLANNED: ignore

Usage: /gazlunebot ignore <player>
Permission: gazlunebot.admin.ignore
Adds the player to the ignore list (as defined in config). Ignored players are never responded to.

Players ignored in this way are different to players ignored using the gazlunebot.ignored permission. This is retained as a feature for two main reasons: to allow servers without a permission plugin to prevent disruptive players abusing the bot; and to allow moderators, who may not have access to permission-changing commands, to prevent abuse of the bot (possibly temporarily).

PLANNED: unignore

Usage: /gazlunebot unignore <player>
Permission: gazlunebot.admin.unignore
Removes the player from the ignore list (as defined in config). Using this command only removes the player from the ignore list defined in the config file, and does not remove the gazlunebot.ignored permission.

(Additional) Permissions

gazlunebot.admin

Default: Ops
Currently, this gives access to all four commands. In future, this will be renamed gazlunebot.admin.* (addition of .*).

PLANNED: gazlunebot.ignored

Default: None
Users with this permission are ignored by the bot and never responded to. This is different to ignoring players using the config file (or /gazlunebot ignore).

This is retained as a feature for two main reasons: to allow servers without a permission plugin to prevent disruptive players abusing the bot; and to allow moderators, who may not have access to permission-changing commands, to prevent abuse of the bot (possibly temporarily).

⚠️ **GitHub.com Fallback** ⚠️