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.Listener
public class Reply extends OnlyTopCommand
Will be executed on /r
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.api.TopCommand
subCommands
-
-
Constructor Summary
Constructors Constructor Description Reply(java.lang.String[] aliases, java.lang.String pPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
Decides if a subcommand should be called and if which one.void
onTabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
-
Methods inherited from class de.simonsator.partyandfriends.api.OnlyTopCommand
tabComplete
-
Methods inherited from class de.simonsator.partyandfriends.api.TopCommand
addCommand, count, execute, getPrefix, getSubCommand, isPlayer, playerComplete, sort, topCommandComplete
-
-
-
-
Method Detail
-
onCommand
protected void onCommand(OnlinePAFPlayer pPlayer, java.lang.String[] args)
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 void onTabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
-
-