Package jss.commandapi
Class BaseCommand
- java.lang.Object
-
- jss.commandapi.BaseCommand
-
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
public class BaseCommand extends Object implements org.bukkit.command.TabExecutor
-
-
Constructor Summary
Constructors Constructor Description BaseCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseCommand
name(String name)
boolean
onCommand(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, String[] args)
List<String>
onTabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String alias, String[] args)
-
-
-
Method Detail
-
name
public BaseCommand name(String name)
-
onCommand
public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, String[] args)
- Specified by:
onCommand
in interfaceorg.bukkit.command.CommandExecutor
-
-