> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mythiclabs.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

> Command and permission reference for MLFFA

All MLFFA commands live under `/ffa`. Running `/ffa` with no arguments (or an unrecognized subcommand) shows the in-game help menu.

## Open commands

These don't require any permission - any player, and in some cases console, can use them.

| Command       | Description                                                                     |
| ------------- | ------------------------------------------------------------------------------- |
| `/ffa join`   | Join the FFA arena (players only)                                               |
| `/ffa leave`  | Leave the FFA arena (players only)                                              |
| `/ffa about`  | Show the plugin version and who the install is licensed to                      |
| `/ffa status` | Show the current game state, player count, PvP status, and whether spawn is set |

## Administrator commands

All of these require the `mlffa.admin` permission.

| Command                                        | Description                                                                  |
| ---------------------------------------------- | ---------------------------------------------------------------------------- |
| `/ffa setspawn`                                | Set the arena spawn to your current location (players only)                  |
| `/ffa setexit`                                 | Set the arena exit to your current location (players only)                   |
| `/ffa start`                                   | Start the FFA game                                                           |
| `/ffa stop`                                    | Stop the FFA game                                                            |
| `/ffa editkit`                                 | Open the [Kit Editor](/plugins/mlffa/overview#kit-editor) GUI (players only) |
| `/ffa reload`                                  | Reload the plugin configuration                                              |
| `/ffa reset <wins\|kills\|deaths> <player\|*>` | Reset a stat for one player, or `*` for every player                         |

### Resetting stats

```bash theme={null}
/ffa reset kills Nephesis_
/ffa reset wins *
```

The first resets `Nephesis_`'s kill count; the second resets everyone's win count. `wins`, `kills`, and `deaths` are the only valid stat types, and tab-completion will suggest both the stat type and player names (or `*`) as you type.

## Permissions

Unlike MLVoucher's per-command nodes, MLFFA uses a single admin permission that gates every administrator subcommand:

| Permission    | Grants                                                                   |
| ------------- | ------------------------------------------------------------------------ |
| `mlffa.admin` | `setspawn`, `setexit`, `start`, `stop`, `editkit`, `reload`, and `reset` |

<Note>
  `join`, `leave`, `about`, and `status` need no permission and are open to everyone by default.
</Note>
