Class OnlyTopCommand
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Command
-
- de.simonsator.partyandfriends.api.TopCommand
-
- de.simonsator.partyandfriends.api.OnlyTopCommand
-
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener
public abstract class OnlyTopCommand extends TopCommand
-
-
Field Summary
-
Fields inherited from class de.simonsator.partyandfriends.api.TopCommand
subCommands
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OnlyTopCommand(java.lang.String[] pCommandNames, java.lang.String pPermission, java.lang.String pPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
-
Methods inherited from class de.simonsator.partyandfriends.api.TopCommand
addCommand, count, execute, getPrefix, getSubCommand, isPlayer, onCommand, playerComplete, sort, topCommandComplete
-
-
-
-
Constructor Detail
-
OnlyTopCommand
protected OnlyTopCommand(java.lang.String[] pCommandNames, java.lang.String pPermission, java.lang.String pPrefix)
- Parameters:
pCommandNames
- The command name and the different aliases of this command. By these names the method can be called.pPermission
- The permission which is needed to execute this command. If it is blank no permission is needed to execute this command.pPrefix
- The prefix which should be used by all subcommands. The prefix gets returned by the methodTopCommand.getPrefix()
.
-
-
Method Detail
-
tabComplete
public void tabComplete(net.md_5.bungee.api.event.TabCompleteEvent pEvent)
- Overrides:
tabComplete
in classTopCommand
-
-