Class PartyCommand
java.lang.Object
net.md_5.bungee.api.plugin.Command
de.simonsator.partyandfriends.api.TopCommand<PartySubCommand>
de.simonsator.partyandfriends.party.command.PartyCommand
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor
The /party command
-
Field Summary
Fields inherited from class de.simonsator.partyandfriends.api.TopCommand
subCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PartyCommand
protected void
onCommand
(OnlinePAFPlayer pPlayer, String[] args) Decides if a subcommand should be called and if which one.Methods 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
-
PartyCommand
- Parameters:
pCommandNames
- The alias for the commandpPrefix
- The prefix for this command (e.g. [Party])
-
-
Method Details
-
getInstance
-
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<PartySubCommand>
- Parameters:
pPlayer
- The player who executed the command.args
- The arguments which were given by the player.
-