> For the complete documentation index, see [llms.txt](https://walksy.gitbook.io/walksylib-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://walksy.gitbook.io/walksylib-docs/walksylibservermanager/using/commands-and-permissions.md).

# Commands and Permissions

Run `/wlcontrol` with no arguments for in-game help.

All permissions start with `wlcontrol.`. `wlcontrol.admin` grants every command and is given to operators by default.

## Commands

| Command                                                              | Permission                  |
| -------------------------------------------------------------------- | --------------------------- |
| `disable <modId> [feature]`                                          | `wlcontrol.command.edit`    |
| `disablewithreason <modId> [feature] "<reason>"`                     | `wlcontrol.command.edit`    |
| `enable <modId> [feature\|*]`                                        | `wlcontrol.command.edit`    |
| `enablewithreason <modId> [feature\|*] "<reason>"`                   | `wlcontrol.command.edit`    |
| `status [player]`                                                    | `wlcontrol.command.status`  |
| `player <p\|@sel> disable\|enable[withreason] <modId> [feature] ...` | `wlcontrol.command.player`  |
| `player <p\|@sel> apply\|remove <ruleset>`                           | `wlcontrol.command.player`  |
| `player <p\|@sel> clear`                                             | `wlcontrol.command.player`  |
| `ruleset list`                                                       | `wlcontrol.command.ruleset` |
| `ruleset create <id>` / `ruleset delete <id>`                        | `wlcontrol.command.ruleset` |
| `ruleset <id> [info]`                                                | `wlcontrol.command.ruleset` |
| `ruleset <id> disable\|enable[withreason] ...`                       | `wlcontrol.command.ruleset` |
| `ruleset <id> clear`                                                 | `wlcontrol.command.ruleset` |
| `ruleset <id> world add\|remove <world>`                             | `wlcontrol.command.ruleset` |
| `ruleset <id> permission <node\|none>`                               | `wlcontrol.command.ruleset` |
| `reload`                                                             | `wlcontrol.command.reload`  |

`*` in place of a feature means "the mod and all its features".

## Permissions

| Permission                  | Default | Grants                                       |
| --------------------------- | ------- | -------------------------------------------- |
| `wlcontrol.admin`           | op      | Every command below                          |
| `wlcontrol.command.edit`    | op      | Global `disable` / `enable`                  |
| `wlcontrol.command.status`  | op      | `status`                                     |
| `wlcontrol.command.player`  | op      | `player`                                     |
| `wlcontrol.command.ruleset` | op      | `ruleset`                                    |
| `wlcontrol.command.reload`  | op      | `reload`                                     |
| `wlcontrol.bypass`          | false   | Nothing is ever switched off for this player |

{% hint style="info" %}
`wlcontrol.bypass` is **not** included in `wlcontrol.admin`, so operators are still affected unless you give it to them.
{% endhint %}
