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

# Commands and Permissions

## Commands

| **/codex**                                                                                                               | Opens the main menu. Doesn't need permissions.                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **/codex help**                                                                                                          | Shows all commands.                                                                                                                                                                                                                                                                                                                                                                                    |
| **/codex unlock \<player> \<category> \<discovery> (optional, send message)\<true/false>**                               | <p>Unlocks a discovery for a player. (This command can <br>be used in any plugin you want. Add 'false' to the end of <br>the command to avoid message spamming when a player has already unlocked a discovery)</p>                                                                                                                                                                                     |
| <p><strong>/codex resetplayer \<player> (optional)\<category></strong></p><p><strong>(optional)\<discovery></strong></p> | <p>Resets player data. The player must be online. Examples:</p><p></p><p><strong>/codex resetplayer \<player></strong> (Resets all data for the player)</p><p><strong>/codex resetplayer \<player> monsters</strong> (Resets category monsters for the player)</p><p><strong>/codex resetplayer \<player> regions kryngel</strong> (Resets discovery 'kryngel' of category regions for the player)</p> |
| <p><strong>/codex resetplayer \* (optional)\<category></strong></p><p><strong>(optional)\<discovery></strong></p>        | Resets data for all players. This will also modify offline player files, and there is no need for players to be online.                                                                                                                                                                                                                                                                                |
| **/codex verify**                                                                                                        | Checks the plugin for errors.                                                                                                                                                                                                                                                                                                                                                                          |
| **/codex reload**                                                                                                        | Reloads the config.                                                                                                                                                                                                                                                                                                                                                                                    |
| **/codex open \<player> \<inventory>**                                                                                   | Opens an inventory for the player.                                                                                                                                                                                                                                                                                                                                                                     |

{% hint style="info" %}
There is just one permission to access commands: `codex.admin`
{% endhint %}
