public class Friends extends TopCommand<FriendSubCommand>
subCommands
Constructor | Description |
---|---|
Friends(java.util.List<java.lang.String> pCommandNames,
java.lang.String pPrefix) |
Initials the object
|
Modifier and Type | Method | Description |
---|---|---|
static Friends |
getInstance() |
|
protected void |
onCommand(OnlinePAFPlayer pPlayer,
java.lang.String[] args) |
Executed on /friend
|
canEqual, equals, getAliases, getName, getPermission, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCommand, execute, getPrefix, getSubCommand, isPlayer, sort, tabComplete
public Friends(java.util.List<java.lang.String> pCommandNames, java.lang.String pPrefix)
pCommandNames
- The alias for the /friend commandpPrefix
- The prefix of the commandpublic static Friends getInstance()
protected void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
onCommand
in class TopCommand<FriendSubCommand>
pPlayer
- The sender of the commandargs
- The arguments