Class FriendSubCommand
java.lang.Object
de.simonsator.partyandfriends.utilities.SubCommand
de.simonsator.partyandfriends.api.friends.abstractcommands.FriendSubCommand
- All Implemented Interfaces:
Comparable<SubCommand>
- Direct Known Subclasses:
Add
,FriendList
,Jump
,Message
,Remove
,RequestReactionsCommands
,Settings
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.utilities.SubCommand
HELP, PREFIX
-
Constructor Summary
ModifierConstructorDescriptionprotected
FriendSubCommand
(String[] pCommands, int pPriority, String pHelp) protected
FriendSubCommand
(List<String> pCommands, int pPriority, String pHelp, String pPermission) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isAFriendOf
(OnlinePAFPlayer pPlayer, PAFPlayer pGivenPlayer) Deprecated.protected boolean
isAFriendOf
(OnlinePAFPlayer pPlayer, PAFPlayer pGivenPlayer, String[] args) protected boolean
isPlayerGiven
(OnlinePAFPlayer pPlayer, String[] args) void
sendError
(OnlinePAFPlayer pPlayer, net.md_5.bungee.api.chat.TextComponent pMessage) Methods inherited from class de.simonsator.partyandfriends.utilities.SubCommand
compareTo, getCommandName, getCommandNames, hasPermission, isApplicable, isApplicable, onCommand, printOutHelp, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
FriendSubCommand
-
FriendSubCommand
-
-
Method Details
-
isPlayerGiven
-
isAFriendOf
-
isAFriendOf
Deprecated. -
sendError
- Overrides:
sendError
in classSubCommand
-