# Commands

## Admin commands

Allowed for the server console, players with the ACE `koja.multicharacter.admin` (`Config.Admin.Ace`) and the framework groups in `Config.Admin.Groups` (`admin`, `superadmin`, `god` by default).
Command names can be changed in `Config.Admin.Commands`.

`<id|license>` accepts an online server id or a license (`license:xxxx` or the bare hash).

| Command | Description |
| --- | --- |
| `/charadmin` | Opens the admin panel in game: account search, characters, statuses, slots, notes, history and the queue |
| `/charslots <id\|license> <slots>` | Sets a slot override for the account |
| `/charslotsreset <id\|license>` | Removes the override, back to the default or ACE tier |
| `/kmcaddslots <target> <amount>` | Adds slots on top of the current count. `target` = server id, license, `fivem:<id>` or `discord:<id>`. Works from the console, so Tebex can run it |
| `/chars <id\|license>` | Lists the characters of the account with their ids |
| `/chardisable <charId>` | Locks a character. If it is online the player is sent to the selection |
| `/charenable <charId>` | Unlocks a character |
| `/charck <charId> <reason>` | CK: the character becomes a memorial card |
| `/charunck <charId>` | Reverts a CK |
| `/charrestore <charId>` | Takes a character out of the trash |
| `/charapprove <charId>` | Approves a new character |
| `/chardeny <charId> [reason]` | Denies a new character |
| `/chardelete <charId>` | Deletes a character permanently, online or offline |
| `/forcerelog <id>` | Sends a player back to the character selection |

Admin actions are logged to the `kmc_webhook_admin` webhook when it is set, and to the account history in the admin panel.

:::hint{type="info" title="Tebex"}
Package command example: `kmcaddslots fivem:{id} 1`. Use whichever player variable your Tebex store gives you. The player must have joined the server once so the identifier is known.
:::

## Player command

| Command | Description |
| --- | --- |
| `/relog` | Switch character. Name in `Config.Relog.Command` |
