> For the complete documentation index, see [llms.txt](https://chaoss-organization.gitbook.io/chaosdungeon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoss-organization.gitbook.io/chaosdungeon/fu-ben-chuang-jian-liu-cheng/pei-zhi-shuo-ming.md).

# 配置说明

下面是每个配置文件的详细说明

### 配置文件路径

全局配置文件config

./plugins/ChaosDungeon/config.yml

副本列表dunlist (请勿做任何编辑修改,除非你知道修改后会有哪些影响)

./plugins/ChaosDungeon/dunlist.yml

每个副本的配置文件夹

./plugins/ChaosDungeon/NormalDungeons

在这个文件夹下,会储存每个创建的副本的所有配置.

下面详细说说如何进行副本本体和副本模板的编辑

1. 副本本体

对于副本本体,只需要编辑此副本的一些属性. 无需编辑每个副本实例. 这些实例将由应用指令完成

可编辑的配置属性:

```yaml
#副本id 切勿修改
ID: 1
#副本内部名. 创建副本时,使用的名字. 可作为内部交流使用. 一般不建议修改.如果要修改,需要连带dunlist.yml一同修改
name: test1
#副本显示名. 
DisplayName: §b§o第一个演示副本的显示名,可随意修改
#副本时间限制. 单位:分钟
TimeLimit: 60
#副本所在的世界名. 请在创建完成后,将这里修改为需要的世界名.
worldName: world
#副本的退出点. 在结束副本后,玩家将传送的位置. 如果不写此项,则默认引用config.yml文件中的安全坐标
quitLocation: world;-261;70;-197;0.0;0.0
#副本实例的配置. 请勿做任何手动修改. 此项由应用指令自动配置
SubDungeon: 
```

2. 副本模板

```yaml
test1:
  ==: chaoscraft.chaosdungeon.dungeon.normaldungeon.NormalVectorSubDungeon
  NormalDungeon: 1
  #副本原点坐标 请勿修改
  center:
    ==: org.bukkit.Location
    world: world
    x: -263.0
    y: 65.0
    z: -176.0
    pitch: 0.0
    yaw: 0.0
  #副本出生点坐标 请勿修改
  spawn:
    ==: BlockVector
    x: 0.0
    y: 0.0
    z: 0.0
  pitch: 0.0
  yaw: 0.0
  #副本脚本 所有副本流程均在此处配置. 如果只是做一个常规的刷怪脚本流程,将非常简单容易
  #请查看已准备好的副本演示用配置的例子 文件中有详细的写法示例和副本演示地图,可直接进游戏内体验副本
  script: 
  #额外的出生点. 当队伍中玩家超过1时,额外玩家将依次传送至此处设置的位置.防止挤到一块.不需要此功能的话不管就行
  exSpawn: []
  #怪物组的设置由 /vdun 指令完成
  #怪物组的配置 将在/dun save 保存时自动生成
  mobgroups: {}
```

{% file src="/files/lxIsrzovlH3c1iUUUQy4" %}

编辑配置后 可直接使用 /dun load 指令加载相应的副本完成重载,无需重启.

注意: 修改副本模板后,需重新应用成实例才会在游戏内生效.&#x20;

在制作副本时可能频繁进行修改.&#x20;

流程如下:  修改配置 > dun load加载副本 > 应用实例 > dun save保存副本

演示副本的应用指令如下:

副本1 : /dun apply 1 -263;65;-176 -27;0;0 3

副本2: /dun apply 2 -267;67;-103 -26;0;0 3


---

# 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://chaoss-organization.gitbook.io/chaosdungeon/fu-ben-chuang-jian-liu-cheng/pei-zhi-shuo-ming.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.
