feat: 添加潜影盒快捷打开和末影箱自定义标题功能

This commit is contained in:
Coldsmile_7
2026-04-15 00:55:31 +08:00
parent f6364ac36b
commit cc07647551
62 changed files with 15171 additions and 304 deletions
+65 -38
View File
@@ -10,51 +10,78 @@ settings:
# 启用或禁用命令反馈消息
enable-feedback: true
# 管理员菜单配置
admin-menu:
title: "&6EssentialsC 管理菜单"
# 功能方块菜单配置
blocks-menu:
title: "&6&lEssentialsC &8- &e&l功能方块菜单"
items:
time-control:
workbench:
slot: 10
material: CLOCK
name: "&e时间控制"
material: CRAFTING_TABLE
name: "&e工作台"
lore:
- "&7左键: 设为白天"
- "&7右键: 设为夜晚"
weather-control:
- "&7/workbench"
- "&7打开工作台"
permission: essentialsc.command.workbench
anvil:
slot: 11
material: SUNFLOWER
name: "&e天气控制"
lore:
- "&7左键: 晴天"
- "&7右键: 雨天"
heal-self:
slot: 13
material: GOLDEN_APPLE
name: "&a治疗自己"
lore:
- "&7补满生命值和饱食度"
feed-self:
slot: 14
material: BREAD
name: "&6喂饱自己"
lore:
- "&7补满饱食度"
repair-hand:
slot: 15
material: ANVIL
name: "&b修复手持物品"
name: "&e铁砧"
lore:
- "&7修复当前手持物品"
vanish:
- "&7/anvil"
- "&7打开铁砧"
permission: essentialsc.command.anvil
cartographytable:
slot: 19
material: CARTOGRAPHY_TABLE
name: "&e制图台"
lore:
- "&7/cartographytable"
- "&7打开制图台"
permission: essentialsc.command.cartographytable
grindstone:
slot: 20
material: GRINDSTONE
name: "&e砂轮"
lore:
- "&7/grindstone"
- "&7打开砂轮"
permission: essentialsc.command.grindstone
loom:
slot: 21
material: ENDER_PEARL
name: "&d隐身模式"
material: LOOM
name: "&e织布机"
lore:
- "&7点击切换隐身状态"
reload:
- "&7/loom"
- "&7打开织布机"
permission: essentialsc.command.loom
smithingtable:
slot: 22
material: BOOK
name: "&c重载配置"
material: SMITHING_TABLE
name: "&e锻造台"
lore:
- "&7重新加载配置文件"
- "&7/smithingtable"
- "&7打开锻造台"
permission: essentialsc.command.smithingtable
stonecutter:
slot: 23
material: STONECUTTER
name: "&e切石机"
lore:
- "&7/stonecutter"
- "&7打开切石机"
permission: essentialsc.command.stonecutter
enderchest:
slot: 31
material: ENDER_CHEST
name: "&e末影箱"
lore:
- "&7/enderchest"
- "&7打开末影箱"
permission: essentialsc.command.enderchest
# 潜影盒设置
shulkerbox:
# 潜影盒默认标题(当潜影盒没有自定义名称时使用)
# 支持颜色代码(使用 & 符号)
# 留空则使用 "Shulker Box"(客户端语言)
default-title: "&e潜影盒"
-7
View File
@@ -17,12 +17,6 @@ messages:
vanish-enabled: "&aYou are now vanished!"
vanish-disabled: "&cYou are no longer vanished!"
seen-usage: "&cUsage: /seen <player>"
admin-time-set: "&aTime set!"
admin-weather-set: "&aWeather set!"
admin-heal-success: "&aHealed!"
admin-feed-success: "&aFed!"
admin-repair-success: "&aRepaired!"
admin-reload-success: "&aConfig reloaded!"
anvil-opened: "&aAnvil opened!"
enchantingtable-opened: "&aEnchanting table opened!"
heal-self: "&aYour health and hunger have been restored!"
@@ -64,6 +58,5 @@ help:
heal: " &f/heal &7- Restore health and hunger"
vanish: " &f/vanish &7- Toggle vanish mode"
seen: " &f/seen &7- View player information"
admin: " &f/admin &7- Open admin menu"
feed: " &f/feed &7- Restore hunger"
repair: " &f/repair &7- Repair hand or all items"
+1 -8
View File
@@ -17,13 +17,6 @@ messages:
vanish-enabled: "&a你已进入隐身模式!"
vanish-disabled: "&c你已退出隐身模式!"
seen-usage: "&c用法: /seen <玩家名>"
# 管理员菜单操作提示
admin-time-set: "&a时间已设置!"
admin-weather-set: "&a天气已设置!"
admin-heal-success: "&a已治疗!"
admin-feed-success: "&a已喂饱!"
admin-repair-success: "&a已修复!"
admin-reload-success: "&a配置已重载!"
anvil-opened: "&a已打开铁砧!"
enchantingtable-opened: "&a已打开附魔台!"
heal-self: "&a你的生命值和饱食度已补满!"
@@ -65,6 +58,6 @@ help:
heal: " &f/heal &7- 恢复生命值和饱食度"
vanish: " &f/vanish &7- 切换隐身模式"
seen: " &f/seen &7- 查看玩家信息"
admin: " &f/admin &7- 打开管理菜单"
feed: " &f/feed &7- 补满饱食度"
repair: " &f/repair &7- 修复手中或所有物品"
blocks: " &f/blocks &7- 打开功能方块菜单"
+7 -4
View File
@@ -55,21 +55,24 @@ permissions:
essentialsc.command.seen:
description: Allows use of /seen command
default: op
essentialsc.command.admin:
description: Allows use of /admin command
default: op
essentialsc.command.feed:
description: Allows use of /feed command
default: op
essentialsc.command.repair:
description: Allows use of /repair command
default: op
essentialsc.command.blocks:
description: Allows use of /essc blocks command
default: true
essentialsc.command.help:
description: Allows use of /essentialsc help command
default: true
essentialsc.command.reload:
description: Allows use of /essc reload command
default: op
essentialsc.shulkerbox.open:
description: Allows right-click to open shulker boxes without placing them
default: op
essentialsc.*:
description: All EssentialsC permissions
default: false
@@ -89,8 +92,8 @@ permissions:
essentialsc.command.heal: true
essentialsc.command.vanish: true
essentialsc.command.seen: true
essentialsc.command.admin: true
essentialsc.command.reload: true
essentialsc.command.feed: true
essentialsc.command.repair: true
essentialsc.command.help: true
essentialsc.shulkerbox.open: true