feat: 完成 Paper 26.1 适配并整理配置结构
This commit is contained in:
@@ -1,22 +1,36 @@
|
||||
# English Language File (en_US)
|
||||
# You can customize all messages here
|
||||
# English language file
|
||||
|
||||
# Plugin prefix
|
||||
prefix: "&6[EssentialsC] &r"
|
||||
|
||||
# Command messages
|
||||
messages:
|
||||
no-permission: "&cYou don't have permission to use this command!\n&7Required permission: {permission}"
|
||||
player-only: "&cThis command can only be executed by players!"
|
||||
config-reloaded: "&aConfiguration reloaded."
|
||||
version: "&fEssentialsC v{version}"
|
||||
paper-version: "&7Running on Paper {version}"
|
||||
unknown-subcommand: "&cUnknown subcommand: {command}"
|
||||
help-usage: "&7Use &f/essc help &7to view available commands."
|
||||
blocks-menu-empty: "&cYou do not currently have any available shortcut menu entries."
|
||||
|
||||
hat-success: "&aYou are now wearing {item} on your head!"
|
||||
hat-failed: "&cFailed to wear item on head!"
|
||||
hat-failed: "&cFailed to wear the item on your head!"
|
||||
hat-no-item: "&cYou need to hold an item in your hand!"
|
||||
suicide-message: "&e{player} has committed suicide!"
|
||||
fly-enabled: "&aFlight mode enabled!"
|
||||
fly-disabled: "&cFlight mode disabled!"
|
||||
nightvision-enabled: "&aNight vision enabled!"
|
||||
nightvision-disabled: "&cNight vision disabled!"
|
||||
nightvision-usage: "&cUsage: /nightvision [on|off|toggle]"
|
||||
glow-enabled: "&aGlowing enabled!"
|
||||
glow-disabled: "&cGlowing disabled!"
|
||||
glow-usage: "&cUsage: /glow [on|off|toggle]"
|
||||
vanish-enabled: "&aYou are now vanished!"
|
||||
vanish-disabled: "&cYou are no longer vanished!"
|
||||
seen-usage: "&cUsage: /seen <player>"
|
||||
seen-usage-console: "&cUsage: /seen <player>"
|
||||
player-not-found: "&cPlayer not found: {player}"
|
||||
no-permission-others: "&cYou don't have permission to affect other players!"
|
||||
|
||||
anvil-opened: "&aAnvil opened!"
|
||||
enchantingtable-opened: "&aEnchanting table opened!"
|
||||
heal-self: "&aYour health and hunger have been restored!"
|
||||
@@ -31,19 +45,23 @@ messages:
|
||||
repair-no-item-in-hand: "&cYou don't have an item in your hand!"
|
||||
repair-no-items: "&cNo repairable items in inventory!"
|
||||
no-permission-repair-all: "&cYou don't have permission to repair all items!"
|
||||
player-not-found: "&cPlayer not found: {player}"
|
||||
no-permission-others: "&cYou don't have permission to heal others!"
|
||||
|
||||
# Help command
|
||||
|
||||
mobdrop-save-failed: "&cFailed to save config: {error}"
|
||||
mobdrop-toggled: "&aEnderman drops are now {status}&a."
|
||||
shulkerbox-nested: "&cYou cannot put a shulker box inside another shulker box."
|
||||
shulkerbox-unstack-first: "&cPlease unstack the shulker box before using quick open."
|
||||
jei-sync-fabric: "&6JEI-FIX&8(&bFabric&8): &eSynchronizing recipes..."
|
||||
jei-sync-neoforge: "&6JEI-FIX&8(&bNeoForge&8): &eSynchronizing recipes..."
|
||||
|
||||
help:
|
||||
title: "&6========== &eEssentialsC Help &6=========="
|
||||
version: "&7Plugin Version: &f{version}"
|
||||
section-blocks: "&6Functional Block Commands:"
|
||||
section-other: "&6Other Commands:"
|
||||
footer: "&7Permissions required for each command"
|
||||
|
||||
footer: "&7Each command requires the corresponding permission."
|
||||
|
||||
commands:
|
||||
workbench: " &f/workbench &7- Open a workbench"
|
||||
workbench: " &f/workbench &7- Open a crafting table"
|
||||
anvil: " &f/anvil &7- Open an anvil"
|
||||
enchantingtable: " &f/enchantingtable &7- Open an enchanting table"
|
||||
cartographytable: " &f/cartographytable &7- Open a cartography table"
|
||||
@@ -52,11 +70,102 @@ help:
|
||||
smithingtable: " &f/smithingtable &7- Open a smithing table"
|
||||
stonecutter: " &f/stonecutter &7- Open a stonecutter"
|
||||
enderchest: " &f/enderchest &7- Open your ender chest"
|
||||
hat: " &f/hat &7- Wear held item as a hat"
|
||||
blocks: " &f/blocks &7- Open the shortcut menu"
|
||||
hat: " &f/hat &7- Wear the held item as a hat"
|
||||
suicide: " &f/suicide &7- Commit suicide"
|
||||
fly: " &f/fly &7- Toggle flight mode"
|
||||
nightvision: " &f/nightvision &7- Toggle night vision"
|
||||
glow: " &f/glow &7- Toggle glowing"
|
||||
heal: " &f/heal &7- Restore health and hunger"
|
||||
vanish: " &f/vanish &7- Toggle vanish mode"
|
||||
seen: " &f/seen &7- View player information"
|
||||
feed: " &f/feed &7- Restore hunger"
|
||||
repair: " &f/repair &7- Repair hand or all items"
|
||||
repair: " &f/repair &7- Repair held or all items"
|
||||
admin: " &f/essc admin &7- Toggle admin mode"
|
||||
tpsbar: " &f/tpsbar [player] &7- Toggle TPS boss bar"
|
||||
|
||||
blocks-menu:
|
||||
title: "&6&lEssentialsC &8- &e&lShortcut Menu"
|
||||
items:
|
||||
workbench:
|
||||
name: "&eWorkbench"
|
||||
lore:
|
||||
- "&7/workbench"
|
||||
- "&7Open a crafting table"
|
||||
enderchest:
|
||||
name: "&eEnder Chest"
|
||||
lore:
|
||||
- "&7/enderchest"
|
||||
- "&7Open your ender chest"
|
||||
anvil:
|
||||
name: "&eAnvil"
|
||||
lore:
|
||||
- "&7/anvil"
|
||||
- "&7Open an anvil"
|
||||
grindstone:
|
||||
name: "&eGrindstone"
|
||||
lore:
|
||||
- "&7/grindstone"
|
||||
- "&7Open a grindstone"
|
||||
smithingtable:
|
||||
name: "&eSmithing Table"
|
||||
lore:
|
||||
- "&7/smithingtable"
|
||||
- "&7Open a smithing table"
|
||||
stonecutter:
|
||||
name: "&eStonecutter"
|
||||
lore:
|
||||
- "&7/stonecutter"
|
||||
- "&7Open a stonecutter"
|
||||
loom:
|
||||
name: "&eLoom"
|
||||
lore:
|
||||
- "&7/loom"
|
||||
- "&7Open a loom"
|
||||
cartographytable:
|
||||
name: "&eCartography Table"
|
||||
lore:
|
||||
- "&7/cartographytable"
|
||||
- "&7Open a cartography table"
|
||||
nightvision:
|
||||
name: "&bNight Vision"
|
||||
lore:
|
||||
- "&7/nightvision"
|
||||
- "&7Toggle night vision"
|
||||
glow:
|
||||
name: "&eGlow"
|
||||
lore:
|
||||
- "&7/glow"
|
||||
- "&7Toggle your glowing effect"
|
||||
|
||||
admin-mode:
|
||||
actionbar: "&c&lAdmin Mode"
|
||||
messages:
|
||||
enabled: "&aAdmin mode enabled, normal inventory has been saved."
|
||||
disabled: "&cAdmin mode disabled, normal inventory has been restored."
|
||||
crash-restored: "&eThe previous admin mode session has been restored safely."
|
||||
|
||||
tpsbar:
|
||||
title-format: "&eTPS&7: {tps_1m} &8| &eMSPT&7: {mspt} &8| &ePing&7: {ping}"
|
||||
messages:
|
||||
enabled-self: "&aTPSBar enabled."
|
||||
disabled-self: "&cTPSBar disabled."
|
||||
enabled-other: "&aEnabled TPSBar for {player}."
|
||||
disabled-other: "&cDisabled TPSBar for {player}."
|
||||
usage: "&cUsage: /tpsbar [player]"
|
||||
player-not-found: "&cPlayer not found: {player}"
|
||||
no-targets: "&cNo matching players were found to toggle."
|
||||
native-detected: "&7Detected a native /tpsbar command on this server, skipped plugin implementation."
|
||||
plugin-enabled: "&7No native /tpsbar command was detected, plugin implementation enabled."
|
||||
plugin-forced-but-native-exists: "&eThe configuration requests the plugin TPSBar, but a native /tpsbar already exists, so the plugin implementation was skipped to avoid conflicts."
|
||||
mode-changed-reload: "&eTPSBar mode has been updated, but command registration changes require a server restart to fully take effect."
|
||||
|
||||
mobdrops-menu:
|
||||
title: "&6&lMob Drop Control"
|
||||
status:
|
||||
enabled: "&aEnabled"
|
||||
disabled: "&cDisabled"
|
||||
enderman:
|
||||
name: "&dEnderman Drops"
|
||||
status: "&7Current status: {status}"
|
||||
toggle: "&eClick to toggle"
|
||||
|
||||
@@ -1,55 +1,65 @@
|
||||
# Chinese Language File (zh_CN)
|
||||
# 中文语言文件
|
||||
# 简体中文语言文件
|
||||
|
||||
# 插件前缀
|
||||
prefix: "&7[&6EssentialsC&7]&f:"
|
||||
prefix: "&7[&6EssentialsC&7]&f:&r"
|
||||
|
||||
# 命令消息
|
||||
messages:
|
||||
no-permission: "&c你没有权限执行此命令!\n&7需要权限: {permission}"
|
||||
player-only: "&c该命令只能由玩家执行!"
|
||||
hat-success: "&a你现在将 {item} 戴在头上!"
|
||||
hat-failed: "&c无法将物品戴在头上!"
|
||||
hat-no-item: "&c你需要在手中持有物品!"
|
||||
no-permission: "&c你没有权限执行此命令!\n&7需要权限:{permission}"
|
||||
player-only: "&c此命令只能由玩家执行!"
|
||||
config-reloaded: "&a配置已重载。"
|
||||
version: "&fEssentialsC v{version}"
|
||||
paper-version: "&7当前运行于 Paper {version}"
|
||||
unknown-subcommand: "&c未知子命令:{command}"
|
||||
help-usage: "&7使用 &f/essc help &7查看可用命令。"
|
||||
blocks-menu-empty: "&c你当前没有可用的便捷菜单项目。"
|
||||
|
||||
hat-success: "&a你已将 {item} 戴在头上!"
|
||||
hat-failed: "&c无法将该物品戴在头上!"
|
||||
hat-no-item: "&c你需要手持一个物品!"
|
||||
suicide-message: "&e{player} 自杀了!"
|
||||
fly-enabled: "&a飞行模式已启用!"
|
||||
fly-disabled: "&c飞行模式已禁用!"
|
||||
fly-enabled: "&a飞行模式已开启!"
|
||||
fly-disabled: "&c飞行模式已关闭!"
|
||||
nightvision-enabled: "&a夜视已开启!"
|
||||
nightvision-disabled: "&c夜视已关闭!"
|
||||
nightvision-usage: "&c用法:/nightvision [on|off|toggle]"
|
||||
glow-enabled: "&a发光已开启!"
|
||||
glow-disabled: "&c发光已关闭!"
|
||||
glow-usage: "&c用法:/glow [on|off|toggle]"
|
||||
vanish-enabled: "&a你已进入隐身模式!"
|
||||
vanish-disabled: "&c你已退出隐身模式!"
|
||||
seen-usage: "&c用法: /seen <玩家名>"
|
||||
seen-usage: "&c用法:/seen <玩家>"
|
||||
seen-usage-console: "&c用法:/seen <玩家>"
|
||||
player-not-found: "&c未找到玩家:{player}"
|
||||
no-permission-others: "&c你没有权限影响其他玩家!"
|
||||
|
||||
anvil-opened: "&a已打开铁砧!"
|
||||
enchantingtable-opened: "&a已打开附魔台!"
|
||||
heal-self: "&a你的生命值和饱食度已补满!"
|
||||
heal-other: "&a你已治疗了玩家 {player}!"
|
||||
heal-by-other: "&a你被管理员 {admin} 治疗了!"
|
||||
feed-self: "&a你的饱食度已补满!"
|
||||
heal-self: "&a你的生命值和饥饿值已恢复!"
|
||||
heal-other: "&a你已治疗玩家 {player}!"
|
||||
heal-by-other: "&a管理员 {admin} 治疗了你!"
|
||||
feed-self: "&a你的饥饿值已恢复!"
|
||||
feed-other: "&a你已喂饱玩家 {player}!"
|
||||
feed-by-other: "&a你被管理员 {admin} 喂饱了!"
|
||||
feed-by-other: "&a管理员 {admin} 喂饱了你!"
|
||||
repair-hand-success: "&a手中物品已修复!"
|
||||
repair-all-success: "&a已修复 {count} 件物品!"
|
||||
repair-all-success: "&a已修复 {count} 个物品!"
|
||||
repair-not-damaged: "&c该物品没有损坏!"
|
||||
repair-no-item-in-hand: "&c你手中没有物品!"
|
||||
repair-no-items: "&c背包中没有可修复的物品!"
|
||||
no-permission-repair-all: "&c你没有权限修复所有物品!"
|
||||
player-not-found: "&c未找到玩家: {player}"
|
||||
no-permission-others: "&c你没有权限治疗其他玩家!"
|
||||
seen-usage-console: "&c用法: /seen <玩家名>"
|
||||
unknown-subcommand: "&c未知子命令: {command}"
|
||||
help-usage: "&7使用 §f/essc help &7查看所有可用命令"
|
||||
mobdrop-save-failed: "&c保存配置失败: {error}"
|
||||
mobdrop-toggled: "&a末影人掉落已{status}!"
|
||||
shulkerbox-nested: "&c不能在潜影盒中放入另一个潜影盒!"
|
||||
jei-sync-fabric: "&6JEI-FIX&8(&bFabric&8):&e正在同步合成配方..."
|
||||
jei-sync-neoforge: "&6JEI-FIX&8(&bNeoForge&8):&e正在同步合成配方..."
|
||||
no-permission-repair-all: "&c你没有权限修复全部物品!"
|
||||
|
||||
mobdrop-save-failed: "&c保存配置失败:{error}"
|
||||
mobdrop-toggled: "&a末影人掉落已切换为 {status}&a。"
|
||||
shulkerbox-nested: "&c不能将潜影盒放入另一个潜影盒。"
|
||||
shulkerbox-unstack-first: "&c请先将潜影盒拆分为单个后再快捷打开。"
|
||||
jei-sync-fabric: "&6JEI-FIX&8(&bFabric&8): &e正在同步配方..."
|
||||
jei-sync-neoforge: "&6JEI-FIX&8(&bNeoForge&8): &e正在同步配方..."
|
||||
|
||||
# 帮助命令
|
||||
help:
|
||||
title: "&6========== &eEssentialsC 帮助 &6=========="
|
||||
version: "&7插件版本: &f{version}"
|
||||
section-blocks: "&6功能方块命令:"
|
||||
section-other: "&6其他功能命令:"
|
||||
footer: "&7需要权限才能使用各个命令"
|
||||
|
||||
version: "&7插件版本:&f{version}"
|
||||
section-blocks: "&6功能方块命令:"
|
||||
section-other: "&6其他命令:"
|
||||
footer: "&7每个命令都需要对应权限。"
|
||||
|
||||
commands:
|
||||
workbench: " &f/workbench &7- 打开工作台"
|
||||
anvil: " &f/anvil &7- 打开铁砧"
|
||||
@@ -60,12 +70,102 @@ help:
|
||||
smithingtable: " &f/smithingtable &7- 打开锻造台"
|
||||
stonecutter: " &f/stonecutter &7- 打开切石机"
|
||||
enderchest: " &f/enderchest &7- 打开末影箱"
|
||||
hat: " &f/hat &7- 将手中物品戴在头上"
|
||||
blocks: " &f/blocks &7- 打开便捷菜单"
|
||||
hat: " &f/hat &7- 将手持物品戴在头上"
|
||||
suicide: " &f/suicide &7- 自杀"
|
||||
fly: " &f/fly &7- 切换飞行模式"
|
||||
heal: " &f/heal &7- 恢复生命值和饱食度"
|
||||
nightvision: " &f/nightvision &7- 切换夜视"
|
||||
glow: " &f/glow &7- 切换发光"
|
||||
heal: " &f/heal &7- 恢复生命值和饥饿值"
|
||||
vanish: " &f/vanish &7- 切换隐身模式"
|
||||
seen: " &f/seen &7- 查看玩家信息"
|
||||
feed: " &f/feed &7- 补满饱食度"
|
||||
repair: " &f/repair &7- 修复手中或所有物品"
|
||||
blocks: " &f/blocks &7- 打开功能方块菜单"
|
||||
feed: " &f/feed &7- 恢复饥饿值"
|
||||
repair: " &f/repair &7- 修复手中或全部物品"
|
||||
admin: " &f/essc admin &7- 切换管理模式"
|
||||
tpsbar: " &f/tpsbar [玩家] &7- 切换 TPS 状态栏"
|
||||
|
||||
blocks-menu:
|
||||
title: "&6&lEssentialsC &8- &e&l便捷菜单"
|
||||
items:
|
||||
workbench:
|
||||
name: "&e工作台"
|
||||
lore:
|
||||
- "&7/workbench"
|
||||
- "&7打开工作台"
|
||||
enderchest:
|
||||
name: "&e末影箱"
|
||||
lore:
|
||||
- "&7/enderchest"
|
||||
- "&7打开末影箱"
|
||||
anvil:
|
||||
name: "&e铁砧"
|
||||
lore:
|
||||
- "&7/anvil"
|
||||
- "&7打开铁砧"
|
||||
grindstone:
|
||||
name: "&e砂轮"
|
||||
lore:
|
||||
- "&7/grindstone"
|
||||
- "&7打开砂轮"
|
||||
smithingtable:
|
||||
name: "&e锻造台"
|
||||
lore:
|
||||
- "&7/smithingtable"
|
||||
- "&7打开锻造台"
|
||||
stonecutter:
|
||||
name: "&e切石机"
|
||||
lore:
|
||||
- "&7/stonecutter"
|
||||
- "&7打开切石机"
|
||||
loom:
|
||||
name: "&e织布机"
|
||||
lore:
|
||||
- "&7/loom"
|
||||
- "&7打开织布机"
|
||||
cartographytable:
|
||||
name: "&e制图台"
|
||||
lore:
|
||||
- "&7/cartographytable"
|
||||
- "&7打开制图台"
|
||||
nightvision:
|
||||
name: "&b夜视开关"
|
||||
lore:
|
||||
- "&7/nightvision"
|
||||
- "&7切换夜视效果"
|
||||
glow:
|
||||
name: "&e发光开关"
|
||||
lore:
|
||||
- "&7/glow"
|
||||
- "&7切换自身发光效果"
|
||||
|
||||
admin-mode:
|
||||
actionbar: "&c&l管理模式"
|
||||
messages:
|
||||
enabled: "&a管理模式已开启,普通背包已保存。"
|
||||
disabled: "&c管理模式已关闭,普通背包已恢复。"
|
||||
crash-restored: "&e上一次管理模式会话已安全恢复。"
|
||||
|
||||
tpsbar:
|
||||
title-format: "&eTPS&7: {tps_1m} &8| &eMSPT&7: {mspt} &8| &ePing&7: {ping}"
|
||||
messages:
|
||||
enabled-self: "&a已开启 TPSBar。"
|
||||
disabled-self: "&c已关闭 TPSBar。"
|
||||
enabled-other: "&a已为 {player} 开启 TPSBar。"
|
||||
disabled-other: "&c已为 {player} 关闭 TPSBar。"
|
||||
usage: "&c用法:/tpsbar [玩家]"
|
||||
player-not-found: "&c未找到玩家:{player}"
|
||||
no-targets: "&c没有匹配到可切换的玩家。"
|
||||
native-detected: "&7检测到服务端已内置 /tpsbar,已跳过插件实现。"
|
||||
plugin-enabled: "&7未检测到服务端内置 /tpsbar,已启用插件实现。"
|
||||
plugin-forced-but-native-exists: "&e配置要求启用插件版 TPSBar,但服务端已存在原生 /tpsbar,已跳过插件实现以避免冲突。"
|
||||
mode-changed-reload: "&eTPSBar 模式已更新,但命令注册状态需要重启服务器后才会完全生效。"
|
||||
|
||||
mobdrops-menu:
|
||||
title: "&6&l生物掉落控制"
|
||||
status:
|
||||
enabled: "&a开启"
|
||||
disabled: "&c关闭"
|
||||
enderman:
|
||||
name: "&d末影人掉落"
|
||||
status: "&7当前状态:{status}"
|
||||
toggle: "&e点击切换"
|
||||
|
||||
Reference in New Issue
Block a user