> 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/enchantedmobs-zhong-wen-wen-dang/start/zhi-ling.md).

# 指令

主命令：`/enchantedmobs`\
别名：`/emobs`、`/em`

> 以下均为子命令形式：`/enchantedmobs <subcommand> ...`

### `reload`

* 重载插件配置、语言、物品、能力管理器等。

### `saveitem <id> [bukkit|itemformat]`（仅玩家）

* 保存主手物品到指定 ID。
* `bukkit` 或默认：按 Bukkit 物品保存。
* `itemformat`：按格式化物品保存。

### `givesaveitem <id> [player] [amount]`

* 发放已保存物品给自己或指定玩家。控制台需指定玩家。

### `generateitemformat`（仅玩家）

* 将主手物品导出为 `generated-item-format.yml`。

### `spawnmob <entityType> <level> <power...> [world x y z]`

* 生成指定实体并指定能力列表，可选世界与坐标。
* 控制台使用时需要坐标参数。

### `spawnrandommob <level> <entityType> [world x y z]`

* 生成指定类型实体，并按等级自动随机分配能力。
* 玩家可不填坐标默认当前位置；控制台需完整坐标。

### `power [player]`

* 查询自己或指定在线玩家战力值。

### `chunkpower`（仅玩家）

* 查询当前位置附近的平均玩家战力（用于生成强度参考）。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://enchantedmobs.superiormc.cn/enchantedmobs-zhong-wen-wen-dang/start/zhi-ling.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.
