Class BukkitCommand

java.lang.Object
org.bukkit.command.Command
dev.rollczi.litecommands.bukkit.BukkitCommand

public class BukkitCommand extends org.bukkit.command.Command
  • Field Summary

    Fields inherited from class org.bukkit.command.Command

    description, timings, usageMessage
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    execute(@NotNull org.bukkit.command.CommandSender sender, @NotNull String alias, String[] args)
     
    dev.rollczi.litecommands.command.CommandRoute<org.bukkit.command.CommandSender>
     
    void
    setSyncTabComplete(boolean syncTabComplete)
     
    CompletableFuture<Set<dev.rollczi.litecommands.suggestion.Suggestion>>
    suggest(org.bukkit.command.CommandSender sender, String alias, String[] args)
     
    @NotNull List<String>
    tabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull String alias, String[] args)
     
    boolean
    testPermissionSilent(@NotNull org.bukkit.command.CommandSender target)
     

    Methods inherited from class org.bukkit.command.Command

    broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, toString, unregister

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • setSyncTabComplete

      public void setSyncTabComplete(boolean syncTabComplete)
    • execute

      public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String alias, String[] args)
      Specified by:
      execute in class org.bukkit.command.Command
    • tabComplete

      @NotNull public @NotNull List<String> tabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String alias, String[] args)
      Overrides:
      tabComplete in class org.bukkit.command.Command
    • suggest

      public CompletableFuture<Set<dev.rollczi.litecommands.suggestion.Suggestion>> suggest(org.bukkit.command.CommandSender sender, String alias, String[] args)
    • testPermissionSilent

      public boolean testPermissionSilent(@NotNull @NotNull org.bukkit.command.CommandSender target)
      Overrides:
      testPermissionSilent in class org.bukkit.command.Command
    • getCommandRoute

      public dev.rollczi.litecommands.command.CommandRoute<org.bukkit.command.CommandSender> getCommandRoute()