mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Update command aliases format
This commit is contained in:
parent
8653b9b0a2
commit
31c81fc9fe
@ -14,7 +14,7 @@ import com.github.intellectualsites.plotsquared.plot.util.helpmenu.HelpMenu;
|
|||||||
|
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
|
|
||||||
@CommandDeclaration(command = "help", description = "Get this help menu", aliases = {"he", "?"},
|
@CommandDeclaration(command = "help", description = "Get this help menu", aliases = "?",
|
||||||
category = CommandCategory.INFO, usage = "help [category|#]", permission = "plots.use")
|
category = CommandCategory.INFO, usage = "help [category|#]", permission = "plots.use")
|
||||||
public class Help extends Command {
|
public class Help extends Command {
|
||||||
public Help(Command parent) {
|
public Help(Command parent) {
|
||||||
|
@ -17,7 +17,7 @@ import java.util.HashSet;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
@CommandDeclaration(command = "kick", aliases = {"k"}, description = "Kick a player from your plot",
|
@CommandDeclaration(command = "kick", aliases = "k", description = "Kick a player from your plot",
|
||||||
permission = "plots.kick", usage = "/plot kick <player>", category = CommandCategory.TELEPORT,
|
permission = "plots.kick", usage = "/plot kick <player>", category = CommandCategory.TELEPORT,
|
||||||
requiredType = RequiredType.PLAYER) public class Kick extends SubCommand {
|
requiredType = RequiredType.PLAYER) public class Kick extends SubCommand {
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import java.net.MalformedURLException;
|
|||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@CommandDeclaration(command = "load", aliases = {"restore"}, category = CommandCategory.SCHEMATIC,
|
@CommandDeclaration(command = "load", aliases = "restore", category = CommandCategory.SCHEMATIC,
|
||||||
requiredType = RequiredType.NONE, description = "Load your plot", permission = "plots.load",
|
requiredType = RequiredType.NONE, description = "Load your plot", permission = "plots.load",
|
||||||
usage = "/plot load") public class Load extends SubCommand {
|
usage = "/plot load") public class Load extends SubCommand {
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import com.github.intellectualsites.plotsquared.plot.util.MainUtil;
|
|||||||
import com.github.intellectualsites.plotsquared.plot.util.Permissions;
|
import com.github.intellectualsites.plotsquared.plot.util.Permissions;
|
||||||
|
|
||||||
@CommandDeclaration(usage = "/plot move <X;Z>", command = "move", description = "Move a plot",
|
@CommandDeclaration(usage = "/plot move <X;Z>", command = "move", description = "Move a plot",
|
||||||
aliases = {"debugmove"}, permission = "plots.move", category = CommandCategory.CLAIMING,
|
permission = "plots.move", category = CommandCategory.CLAIMING,
|
||||||
requiredType = RequiredType.PLAYER) public class Move extends SubCommand {
|
requiredType = RequiredType.PLAYER) public class Move extends SubCommand {
|
||||||
|
|
||||||
@Override public boolean onCommand(final PlotPlayer player, String[] args) {
|
@Override public boolean onCommand(final PlotPlayer player, String[] args) {
|
||||||
|
@ -16,7 +16,7 @@ import java.util.concurrent.CompletableFuture;
|
|||||||
|
|
||||||
@CommandDeclaration(command = "visit", permission = "plots.visit",
|
@CommandDeclaration(command = "visit", permission = "plots.visit",
|
||||||
description = "Visit someones plot", usage = "/plot visit [<player>|<alias>|<world>|<id>] [#]",
|
description = "Visit someones plot", usage = "/plot visit [<player>|<alias>|<world>|<id>] [#]",
|
||||||
aliases = {"v", "tp", "teleport", "goto", "home", "h"}, requiredType = RequiredType.PLAYER,
|
aliases = {"v", "tp", "teleport", "goto", "home", "h", "warp"}, requiredType = RequiredType.PLAYER,
|
||||||
category = CommandCategory.TELEPORT) public class Visit extends Command {
|
category = CommandCategory.TELEPORT) public class Visit extends Command {
|
||||||
|
|
||||||
public Visit() {
|
public Visit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user