# Commands and Permissions

#### Main Commands

/nrituals (or /nr)

* Permission: `nrituals.command.use`
* Usage: `/nr <sub-command>`
* Description: Displays the available subcommands.

/nrituals create \<altar\_id>

* Permission: `nrituals.admin.create`
* Usage: `/nr create <altar_id>`
* Description: Registers a BLOCK-type altar at the location you are looking at. You must be aiming at the central block (`core_block`) of a valid, already-built altar structure.

/nrituals reload

* Permission: `nrituals.admin.reload`
* Usage: `/nr reload`
* Description: Reloads all of the plugin's configuration files (`config.yml`, `altars.yml`, `loottables.yml`, and `messages.yml`) without needing to restart the server.

#### Detailed Permissions

`nrituals.command.use`

* Description: Basic permission to use the `/nrituals` command. Without it, players will not be able to access any subcommands.
* Assigned by default to: All players (true).

`nrituals.admin.create`

* Description: Allows the player to register a new altar with the `/nr create` command.
* Assigned by default to: Operators (op).

`nrituals.admin.reload`

* Description: Allows reloading the plugin's configuration with `/nr reload`.
* Assigned by default to: Operators (op).

#### Global Permissions (Wildcards)

You can use wildcards if your permissions manager (like LuckPerms) supports them, to assign multiple permissions at once:

* `nrituals.admin`: Grants access to all NRituals admin commands. By default, it includes `nrituals.admin.create` and `nrituals.admin.reload`.
* `nrituals.*`: Grants access to absolutely all NRituals commands and features. Recommended only for server administrators.
