Colosseum Nested Command
abstract class ColosseumNestedCommand(val plugin: ColosseumPlugin, val name: String, val subCommands: List<ColosseumCommand>) : ColosseumCommand
Represents a nested command that contains sub-commands.
Inheritors
Properties
Functions
Link copied to clipboard
fun commandDescriptor(init: ColosseumCommand.CommandData.Builder.() -> Unit): ColosseumCommand.CommandData
Constructs the command descriptor for the nested command using the class's name. This includes setting up the arguments to handle sub-commands and any additional arguments.
Link copied to clipboard
Executes the command.
Link copied to clipboard
Executes the command for a command block sender.
Link copied to clipboard
Executes the command for a console sender.
Link copied to clipboard
Executes the command for a player sender.
Link copied to clipboard
Generates the command format string for display.
Link copied to clipboard