> 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/switching-mods-off.md).

# Switching Mods Off

These commands edit the **global** rule set, which applies to everyone on the server. Changes apply instantly and are saved to `rules.yml`.

## Disable

```
/wlcontrol disable <modId>                 the whole mod
/wlcontrol disable <modId> <feature>       one feature
```

```
/wlcontrol disable shieldstatus
/wlcontrol disable shieldstatus other-player-shields
```

After the command, you'll see how many WalksyLib clients online allow this restriction, for example `WalksyLib clients online that allow this: 12/15`.

## Disable with a reason

Players see the reason in their notification.

```
/wlcontrol disablewithreason <modId> [feature] "<reason>"
```

```
/wlcontrol disablewithreason shieldstatus other-player-shields "Not allowed in ranked"
```

* The reason **must be in quotes**, so it can't be mistaken for a feature ID.
* Running `disablewithreason` on something that's already off only changes its reason.

## Enable

```
/wlcontrol enable <modId>                  the whole mod
/wlcontrol enable <modId> <feature>        one feature
/wlcontrol enable <modId> *                the mod and all of its features
```

`enablewithreason` works the same way, and players see the reason in their "back on" notification.

{% hint style="info" %}
`enable <modId>` only lifts the whole-mod restriction. If some of the mod's features are still off, you'll be told. Use `enable <modId> *` to clear everything for that mod.
{% endhint %}

## Only for some players

To restrict things only in certain worlds, for certain ranks or for certain players, use [Rule Sets](broken://pages/e6f8c766e7710d245b512a825e071d5a1578fbe1) or [Per-Player Restrictions](broken://pages/a3f45efc8c9ecabc1aa63e92e9230501837dca05).
