From 45da0097eda49fa1b0791617e6c22fe48cd7ea05 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Thu, 15 Oct 2015 22:12:52 +0800 Subject: [PATCH] fix permission error... Signed-off-by: j502647092 --- pom.xml | 2 +- src/main/resources/plugin.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4f6fba1..2e5ab52 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 cn.citycraft Yum - 1.6 + 1.7 Yum Minecraft 服务器插件管理系统 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 7a2f210..cba1e42 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -7,4 +7,13 @@ website: http://ci.citycraft.cn:8800/jenkins/job/${project.artifactId}/ commands: yum: description: MC插件仓库 - usage: §6使用§a/yum help§6查看帮助! \ No newline at end of file + usage: §6使用§a/yum help§6查看帮助! + permission: yum.use + permission-message: §c你没有 的权限来执行此命令! +permissions: + yum.use: + description: 插件管理系统使用权限! + default: op + yum.reload: + description: 重新载入插件! + default: op \ No newline at end of file