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:
parent
c9a527b04a
commit
ddb78cf045
@ -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");
|
||||
|
@ -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"));
|
||||
|
@ -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"));
|
||||
|
@ -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();
|
||||
|
@ -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"));
|
||||
|
@ -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();
|
||||
|
@ -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("<数量>");
|
||||
|
@ -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");
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user