1
0
mirror of https://e.coding.net/circlecloud/QuickShop.git synced 2024-12-28 07:58:49 +00:00

添加短命令...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2015-12-06 18:01:11 +08:00
parent c9a527b04a
commit ddb78cf045
11 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ public class CommandBuy extends BaseCommand {
QuickShop plugin;
public CommandBuy(final QuickShop plugin) {
super("buy");
super("b");
this.plugin = plugin;
setOnlyPlayerExecutable();
setPermission("quickshop.create.buy");

View File

@ -16,7 +16,7 @@ public class CommandClean extends BaseCommand {
QuickShop plugin;
public CommandClean(final QuickShop plugin) {
super("clean");
super("c");
this.plugin = plugin;
setPermission("quickshop.clean");
setDescription(MsgUtil.p("command.description.clean"));

View File

@ -17,7 +17,7 @@ public class CommandEmpty extends BaseCommand {
QuickShop plugin;
public CommandEmpty(final QuickShop plugin) {
super("empty");
super("e");
this.plugin = plugin;
setPermission("quickshop.empty");
setDescription(MsgUtil.p("command.description.empty"));

View File

@ -20,7 +20,7 @@ public class CommandFind extends BaseCommand {
QuickShop plugin;
public CommandFind(final QuickShop plugin) {
super("find");
super("f");
this.plugin = plugin;
setMinimumArguments(2);
setOnlyPlayerExecutable();

View File

@ -19,7 +19,7 @@ public class CommandInfo extends BaseCommand {
QuickShop plugin;
public CommandInfo(final QuickShop plugin) {
super("info");
super("i");
this.plugin = plugin;
setPermission("quickshop.info");
setDescription(MsgUtil.p("command.description.info"));

View File

@ -17,7 +17,7 @@ public class CommandPrice extends BaseCommand {
QuickShop plugin;
public CommandPrice(final QuickShop plugin) {
super("price");
super("p");
this.plugin = plugin;
setMinimumArguments(1);
setOnlyPlayerExecutable();

View File

@ -16,7 +16,7 @@ public class CommandRefill extends BaseCommand {
QuickShop plugin;
public CommandRefill(final QuickShop plugin) {
super("refill");
super("r");
this.plugin = plugin;
setMinimumArguments(1);
setPossibleArguments("<数量>");

View File

@ -17,7 +17,7 @@ public class CommandRemove extends BaseCommand {
QuickShop plugin;
public CommandRemove(final QuickShop plugin) {
super("remove", "delete");
super("r");
this.plugin = plugin;
setOnlyPlayerExecutable();
setPermission("quickshop.delete");

View File

@ -17,7 +17,7 @@ public class CommandSell extends BaseCommand {
QuickShop plugin;
public CommandSell(final QuickShop plugin) {
super("sell");
super("s");
this.plugin = plugin;
setPermission("quickshop.create.sell");
setOnlyPlayerExecutable();

View File

@ -17,7 +17,7 @@ public class CommandSetOwner extends BaseCommand {
QuickShop plugin;
public CommandSetOwner(final QuickShop plugin) {
super("setowner");
super("so");
this.plugin = plugin;
setPermission("quickshop.setowner");
setOnlyPlayerExecutable();

View File

@ -16,7 +16,7 @@ public class CommandUnlimited extends BaseCommand {
QuickShop plugin;
public CommandUnlimited(final QuickShop plugin) {
super("unlimited");
super("u");
this.plugin = plugin;
setOnlyPlayerExecutable();
setPermission("quickshop.unlimited");