跳到主要内容

配置

若插件成功安装,你将会在服务端插件目录下看到一个名为 ColdEstiny 的目录,其结构如下

ColdEstiny
│ setting.yml ················ 插件配置文件
│ kether.yml ················ Kether 配置文件

├─data ······················· 玩家掉落物品数据


├─lang ······················· 语言文件
│ zh_CN.yml

└─workspace ·················· 工作空间

├─drop ··················· 掉落组

├─manager ················· 管理组

├─region ················· 区域组

├─relics ················· 遗物组

├─select ················· 选择组

配置文件

setting.yml

Options:
Debug: false
DeathInfo: true

ExampleDrop

DropGroup:
GroupKey: 'ExampleDrop'
Options:
Item:
Enable: true
Type: 'all'
Info:
- 50%
Protected:
Enable: false
Info:
- slot<->0,1,2,3,4,5,6,7,8
- lore<->本物品死亡不掉落-LORE
- nbt<->本物品死亡不掉落-NBT
Exp:
Enable: true
Type: 'range'
Info: 50%
Didnt: 5

ExampleManager

ManagerGroup:
GroupKey: 'ExampleManager'
Weigh: 100
BindGroup:
DropKey: 'ExampleDrop'
RegionKey: 'ExampleRegion'
RelicsKey: 'ExampleRelics'
SelectKey: 'ExampleSelect'
runAction:
Pre-Action: |-
tell 'Pre-Action 执行完毕'
Post-Action: |-
tell 'Post-Action 执行完毕'
SpawnPlayer:
Enable: true
Type: loc
Info: world 1 1 1
AutoSpawn:
Enable: true
Timed: 5

ExampleRegion

RegionGroup:
GroupKey: 'ExampleRegion'
Weigh: 100
Options:
Enable: false
Type: 'world'
Info:
- 'Test'
- 'Example'

ExampleDelics

RelicsGroup:
GroupKey: 'ExampleRelics'
Options:
FancyDrop:
offset:
x: 0.1
y: 1.0
angle:
type: round
timed: 20

ExampleSelect

SelectGroup:
GroupKey: 'ExampleSelect'
Weigh: 10
Options:
Enable: false
Select: 'player'
Info:
- 'Yunleah763'
- 'LittleYunleah'