From 3f09e80b0b0bfd1321b7420e146032c5cb2463d8 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Fri, 9 Oct 2015 13:13:16 +0800 Subject: [PATCH] fix command can exter... Signed-off-by: 502647092 --- src/main/java/org/maxgamer/QuickShop/Command/CommandFind.java | 2 +- src/main/java/org/maxgamer/QuickShop/Command/CommandInfo.java | 2 +- .../java/org/maxgamer/QuickShop/Command/CommandRefill.java | 2 +- src/main/resources/plugin.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/maxgamer/QuickShop/Command/CommandFind.java b/src/main/java/org/maxgamer/QuickShop/Command/CommandFind.java index 8fb49c7..f943bdc 100644 --- a/src/main/java/org/maxgamer/QuickShop/Command/CommandFind.java +++ b/src/main/java/org/maxgamer/QuickShop/Command/CommandFind.java @@ -20,7 +20,7 @@ public class CommandFind extends BaseCommand { QuickShop plugin; public CommandFind(final QuickShop plugin) { - super("setowner"); + super("find"); this.plugin = plugin; setMinimumArguments(2); setOnlyPlayerExecutable(); diff --git a/src/main/java/org/maxgamer/QuickShop/Command/CommandInfo.java b/src/main/java/org/maxgamer/QuickShop/Command/CommandInfo.java index 3bbaebe..e79668c 100644 --- a/src/main/java/org/maxgamer/QuickShop/Command/CommandInfo.java +++ b/src/main/java/org/maxgamer/QuickShop/Command/CommandInfo.java @@ -19,7 +19,7 @@ public class CommandInfo extends BaseCommand { QuickShop plugin; public CommandInfo(final QuickShop plugin) { - super("clean"); + super("info"); this.plugin = plugin; setPermission("quickshop.info"); setDescription(MsgUtil.p("command.description.info")); diff --git a/src/main/java/org/maxgamer/QuickShop/Command/CommandRefill.java b/src/main/java/org/maxgamer/QuickShop/Command/CommandRefill.java index f3085eb..02bb07f 100644 --- a/src/main/java/org/maxgamer/QuickShop/Command/CommandRefill.java +++ b/src/main/java/org/maxgamer/QuickShop/Command/CommandRefill.java @@ -16,7 +16,7 @@ public class CommandRefill extends BaseCommand { QuickShop plugin; public CommandRefill(final QuickShop plugin) { - super("clean"); + super("refill"); this.plugin = plugin; setPermission("quickshop.refill"); setDescription(MsgUtil.p("command.description.refill")); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 7ac3e98..9f8bad1 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -9,8 +9,8 @@ website: http://ci.sumcraft.net:8080/job/${project.artifactId}/ commands: qs: description: QuickShop command - usage: /qs - aliases: [shop] + usage: '§c未知的子命令 请输入 §b/qs help §c查看帮助!' + aliases: [quickshop,shop] permissions: quickshop.create.sell: