1.0.1:Fix bug:[21:01:10 INFO]: [PBL] §a========================================

[21:01:10 INFO]: [PBL] §ePlayerBlockLife v1.0.1-1.20.4 已启用
              [21:01:10 INFO]: [PBL] §e作者: [YourName]
              [21:01:10 INFO]: [PBL] §a========================================
This commit is contained in:
xiaobai
2026-02-13 22:03:17 +08:00
parent f899540449
commit 8b502459b0
10 changed files with 737 additions and 138 deletions

View File

@@ -70,13 +70,62 @@ protection:
# 是否保护生命方块不被活塞推动
protect_from_pistons: true
# 消息配置(可选,插件会使用默认消息)
# 自动生成设置
auto-generation:
# 玩家加入时是否自动生成生命方块
enabled: true
# 生成位置要求:上方无方块覆盖的地表
require_open_sky: true
# 最大尝试次数(如果找不到合适位置)
max_attempts: 50
# 生成失败时的处理方式 (none, notify, teleport_to_spawn)
on_failure: notify
# 命令启用配置
commands:
# setlifeblocks 命令
setlifeblocks:
enabled: true
# 是否允许玩家自己使用
allow_self_use: true
# 是否允许管理员为其他玩家设置
allow_admin_use: true
# checklifeblocks 命令
checklifeblocks:
enabled: true
# 是否允许玩家自己查看
allow_self_use: true
# 是否允许管理员查看其他玩家
allow_admin_use: true
# pblreload 命令
pblreload:
enabled: true
# 仅限管理员使用
admin_only: true
# pbldelete 命令
pbldelete:
enabled: true
# 仅限管理员使用
admin_only: true
# pblrevive 命令
pblrevive:
enabled: true
# 仅限管理员使用
admin_only: true
# pblstats 命令
pblstats:
enabled: true
# 仅限管理员使用
admin_only: true
# 消息配置(现在使用独立的 messages.yml 文件)
messages:
commands:
setlifeblocks:
success: "&a已为你生成 {blocks} 个生命方块!"
already_has: "&c你已经有生命方块了使用 /checklifeblocks 查看位置"
game:
block_destroyed:
owner: "&c⚠ 警告!你的生命方块被 {breaker} 破坏了!"
breaker: "&a你破坏了 {owner} 的生命方块!"
# 是否启用独立的消息文件
use_external_file: true
# 外部消息文件名称
external_file: "messages.yml"