public abstract class PartySubCommand extends SubCommand
HELP, PREFIX
Modifier | Constructor | Description |
---|---|---|
|
PartySubCommand(java.lang.String[] pCommands,
int pPriority,
java.lang.String pHelp) |
|
|
PartySubCommand(java.lang.String[] pCommands,
int pPriority,
net.md_5.bungee.api.chat.TextComponent pHelp) |
|
protected |
PartySubCommand(java.util.List<java.lang.String> pCommands,
int pPriority,
java.lang.String pHelpText,
java.lang.String pPermission) |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
hasAccess(int pPermissionHeight) |
|
protected boolean |
isInParty(OnlinePAFPlayer pPlayer,
PlayerParty pParty) |
|
protected boolean |
isPlayerGiven(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
|
protected void |
sendError(OnlinePAFPlayer pPlayer,
net.md_5.bungee.api.chat.TextComponent pMessage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, onCommand, printOutHelp, sendError
protected PartySubCommand(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelpText, java.lang.String pPermission)
public PartySubCommand(java.lang.String[] pCommands, int pPriority, net.md_5.bungee.api.chat.TextComponent pHelp)
public PartySubCommand(java.lang.String[] pCommands, int pPriority, java.lang.String pHelp)
protected boolean isInParty(OnlinePAFPlayer pPlayer, PlayerParty pParty)
public abstract boolean hasAccess(int pPermissionHeight)
protected boolean isPlayerGiven(OnlinePAFPlayer pPlayer, java.lang.String[] args)
protected void sendError(OnlinePAFPlayer pPlayer, net.md_5.bungee.api.chat.TextComponent pMessage)
sendError
in class SubCommand