Class Friends
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Command
-
- de.simonsator.partyandfriends.api.TopCommand<FriendSubCommand>
-
- de.simonsator.partyandfriends.friends.commands.Friends
-
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener
public class Friends extends TopCommand<FriendSubCommand>
The /friend command class
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.api.TopCommand
subCommands
-
-
Constructor Summary
Constructors Constructor Description Friends(java.util.List<java.lang.String> pCommandNames, java.lang.String pPrefix)
Initials the object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Friends
getInstance()
protected void
onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
Executed on /friendvoid
onTabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
-
Methods inherited from class de.simonsator.partyandfriends.api.TopCommand
addCommand, count, execute, getPrefix, getSubCommand, isPlayer, playerComplete, sort, tabComplete, topCommandComplete
-
-
-
-
Method Detail
-
getInstance
public static Friends getInstance()
-
onCommand
protected void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
Executed on /friend- Specified by:
onCommand
in classTopCommand<FriendSubCommand>
- Parameters:
pPlayer
- The sender of the commandargs
- The arguments
-
onTabComplete
public void onTabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
-
-