# PlayerBlockLife 配置文件 config-version: 1 # 方块设置 blocks: # 每个玩家的生命方块数量 amount: 5 # 方块生成范围(以玩家为中心的正方形边长的一半) spread: 5 # 方块埋藏深度(0为地面,负数为地下) depth: -1 # 方块材质类型 material: player_head # 游戏规则 game: # 方块被挖光时是否死亡 die_when_blocks_gone: true # 死亡后是否变成观察者 become_spectator: true # 是否启用生命值系统 health_system: true # 广播设置 broadcast: # 方块被破坏时是否广播 on_block_break: true # 广播范围(格数) range: 30 # 玩家死亡时是否全服广播 on_player_death: true # 挖掘奖励 break_rewards: # 是否给予经验 give_exp: true # 经验数量 exp_amount: 5 # 皮肤系统 skin: # 是否启用皮肤系统 enabled: true # 皮肤来源 (player_profile, local_cache) source: player_profile # 缓存设置 cache: # 缓存过期时间(天) expire_days: 7 # 数据存储 storage: # 存储类型 (yaml, json, sqlite) type: yaml # 自动保存 auto_save: # 是否启用自动保存 enabled: true # 保存间隔(秒) interval: 300 # 保护设置 protection: # 是否保护生命方块不被爆炸破坏 protect_from_explosions: true # 是否保护生命方块不被火焰烧毁 protect_from_fire: true # 是否保护生命方块不被活塞推动 protect_from_pistons: true # 消息配置(可选,插件会使用默认消息) messages: commands: setlifeblocks: success: "&a已为你生成 {blocks} 个生命方块!" already_has: "&c你已经有生命方块了!使用 /checklifeblocks 查看位置" game: block_destroyed: owner: "&c⚠ 警告!你的生命方块被 {breaker} 破坏了!" breaker: "&a你破坏了 {owner} 的生命方块!"