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