初始化项目
This commit is contained in:
14
src/main/resources/lang/zh_CN.yml
Normal file
14
src/main/resources/lang/zh_CN.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
message:
|
||||
reload: "&a语言文件已重载"
|
||||
no-permission: "&c你没有权限使用该命令。"
|
||||
command:
|
||||
lang:
|
||||
changed: "&a你的语言已切换为 {lang}"
|
||||
item:
|
||||
flame-sword:
|
||||
name: "&c烈焰长剑"
|
||||
lore:
|
||||
- "&7伤害: &c{damage}"
|
||||
- "&7品质: &6{quality}"
|
||||
- ""
|
||||
- "&e右键释放火焰"
|
||||
16
src/main/resources/plugin.yml
Normal file
16
src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: LangUtil
|
||||
main: com.io.yaohun.langutil.LangUtilPlugin
|
||||
version: ${project.version}
|
||||
author: Douhun
|
||||
description: Minecraft 1.12.2 多插件语言管理插件
|
||||
commands:
|
||||
lang:
|
||||
description: 查看、切换或重载语言文件
|
||||
usage: /lang [语言ID|reload]
|
||||
permissions:
|
||||
langutil.use:
|
||||
description: 允许玩家查看和切换个人语言
|
||||
default: true
|
||||
langutil.reload:
|
||||
description: 允许重载所有已注册插件的语言文件
|
||||
default: op
|
||||
Reference in New Issue
Block a user