Class SentinelCommand

java.lang.Object
org.mcmonkey.sentinel.commands.SentinelCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter

public class SentinelCommand extends Object implements org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
Helper class for the Sentinel command.
  • Field Details

    • colorBasic

      public static final String colorBasic
      Output string representing a message color.
    • colorBad

      public static final String colorBad
      Output string representing a message color.
    • colorEmphasis

      public static final String colorEmphasis
      Output string representing a message color.
    • prefixGood

      public static final String prefixGood
      Output string representing a success prefix.
    • prefixBad

      public static final String prefixBad
      Output string representing a failure prefix.
    • manager

      public net.citizensnpcs.api.command.CommandManager manager
      The "/sentinel" command manager.
    • instance

      public static SentinelCommand instance
      The main instance of this class.
    • addTargetTabCompletions

      public static HashSet<String> addTargetTabCompletions
    • itemPrefixes

      public static HashSet<String> itemPrefixes
    • materialNames

      public static List<String> materialNames
  • Constructor Details

    • SentinelCommand

      public SentinelCommand()
  • Method Details

    • buildCommandHandler

      public void buildCommandHandler(org.bukkit.command.PluginCommand command)
      Prepares the command handling system.
    • onCommand

      public boolean onCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command command, String label, String[] args)
      Handles a player or server command.
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
    • onTabComplete

      public List<String> onTabComplete(org.bukkit.command.CommandSender commandSender, org.bukkit.command.Command command, String s, String[] strings)
      Handles tab completion for a player or server command.
      Specified by:
      onTabComplete in interface org.bukkit.command.TabCompleter