Initial commit: EssentialsC v1.1.0
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# EssentialsC 配置文件
|
||||
# 你可以编辑此文件来自定义插件行为
|
||||
|
||||
# 语言设置
|
||||
# 可用语言: en_US, zh_CN (你可以添加更多)
|
||||
language: "zh_CN"
|
||||
|
||||
# 通用设置
|
||||
settings:
|
||||
# 启用或禁用命令反馈消息
|
||||
enable-feedback: true
|
||||
|
||||
# 所有插件消息的前缀
|
||||
message-prefix: "&6[EssentialsC] &r"
|
||||
@@ -0,0 +1,74 @@
|
||||
# English Language File (en_US)
|
||||
# You can customize all messages here
|
||||
|
||||
# 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!"
|
||||
hat-success: "&aYou are now wearing {item} on your head!"
|
||||
hat-failed: "&cFailed to wear item on 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!"
|
||||
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!"
|
||||
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!"
|
||||
heal-other: "&aYou have healed player {player}!"
|
||||
heal-by-other: "&aYou have been healed by admin {admin}!"
|
||||
feed-self: "&aYour hunger has been restored!"
|
||||
feed-other: "&aYou have fed player {player}!"
|
||||
feed-by-other: "&aYou have been fed by admin {admin}!"
|
||||
repair-hand-success: "&aItem in hand repaired!"
|
||||
repair-all-success: "&aRepaired {count} items!"
|
||||
repair-not-damaged: "&cThis item is not damaged!"
|
||||
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
|
||||
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"
|
||||
|
||||
commands:
|
||||
workbench: " &f/workbench &7- Open a workbench"
|
||||
anvil: " &f/anvil &7- Open an anvil"
|
||||
enchantingtable: " &f/enchantingtable &7- Open an enchanting table"
|
||||
cartographytable: " &f/cartographytable &7- Open a cartography table"
|
||||
grindstone: " &f/grindstone &7- Open a grindstone"
|
||||
loom: " &f/loom &7- Open a loom"
|
||||
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"
|
||||
suicide: " &f/suicide &7- Commit suicide"
|
||||
fly: " &f/fly &7- Toggle flight mode"
|
||||
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"
|
||||
@@ -0,0 +1,74 @@
|
||||
# Chinese Language File (zh_CN)
|
||||
# 中文语言文件
|
||||
|
||||
# 命令消息
|
||||
messages:
|
||||
no-permission: "&c你没有权限执行此命令!\n&7需要权限: {permission}"
|
||||
player-only: "&c该命令只能由玩家执行!"
|
||||
hat-success: "&a你现在将 {item} 戴在头上!"
|
||||
hat-failed: "&c无法将物品戴在头上!"
|
||||
hat-no-item: "&c你需要在手中持有物品!"
|
||||
suicide-message: "&e{player} 自杀了!"
|
||||
fly-enabled: "&a飞行模式已启用!"
|
||||
fly-disabled: "&c飞行模式已禁用!"
|
||||
vanish-enabled: "&a你已进入隐身模式!"
|
||||
vanish-disabled: "&c你已退出隐身模式!"
|
||||
seen-usage: "&c用法: /seen <玩家名>"
|
||||
admin-menu-title: "&6EssentialsC 管理菜单"
|
||||
admin-time-control: "&e时间控制"
|
||||
admin-weather-control: "&e天气控制"
|
||||
admin-heal-self: "&a治疗自己"
|
||||
admin-feed-self: "&a喂饱自己"
|
||||
admin-repair-hand: "&a修复手中物品"
|
||||
admin-vanish: "&d隐身模式"
|
||||
admin-reload: "&d重载插件"
|
||||
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你的生命值和饱食度已补满!"
|
||||
heal-other: "&a你已治疗了玩家 {player}!"
|
||||
heal-by-other: "&a你被管理员 {admin} 治疗了!"
|
||||
feed-self: "&a你的饱食度已补满!"
|
||||
feed-other: "&a你已喂饱玩家 {player}!"
|
||||
feed-by-other: "&a你被管理员 {admin} 喂饱了!"
|
||||
repair-hand-success: "&a手中物品已修复!"
|
||||
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你没有权限治疗其他玩家!"
|
||||
|
||||
# 帮助命令
|
||||
help:
|
||||
title: "&6========== &eEssentialsC 帮助 &6=========="
|
||||
version: "&7插件版本: &f{version}"
|
||||
section-blocks: "&6功能方块命令:"
|
||||
section-other: "&6其他功能命令:"
|
||||
footer: "&7需要权限才能使用各个命令"
|
||||
|
||||
commands:
|
||||
workbench: " &f/workbench &7- 打开工作台"
|
||||
anvil: " &f/anvil &7- 打开铁砧"
|
||||
enchantingtable: " &f/enchantingtable &7- 打开附魔台"
|
||||
cartographytable: " &f/cartographytable &7- 打开制图台"
|
||||
grindstone: " &f/grindstone &7- 打开砂轮"
|
||||
loom: " &f/loom &7- 打开织布机"
|
||||
smithingtable: " &f/smithingtable &7- 打开锻造台"
|
||||
stonecutter: " &f/stonecutter &7- 打开切石机"
|
||||
enderchest: " &f/enderchest &7- 打开末影箱"
|
||||
hat: " &f/hat &7- 将手中物品戴在头上"
|
||||
suicide: " &f/suicide &7- 自杀"
|
||||
fly: " &f/fly &7- 切换飞行模式"
|
||||
heal: " &f/heal &7- 恢复生命值和饱食度"
|
||||
vanish: " &f/vanish &7- 切换隐身模式"
|
||||
seen: " &f/seen &7- 查看玩家信息"
|
||||
admin: " &f/admin &7- 打开管理菜单"
|
||||
feed: " &f/feed &7- 补满饱食度"
|
||||
repair: " &f/repair &7- 修复手中或所有物品"
|
||||
@@ -0,0 +1,92 @@
|
||||
name: EssentialsC
|
||||
description: A CMI-like essentials plugin for Paper servers
|
||||
version: '${version}'
|
||||
|
||||
main: cn.infstar.essentialsC.EssentialsC
|
||||
api-version: '1.21'
|
||||
load: POSTWORLD
|
||||
|
||||
authors: [ Coldsmiles_7 ]
|
||||
website: www.infstar.cn
|
||||
|
||||
permissions:
|
||||
essentialsc.command.workbench:
|
||||
description: Allows use of /workbench command
|
||||
default: op
|
||||
essentialsc.command.anvil:
|
||||
description: Allows use of /anvil command
|
||||
default: op
|
||||
essentialsc.command.enchantingtable:
|
||||
description: Allows use of /enchantingtable command
|
||||
default: op
|
||||
essentialsc.command.cartographytable:
|
||||
description: Allows use of /cartographytable command
|
||||
default: op
|
||||
essentialsc.command.grindstone:
|
||||
description: Allows use of /grindstone command
|
||||
default: op
|
||||
essentialsc.command.loom:
|
||||
description: Allows use of /loom command
|
||||
default: op
|
||||
essentialsc.command.smithingtable:
|
||||
description: Allows use of /smithingtable command
|
||||
default: op
|
||||
essentialsc.command.stonecutter:
|
||||
description: Allows use of /stonecutter command
|
||||
default: op
|
||||
essentialsc.command.enderchest:
|
||||
description: Allows use of /enderchest command
|
||||
default: op
|
||||
essentialsc.command.hat:
|
||||
description: Allows use of /hat command
|
||||
default: op
|
||||
essentialsc.command.suicide:
|
||||
description: Allows use of /suicide command
|
||||
default: op
|
||||
essentialsc.command.fly:
|
||||
description: Allows use of /fly command
|
||||
default: op
|
||||
essentialsc.command.heal:
|
||||
description: Allows use of /heal command
|
||||
default: op
|
||||
essentialsc.command.vanish:
|
||||
description: Allows use of /vanish command
|
||||
default: op
|
||||
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.help:
|
||||
description: Allows use of /essentialsc help command
|
||||
default: true
|
||||
essentialsc.*:
|
||||
description: All EssentialsC permissions
|
||||
default: false
|
||||
children:
|
||||
essentialsc.command.workbench: true
|
||||
essentialsc.command.anvil: true
|
||||
essentialsc.command.enchantingtable: true
|
||||
essentialsc.command.cartographytable: true
|
||||
essentialsc.command.grindstone: true
|
||||
essentialsc.command.loom: true
|
||||
essentialsc.command.smithingtable: true
|
||||
essentialsc.command.stonecutter: true
|
||||
essentialsc.command.enderchest: true
|
||||
essentialsc.command.hat: true
|
||||
essentialsc.command.suicide: true
|
||||
essentialsc.command.fly: true
|
||||
essentialsc.command.heal: true
|
||||
essentialsc.command.vanish: true
|
||||
essentialsc.command.seen: true
|
||||
essentialsc.command.admin: true
|
||||
essentialsc.command.feed: true
|
||||
essentialsc.command.repair: true
|
||||
essentialsc.command.help: true
|
||||
Reference in New Issue
Block a user