Class VehicleSubCommandManager

java.lang.Object
nl.mtvehicles.core.infrastructure.models.MTVCommand
nl.mtvehicles.core.commands.VehicleSubCommandManager
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public class VehicleSubCommandManager extends MTVCommand
Command executor for /mtv command (managing subcommands)
  • Field Details

    • CMD_NAME

      public static String CMD_NAME
      Name of the command
  • Constructor Details

    • VehicleSubCommandManager

      public VehicleSubCommandManager()
      Constructor which registers all subcommands
  • Method Details

    • execute

      public boolean execute(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String label, String[] args)
      Description copied from class: MTVCommand
      Code executed on use of the command
      Specified by:
      execute in class MTVCommand
      Parameters:
      sender - Source of the command
      cmd - Command which was executed
      label - Alias of the command which was used
      args - Passed command arguments
      Returns:
      True if successful