public class Add extends FriendSubCommand
HELP, PREFIX
Constructor | Description |
---|---|
Add(java.util.List<java.lang.String> pCommands,
int pPriority,
java.lang.String pHelp,
java.lang.String pAcceptCommandName,
java.lang.String pPermission) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
isAFriendOf(OnlinePAFPlayer pPlayer,
PAFPlayer pGivenPlayer) |
|
void |
onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
isPlayerGiven, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, printOutHelp, sendError
public Add(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelp, java.lang.String pAcceptCommandName, java.lang.String pPermission)
public void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
onCommand
in class SubCommand
protected boolean isAFriendOf(OnlinePAFPlayer pPlayer, PAFPlayer pGivenPlayer)
isAFriendOf
in class FriendSubCommand