mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58:54 +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;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandBuy(final QuickShop plugin) {
|
public CommandBuy(final QuickShop plugin) {
|
||||||
super("buy");
|
super("b");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
setPermission("quickshop.create.buy");
|
setPermission("quickshop.create.buy");
|
||||||
|
@ -16,7 +16,7 @@ public class CommandClean extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandClean(final QuickShop plugin) {
|
public CommandClean(final QuickShop plugin) {
|
||||||
super("clean");
|
super("c");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setPermission("quickshop.clean");
|
setPermission("quickshop.clean");
|
||||||
setDescription(MsgUtil.p("command.description.clean"));
|
setDescription(MsgUtil.p("command.description.clean"));
|
||||||
|
@ -17,7 +17,7 @@ public class CommandEmpty extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandEmpty(final QuickShop plugin) {
|
public CommandEmpty(final QuickShop plugin) {
|
||||||
super("empty");
|
super("e");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setPermission("quickshop.empty");
|
setPermission("quickshop.empty");
|
||||||
setDescription(MsgUtil.p("command.description.empty"));
|
setDescription(MsgUtil.p("command.description.empty"));
|
||||||
|
@ -20,7 +20,7 @@ public class CommandFind extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandFind(final QuickShop plugin) {
|
public CommandFind(final QuickShop plugin) {
|
||||||
super("find");
|
super("f");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setMinimumArguments(2);
|
setMinimumArguments(2);
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
|
@ -19,7 +19,7 @@ public class CommandInfo extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandInfo(final QuickShop plugin) {
|
public CommandInfo(final QuickShop plugin) {
|
||||||
super("info");
|
super("i");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setPermission("quickshop.info");
|
setPermission("quickshop.info");
|
||||||
setDescription(MsgUtil.p("command.description.info"));
|
setDescription(MsgUtil.p("command.description.info"));
|
||||||
|
@ -17,7 +17,7 @@ public class CommandPrice extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandPrice(final QuickShop plugin) {
|
public CommandPrice(final QuickShop plugin) {
|
||||||
super("price");
|
super("p");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setMinimumArguments(1);
|
setMinimumArguments(1);
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
|
@ -16,7 +16,7 @@ public class CommandRefill extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandRefill(final QuickShop plugin) {
|
public CommandRefill(final QuickShop plugin) {
|
||||||
super("refill");
|
super("r");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setMinimumArguments(1);
|
setMinimumArguments(1);
|
||||||
setPossibleArguments("<数量>");
|
setPossibleArguments("<数量>");
|
||||||
|
@ -17,7 +17,7 @@ public class CommandRemove extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandRemove(final QuickShop plugin) {
|
public CommandRemove(final QuickShop plugin) {
|
||||||
super("remove", "delete");
|
super("r");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
setPermission("quickshop.delete");
|
setPermission("quickshop.delete");
|
||||||
|
@ -17,7 +17,7 @@ public class CommandSell extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandSell(final QuickShop plugin) {
|
public CommandSell(final QuickShop plugin) {
|
||||||
super("sell");
|
super("s");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setPermission("quickshop.create.sell");
|
setPermission("quickshop.create.sell");
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
|
@ -17,7 +17,7 @@ public class CommandSetOwner extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandSetOwner(final QuickShop plugin) {
|
public CommandSetOwner(final QuickShop plugin) {
|
||||||
super("setowner");
|
super("so");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setPermission("quickshop.setowner");
|
setPermission("quickshop.setowner");
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
|
@ -16,7 +16,7 @@ public class CommandUnlimited extends BaseCommand {
|
|||||||
QuickShop plugin;
|
QuickShop plugin;
|
||||||
|
|
||||||
public CommandUnlimited(final QuickShop plugin) {
|
public CommandUnlimited(final QuickShop plugin) {
|
||||||
super("unlimited");
|
super("u");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
setPermission("quickshop.unlimited");
|
setPermission("quickshop.unlimited");
|
||||||
|
Loading…
Reference in New Issue
Block a user