Class Reply
java.lang.Object
net.md_5.bungee.api.plugin.Command
de.simonsator.partyandfriends.api.TopCommand
de.simonsator.partyandfriends.api.OnlyTopCommand
de.simonsator.partyandfriends.friends.commands.Reply
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor
Will be executed on /r
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.api.TopCommand
subCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
onCommand
(OnlinePAFPlayer pPlayer, String[] args) Decides if a subcommand should be called and if which one.onTabComplete
(net.md_5.bungee.api.CommandSender commandSender, String[] strings) Methods inherited from class de.simonsator.partyandfriends.api.TopCommand
addCommand, execute, getPrefix, getSubCommand, isPlayer, 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
-
Reply
-
-
Method Details
-
onCommand
Description copied from class:TopCommand
Decides if a subcommand should be called and if which one. If no subcommand should be called it shows the help of the commands.- Specified by:
onCommand
in classTopCommand
- Parameters:
pPlayer
- The player who executed the command.args
- The arguments which were given by the player.
-
onTabComplete
public List<String> onTabComplete(net.md_5.bungee.api.CommandSender commandSender, String[] strings) - Specified by:
onTabComplete
in interfacenet.md_5.bungee.api.plugin.TabExecutor
- Overrides:
onTabComplete
in classOnlyTopCommand
-