This repository has been archived on 2024-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Dominion/src/main/resources/config.yml
zhangyuheng 1eb31e2ce5
All checks were successful
Java CI-CD with Maven / build (push) Successful in 26m49s
管理员可通过游戏内TUI实现领地系统配置
2024-05-10 13:22:48 +08:00

51 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Database:
Type: sqlite # pgsql, sqlite
Host: localhost
Port: 5432
Name: dominion
User: dominion
Pass: dominion
# 自动圈地大小
AutoCreateRadius: 10 #-1 表示不开启
Limit:
MinY: -64 # 最小Y坐标
MaxY: 320 # 最大Y坐标
SizeX: 128 # X方向最大长度 -1表示不限制
SizeY: 64 # Y方向最大长度 -1表示不限制
SizeZ: 128 # Z方向最大长度 -1表示不限制
Amount: 10 # 最大领地数量 -1表示不限制
Depth: 3 # 子领地深度 0不允许子领地 -1不限制
Vert: false # 是否自动延伸到 MaxY 和 MinY
WorldBlackList: [ ] # 不允许领地的世界
OpByPass: true # 是否允许OP无视领地限制
Teleport:
Enable: true
# 传送延迟 秒
Delay: 0
# 冷却时间 秒
CoolDown: 0
# 自动清理长时间未上线玩家的领地
AutoCleanAfterDays: 180 # -1 表示不开启
# 圈地工具
Tool: ARROW
# 经济系统 - 需要安装Vault插件
Economy:
Enable: false
# 单价 - 每方块
Price: 10.0
# 是否只计算xz平面积
OnlyXZ: false
# 删除领地退还比例
Refund: 0.85
BlueMap: true
CheckUpdate: true
Debug: false