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.TabExecutor
The /friend command class
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.api.TopCommand
subCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Friends
protected void
onCommand
(OnlinePAFPlayer pPlayer, String[] args) Executed on /friendMethods inherited from class de.simonsator.partyandfriends.api.TopCommand
addCommand, execute, getPrefix, getSubCommand, isPlayer, onTabComplete, playerComplete, sort, tabComplete
Methods inherited from class net.md_5.bungee.api.plugin.Command
canEqual, equals, getAliases, getName, getPermission, getPermissionMessage, hashCode, hasPermission, setPermissionMessage, toString
-
Constructor Details
-
Friends
Initials the object- Parameters:
pCommandNames
- The alias for the /friend command
-
-
Method Details
-
getInstance
-
onCommand
Executed on /friend- Specified by:
onCommand
in classTopCommand<FriendSubCommand>
- Parameters:
pPlayer
- The sender of the commandargs
- The arguments
-