Class DebugCommandHandler

java.lang.Object
com.zetaplugins.zetacore.debug.command.DebugCommandHandler
All Implemented Interfaces:
CommandExecutor, TabCompleter

public final class DebugCommandHandler extends Object implements CommandExecutor, TabCompleter
DebugCommandHandler is a command handler for the debug command.
  • Constructor Details

    • DebugCommandHandler

      public DebugCommandHandler(String modrinthId, JavaPlugin plugin, File pluginFile, String permission, Messenger messenger)
      Constructor for DebugCommandHandler.
      Parameters:
      modrinthId - the Modrinth ID of the plugin, used to identify the report
      plugin - the JavaPlugin instance
      pluginFile - the file of the plugin, used to generate a hash. Can be obtained using JavaPlugin#getFile(} inside a plugin's main class.
      permission - the permission required to execute the command
    • DebugCommandHandler

      public DebugCommandHandler(String modrinthId, JavaPlugin plugin, File pluginFile, String permission, Map<String,String> configs, Messenger messenger)
      Constructor for DebugCommandHandler.
      Parameters:
      modrinthId - the Modrinth ID of the plugin, used to identify the report
      plugin - the JavaPlugin instance
      pluginFile - the file of the plugin, used to generate a hash. Can be obtained using JavaPlugin#getFile(} inside a plugin's main class.
      permission - the permission required to execute the command
      configs - a map of configuration settings, where the key is the configuration file name and the value is the configuration saved as a string
    • DebugCommandHandler

      public DebugCommandHandler(String modrinthId, JavaPlugin plugin, File pluginFile, String permission, Map<String,String> configs, DebugCommandMessages messages, Messenger messenger)
      Constructor for DebugCommandHandler.
      Parameters:
      modrinthId - the Modrinth ID of the plugin, used to identify the report
      plugin - the JavaPlugin instance
      pluginFile - the file of the plugin, used to generate a hash. Can be obtained using JavaPlugin#getFile(} inside a plugin's main class.
      permission - the permission required to execute the command
      configs - a map of configuration settings, where the key is the configuration file name and the value is the configuration saved as a string
      messages - the messages used in the command
  • Method Details