Package de.marcely.bedwars.api.command
Class HelpCommandHandler
java.lang.Object
de.marcely.bedwars.api.command.HelpCommandHandler
- All Implemented Interfaces:
- CommandHandler,- CommandHandlerWrappedSender
- 
Nested Class SummaryNested classes/interfaces inherited from interface de.marcely.bedwars.api.command.CommandHandlerCommandHandler.Silent
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiononAutocomplete(CommandSenderWrapper sender, String[] args) Gets called whenever someone autocompletes (presses tab) on the commandvoidonFire(CommandSenderWrapper sender, String fullUsage, String[] args) Gets called whenever someone executes the commandvoidonRegister(SubCommand collection) Gets called whenever the command is getting added as handlerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.marcely.bedwars.api.command.CommandHandlergetBukkitLabel, getOverridingUsage, getPluginMethods inherited from interface de.marcely.bedwars.api.command.CommandHandlerWrappedSendergetContentAmount, getContentAmount, onAutocomplete, onFire
- 
Constructor Details- 
HelpCommandHandlerpublic HelpCommandHandler()
 
- 
- 
Method Details- 
onRegisterDescription copied from interface:CommandHandlerGets called whenever the command is getting added as handler- Specified by:
- onRegisterin interface- CommandHandler
- Parameters:
- collection- The command to which the handler has been added to
 
- 
onFireDescription copied from interface:CommandHandlerWrappedSenderGets called whenever someone executes the command- Specified by:
- onFirein interface- CommandHandlerWrappedSender
- Parameters:
- sender- The person who executed the command
- fullUsage- The full usage, including the label and everything
- args- Passed arguments to this command
 
- 
onAutocompleteDescription copied from interface:CommandHandlerWrappedSenderGets called whenever someone autocompletes (presses tab) on the command- Specified by:
- onAutocompletein interface- CommandHandlerWrappedSender
- Parameters:
- sender- The person who did the autocomplete
- args- The given arguments
- Returns:
- What shall be shown to the player as options. Returning null will display all players
 
 
-