public class Join extends PartySubCommand
HELP, PREFIX
Constructor | Description |
---|---|
Join(java.util.List<java.lang.String> pCommands,
int pPriority,
java.lang.String pHelpText,
java.lang.String pPermission) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasAccess(int pPermissionHeight) |
|
void |
onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Will be executed on /party join
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isInParty, isPlayerGiven, sendError
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, printOutHelp, sendError
public Join(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelpText, java.lang.String pPermission)
public void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
onCommand
in class SubCommand
pPlayer
- The playerargs
- The argumentspublic boolean hasAccess(int pPermissionHeight)
hasAccess
in class PartySubCommand