> 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/zhun-bei.md).

# 准备

要在你的服务器上运行 **EnchantedMobs**，您必须满足以下条件：

* 您的服务器的 **Java** 版本必须高于 **Java 16**。
* 您的服务器版本必须高于 **1.21.3**。
* 您的服务器软件必须是 **Paper** 或者其他声称不破坏 **Paper API** 的下游分支。

{% hint style="info" %}
”高于“ 指大于等于对应的版本号。

Spigot 服务器软件可以加载插件，但一些功能存在缺陷，且插件消耗的性能会提高。

Folia 服务器软件不能运行本插件。
{% endhint %}

### 安装

* 从官方发布的网站上下载插件。插件文件名称应该是 **EnchantedMobs-X.X.X.jar**。其中，X 代表版本号，其可能是任意数字。
* 无论如何，您都应该积极将插件更新到最新版本。
* 为防止插件将您的配置文件破坏导致无法再被读取，插件不会自动更新配置文件，您可以根据最新版本的默认配置手动更改更新之间的配置差异，或者重新生成新的配置文件。
* 每次更新前，都应该仔细阅读更新日志，如果跳过多个版本更新，那么您应该仔细阅读在此期间的所有的版本的更新日志。如果插件有重大变化，会在更新日志中写明。

### 配置文件

**EnchantedMobs** 不是模组，因此，你需要通过修改配置文件来实现你想要的功能，而不是直接安装插件后弃之不顾。首次启动后，你可以在 `plugins/EnchantedMobs` 文件夹内发现以下文件：

* `items` 文件夹：储存插件已保存的物品的文件夹。
* `languages` 文件夹：储存插件各种语言对应消息的文件夹。

这两个文件夹都不怎么重要，接下来的文件需要重点关注：

* `powers` 文件夹：储存插件已创建的能力的文件夹。
* `config.yml` 文件：储存插件通用配置的文件。
* `player-power.yml` 文件：储存玩家战力计算方式的文件。

{% hint style="info" %}
本文档以 **1.21.11** 游戏版本为介绍对象，部分内容可能在低于这个游戏版本上存在差异。
{% endhint %}


---

# 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/zhun-bei.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.
