# 指令和权限节点

### `/give` (给予玩家一个物品)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#give-give-a-player-an-item) <a href="#give-give-a-player-an-item" id="give-give-a-player-an-item"></a>

由于 EcoEnchants 是基于原版注册附魔的，因此所有原版附魔有关的指令都可以用在 EcoEnchants 上，这也包括 Essentials 或者 CMI 插件提供的 `/give` 指令。

### `/enchant` (给予玩家一个魔咒)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#enchant-give-a-player-an-enchant) <a href="#enchant-give-a-player-an-enchant" id="enchant-give-a-player-an-enchant"></a>

这也同时适用于 `/enchant` 指令。

权限节点: `ecoenchants.command.enchant`

玩家用法: `/enchant <附魔> <等级>`

控制台用法: `/enchant <玩家> <附魔> <等级>`

### `/enchantinfo` (查看指定魔咒有关信息)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#enchantinfo-get-information-description-max-level-conflicts-etc-about-an-enchant) <a href="#enchantinfo-get-information-description-max-level-conflicts-etc-about-an-enchant" id="enchantinfo-get-information-description-max-level-conflicts-etc-about-an-enchant"></a>

权限节点: `ecoenchants.command.enchantinfo`

### `/ecoenchants gui` (查看魔咒列表和某个物品可以附魔的魔咒)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#ecoenchants-gui-view-all-enchantments-that-can-be-applied-on-any-item) <a href="#ecoenchants-gui-view-all-enchantments-that-can-be-applied-on-any-item" id="ecoenchants-gui-view-all-enchantments-that-can-be-applied-on-any-item"></a>

权限节点: `ecoenchants.command.gui`

### `/ecoenchants giverandombook` (给予玩家随机的附魔书)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#ecoenchants-giverandombook-give-a-player-a-random-book) <a href="#ecoenchants-giverandombook-give-a-player-a-random-book" id="ecoenchants-giverandombook-give-a-player-a-random-book"></a>

权限节点: `ecoenchants.command.giverandombook`

通用用法: `/ecoenchants giverandombook <玩家> [类型/品质] [最小等级] [最大等级]`

示例用法: `/ecoenchants giverandombook %player% special 2 3`

### `/ecoenchants import` (从 [lrcdb](https://lrcdb.auxilor.io/) 导入魔咒)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#ecoenchants-import-import-an-enchant-from-lrcdb) <a href="#ecoenchants-import-import-an-enchant-from-lrcdb" id="ecoenchants-import-import-an-enchant-from-lrcdb"></a>

权限节点: `ecoenchants.command.import`

用法: `/ecoenchants import <ID>`

### `/ecoenchants export` (从 [lrcdb](https://lrcdb.auxilor.io/) 导出魔咒)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#ecoenchants-export-export-an-enchant-to-lrcdb) <a href="#ecoenchants-export-export-an-enchant-to-lrcdb" id="ecoenchants-export-export-an-enchant-to-lrcdb"></a>

权限节点: `ecoenchants.command.export`

用法: `/ecoenchants export <ID>`

### `/ecoenchants toggledescriptions` (让玩家切换是否显示附魔描述)[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#ecoenchants-toggledescriptions-let-players-toggle-enchantment-descriptions) <a href="#ecoenchants-toggledescriptions-let-players-toggle-enchantment-descriptions" id="ecoenchants-toggledescriptions-let-players-toggle-enchantment-descriptions"></a>

权限节点: `ecoenchants.command.toggledescriptions`

用法: `/ecoenchants toggledescriptions`

这个指令允许你的配置在开启附魔描述情况下让玩家自行决定是否要开启。

### 附魔权限节点[​](https://plugins.auxilor.io/ecoenchants/commands-and-permissions#enchantment-permissions) <a href="#enchantment-permissions" id="enchantment-permissions"></a>

玩家必须有如下权限节点才能从附魔台获取指定附魔：

```
ecoenchants.fromtable.<ID>
```

所有的附魔默认都可以从附魔台获取，也就是说玩家默认是有如下权限节点的：

```
ecoenchants.fromtable.*
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.superiormc.cn/auxilor-plugins/ecoenchants/zhi-ling-he-quan-xian-jie-dian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
