> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/for-enchantmentreform/info/zhi-ling.md).

# Commands & Permissions

Main command: `/enchantmentreform`\
Aliases: `/er`, `/enchants`

## Enchantment catalogue

```
/enchantmentreform gui
```

Opens the configured enchantment catalogue.

Permission:

```
enchantmentreform.gui
```

The permission defaults to all players.

## Custom attribute catalogue

```
/enchantmentreform attributegui
```

Shows the player's custom-attribute base values, final values, ranges, and modifiers.

Permission: `enchantmentreform.attributegui` (all players).

## Manage custom attributes

```
/enchantmentreform setattribute <player> <attribute> <value>
/enchantmentreform addattribute <player> <attribute> <delta>
/enchantmentreform addattributemodifier <player> <attribute> <modifier-id> <amount> <operation>
/enchantmentreform setattributemodifier <player> <attribute> <modifier-id> <amount> <operation>
```

The first two commands change the base value. Modifier operations are `ADD_VALUE`, `ADD_MULTIPLIED_BASE`, and `ADD_MULTIPLIED_TOTAL`. All four management permissions default to operators and use the command name after `enchantmentreform.`.

## Reload runtime files

```
/enchantmentreform reload
```

Reloads runtime-safe configuration, language, menu, and power state handled by the current implementation.

Permission:

```
enchantmentreform.reload
```

The permission defaults to operators.

{% hint style="warning" %}
Reload cannot rebuild the Minecraft enchantment registry. Adding/removing enchantments or changing registry fields still requires a full server restart.
{% endhint %}

## Generate ItemFormat

```
/enchantmentreform generateitemformat
```

Converts the item in the player's main hand to ItemFormat and writes it to `plugins/EnchantmentReform/generated-item-format.yml`. Running the command again overwrites that file.

Permission:

```
enchantmentreform.generateitemformat
```

The permission defaults to operators, and the command must be run by a player.

## Bypass permissions

| Permission                            | Purpose                                                              | Default |
| ------------------------------------- | -------------------------------------------------------------------- | ------- |
| `enchantmentreform.bypass.protection` | Allows supported block abilities to bypass protection-plugin checks. | OP      |
| `enchantmentreform.bypass.economy`    | Bypasses supported economy/item costs such as `cost_price`.          | OP      |

## Examples

```
/er gui
/enchants gui
/er reload
/er generateitemformat
```

The console may run `reload`; the GUI command requires a player.
