2.2.0-1.20.4
将生命方块由玩家头换为其他原版多颜色方块
This commit is contained in:
108
build/resources/main/messages.yml
Normal file
108
build/resources/main/messages.yml
Normal file
@@ -0,0 +1,108 @@
|
||||
# PlayerBlockLife 消息配置文件
|
||||
# 所有插件输出消息都可以在这里自定义
|
||||
|
||||
# 控制台消息
|
||||
console:
|
||||
plugin_enabled: "&a[PlayerBlockLife] 插件已启用!版本: {version}"
|
||||
plugin_disabled: "&c[PlayerBlockLife] 插件已禁用!"
|
||||
config_reloaded: "&a[PlayerBlockLife] 配置已重载!"
|
||||
player_joined: "&a[PlayerBlockLife] 玩家 {player} 已加入,正在生成生命方块..."
|
||||
blocks_generated: "&a[PlayerBlockLife] 已为玩家 {player} 生成 {amount} 个生命方块"
|
||||
player_eliminated: "&c[PlayerBlockLife] 玩家 {player} 的生命方块已被挖光,已被淘汰!"
|
||||
error_generating_blocks: "&c[PlayerBlockLife] 为玩家 {player} 生成生命方块时出错: {error}"
|
||||
|
||||
# 游戏内消息
|
||||
game:
|
||||
# 方块相关
|
||||
block:
|
||||
destroyed:
|
||||
owner: "&c⚠ 警告!你的生命方块被 {breaker} 破坏了!剩余: {remaining}/{total}"
|
||||
breaker: "&a你破坏了 {owner} 的生命方块!"
|
||||
all_destroyed: "&c☠ 你的所有生命方块已被破坏!你已被淘汰!"
|
||||
placed: "&a已为你生成 {amount} 个生命方块!"
|
||||
check_location: "&e你的生命方块位置:"
|
||||
location_item: "&7- {world} ({x}, {y}, {z})"
|
||||
no_blocks: "&c你还没有生命方块!"
|
||||
|
||||
# 玩家状态
|
||||
player:
|
||||
eliminated: "&c玩家 {player} 已被淘汰!"
|
||||
revived: "&a玩家 {player} 已被复活!"
|
||||
already_eliminated: "&c玩家 {player} 已被淘汰,无法执行此操作!"
|
||||
not_eliminated: "&c玩家 {player} 未被淘汰!"
|
||||
|
||||
# 错误消息
|
||||
errors:
|
||||
no_permission: "&c你没有权限使用此命令!"
|
||||
player_not_found: "&c玩家 {player} 未找到!"
|
||||
player_offline: "&c玩家 {player} 不在线!"
|
||||
invalid_arguments: "&c参数无效!用法: {usage}"
|
||||
command_disabled: "&c此命令已被禁用!"
|
||||
world_not_found: "&c世界 {world} 未找到!"
|
||||
cannot_generate_blocks: "&c无法生成生命方块:{reason}"
|
||||
internal_error: "&c发生内部错误,请联系管理员!"
|
||||
|
||||
# 成功消息
|
||||
success:
|
||||
blocks_reset: "&a已重置你的生命方块!"
|
||||
blocks_deleted: "&a已删除玩家 {player} 的生命方块!"
|
||||
config_reloaded: "&a配置已重载!"
|
||||
player_revived: "&a玩家 {player} 已复活!"
|
||||
|
||||
# 命令消息
|
||||
commands:
|
||||
setlifeblocks:
|
||||
success: "&a已为你生成 {blocks} 个生命方块!"
|
||||
already_has: "&c你已经有生命方块了!使用 /checklifeblocks 查看位置"
|
||||
help: |
|
||||
&6=== PlayerBlockLife 帮助 ===
|
||||
&e/setlifeblocks &7- 设置你的生命方块
|
||||
&e/setlifeblocks reset &7- 重置生命方块位置
|
||||
&e/setlifeblocks other <玩家> &7- 为其他玩家设置(管理员)
|
||||
&e/setlifeblocks help &7- 显示此帮助
|
||||
usage: "&c用法: /setlifeblocks [reset|other|help]"
|
||||
|
||||
checklifeblocks:
|
||||
success: "&e你的生命方块位置:"
|
||||
no_blocks: "&c你还没有生命方块!"
|
||||
usage: "&c用法: /checklifeblocks"
|
||||
|
||||
pblreload:
|
||||
success: "&a配置已重载!"
|
||||
usage: "&c用法: /pblreload"
|
||||
|
||||
pbldelete:
|
||||
success: "&a已删除玩家 {player} 的生命方块!"
|
||||
usage: "&c用法: /pbldelete <玩家>"
|
||||
|
||||
pblrevive:
|
||||
success: "&a玩家 {player} 已复活!"
|
||||
usage: "&c用法: /pblrevive [玩家]"
|
||||
|
||||
pblstats:
|
||||
title: "&6=== PlayerBlockLife 统计 ==="
|
||||
online_players: "&e在线玩家: {count}"
|
||||
total_blocks: "&e总生命方块: {count}"
|
||||
eliminated_players: "&e已淘汰玩家: {count}"
|
||||
usage: "&c用法: /pblstats"
|
||||
|
||||
# 广播消息
|
||||
broadcast:
|
||||
block_destroyed: "&6{breaker} &7破坏了 &c{owner} &7的生命方块!"
|
||||
player_eliminated: "&c☠ {player} &7的生命方块已被挖光,已被淘汰!"
|
||||
player_revived: "&a✨ {player} &7已被复活!"
|
||||
|
||||
# 变量说明
|
||||
# {player} - 玩家名称
|
||||
# {breaker} - 破坏者名称
|
||||
# {owner} - 方块所有者名称
|
||||
# {amount} - 方块数量
|
||||
# {remaining} - 剩余方块数量
|
||||
# {total} - 总方块数量
|
||||
# {x}, {y}, {z} - 坐标
|
||||
# {world} - 世界名称
|
||||
# {version} - 插件版本
|
||||
# {error} - 错误信息
|
||||
# {reason} - 原因
|
||||
# {count} - 计数
|
||||
# {usage} - 命令用法
|
||||
Reference in New Issue
Block a user