Package simplexity.scythe.commands
Class CommandHandler
java.lang.Object
simplexity.scythe.commands.CommandHandler
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
public class CommandHandler
extends Object
implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabExecutor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onCommand
(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command cmd, @NotNull String label, String[] args) onTabComplete
(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, String[] args)
-
Field Details
-
subcommandList
-
-
Constructor Details
-
CommandHandler
public CommandHandler()
-
-
Method Details
-
onTabComplete
public List<String> onTabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, String[] args) - Specified by:
onTabComplete
in interfaceorg.bukkit.command.TabCompleter
-
onCommand
public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command cmd, @NotNull @NotNull String label, String[] args) - Specified by:
onCommand
in interfaceorg.bukkit.command.CommandExecutor
-