# Commands & Permissions

HLootChest provides a variety of commands for both **players** and **admins** to manage and interact with loot chests. Below is a comprehensive list of available commands and their functions.

***

### **🎮 Player Commands**

{% hint style="info" %}
Aliases: /hlootchest
{% endhint %}

| `/lc help`  | `none`            | Show the help messages.                       |
| ----------- | ----------------- | --------------------------------------------- |
| `/lc open`  | `hlc.open.<type>` | Open a loot chest of the specified type.      |
| `/lc list`  | `hlc.list`        | Display a list of available loot chest types. |
| `/lc leave` | `hlc.leave`       | Leave the current loot chest opening session. |

> **Example Usage:**\
> `/lc open regular` → Opens a lootchest of type "regular."

***

### **🛠 Admin Commands (Permission: hlc.admin)**

{% hint style="info" %}
Aliases: /hlootchestadmin
{% endhint %}

| **Command**                              | **Description**                                                    |
| ---------------------------------------- | ------------------------------------------------------------------ |
| `/lca add <player> <type> <amount>`      | Give a specified player a loot chest of a certain type and amount. |
| `/lca help`                              | Show the admin help messages.                                      |
| `/lca reload`                            | Reload the plugin’s configuration files.                           |
| `/lca template <action> <template-name>` | Manage loot chest templates.                                       |
| `/lca templateslist`                     | Display a list of available loot chest templates.                  |

> **Example Usage:**\
> `/lca add Steve regular 3` → Gives **Steve** 3 **Regular** lootchests.

***

Now you're ready to **unlock powerful combinations** with HLootChest! 🚀
