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

# Commands and permissions

The Rummiduck commands and who may use them.

| Command             | Who      | What it does                                                                     |
| ------------------- | -------- | -------------------------------------------------------------------------------- |
| `/rummiduck_pickup` | Everyone | Picks up the nearest table the player put up with the table item                 |
| `/rummiduck_place`  | Admins   | Puts up a table two metres in front of you                                       |
| `/rummiduck_remove` | Admins   | Takes away the nearest table that was placed with `/rummiduck_place` or the item |

The names can be changed in `config.lua` with `Config.CommandPlace`, `Config.CommandRemove` and `Config.Item.PickUp.Command`.

## Permissions

`/rummiduck_place` and `/rummiduck_remove` are restricted commands. A player needs the ace `command.rummiduck_place` or `command.rummiduck_remove`.

Most servers already have this line in their `server.cfg`, which gives admins every restricted command:

```cfg
add_ace group.admin command allow
```

To give the two commands to another group only:

```cfg
add_ace group.moderator command.rummiduck_place allow
add_ace group.moderator command.rummiduck_remove allow
```

If you rename a command, the ace changes with it: `command.<new name>`.

`/rummiduck_pickup` is for everyone, but only takes down a table of the table item, by default only the player's own, and never while someone sits there. See [Table item](/organized-chaos-docs/rummiduck/table-item.md).

## Placed tables

Tables placed in game, with the command or the item, are saved in `tables.json` in the resource folder and come back after a restart. `/rummiduck_remove` only removes those tables; a table of the item is then not given back as an item. A table from `Config.Tables` is removed by deleting its line in `config.lua`.

{% hint style="warning" %}
Keep `tables.json` when you update the resource. Overwriting it removes your placed tables, and the tables players put up with the item.
{% endhint %}
