java.lang.Comparable<SubCommand>
Add
, FriendList
, Jump
, Message
, Remove
, RequestReactionsCommands
, Settings
public abstract class FriendSubCommand extends SubCommand implements java.lang.Comparable<SubCommand>
HELP, PREFIX
Modifier | Constructor | Description |
---|---|---|
protected |
FriendSubCommand(java.lang.String[] pCommands,
int pPriority,
java.lang.String pHelp) |
|
protected |
FriendSubCommand(java.util.List<java.lang.String> pCommands,
int pPriority,
java.lang.String pHelp,
java.lang.String pPermission) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
isAFriendOf(OnlinePAFPlayer pPlayer,
PAFPlayer pGivenPlayer) |
|
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 FriendSubCommand(java.lang.String[] pCommands, int pPriority, java.lang.String pHelp)
protected FriendSubCommand(java.util.List<java.lang.String> pCommands, int pPriority, java.lang.String pHelp, java.lang.String pPermission)
protected boolean isPlayerGiven(OnlinePAFPlayer pPlayer, java.lang.String[] args)
protected boolean isAFriendOf(OnlinePAFPlayer pPlayer, PAFPlayer pGivenPlayer)
protected void sendError(OnlinePAFPlayer pPlayer, net.md_5.bungee.api.chat.TextComponent pMessage)
sendError
in class SubCommand