Package de.marcely.bedwars.api.command
Class CommandHandler.Silent
java.lang.Object
de.marcely.bedwars.api.command.CommandHandler.Silent
- All Implemented Interfaces:
- CommandHandler
- Enclosing interface:
- CommandHandler
The default command handler that effectively does nothing
- 
Nested Class SummaryNested classes/interfaces inherited from interface de.marcely.bedwars.api.command.CommandHandlerCommandHandler.Silent
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionReturns the plugin that created this handleronAutocomplete(CommandSender sender, String[] args) Gets called whenever someone autocompletes (presses tab) on the commandvoidonFire(CommandSender sender, String fullUsage, String[] args) Gets called whenever someone executes the commandvoidonRegister(SubCommand cmd) 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, getContentAmount, getOverridingUsage
- 
Field Details- 
INSTANCE
 
- 
- 
Method Details- 
getPluginDescription copied from interface:CommandHandlerReturns the plugin that created this handler- Specified by:
- getPluginin interface- CommandHandler
- Returns:
- The plugin of this handler
 
- 
onRegisterDescription copied from interface:CommandHandlerGets called whenever the command is getting added as handler- Specified by:
- onRegisterin interface- CommandHandler
- Parameters:
- cmd- The command to which the handler has been added to
 
- 
onFireDescription copied from interface:CommandHandlerGets called whenever someone executes the command- Specified by:
- onFirein interface- CommandHandler
- 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:CommandHandlerGets called whenever someone autocompletes (presses tab) on the command- Specified by:
- onAutocompletein interface- CommandHandler
- 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
 
 
-