修复管理员菜单:从config.yml读取配置,添加权限过滤的Tab补全,优化代码性能

This commit is contained in:
Coldsmile_7
2026-04-14 06:01:01 +08:00
parent 5a0b867a47
commit f6364ac36b
8 changed files with 357 additions and 87 deletions
+3 -8
View File
@@ -1,6 +1,9 @@
# English Language File (en_US)
# You can customize all messages here
# Plugin prefix
prefix: "&6[EssentialsC] &r"
# Command messages
messages:
no-permission: "&cYou don't have permission to use this command!\n&7Required permission: {permission}"
@@ -14,14 +17,6 @@ messages:
vanish-enabled: "&aYou are now vanished!"
vanish-disabled: "&cYou are no longer vanished!"
seen-usage: "&cUsage: /seen <player>"
admin-menu-title: "&6EssentialsC Admin Menu"
admin-time-control: "&eTime Control"
admin-weather-control: "&eWeather Control"
admin-heal-self: "&aHeal Self"
admin-feed-self: "&aFeed Self"
admin-repair-hand: "&aRepair Hand Item"
admin-vanish: "&dVanish Mode"
admin-reload: "&dReload Plugin"
admin-time-set: "&aTime set!"
admin-weather-set: "&aWeather set!"
admin-heal-success: "&aHealed!"