Command DSL
Command DSL
Section titled “Command DSL”Reference
Use this page to scan the command surface quickly. The runtime explanation lives elsewhere.
DaisyCommand object Immutable command model returned by the command DSL.
DaisyCommandGroup object The clean default container for command trees discovered at startup.
permission string Sets the execution permission for a command or subcommand.
enabled boolean Startup-time inclusion filter, not a runtime permission check.
ignore boolean Explicitly removes a command node before registration.
player object Player-only executor block with player-aware reply helpers.
console object Console-only executor block for console-targeted execution.
Main entrypoints
Section titled “Main entrypoints”fun command(name: String, block: DaisyCommandBuilder.() -> Unit): DaisyCommandabstract class DaisyCommandGroup( block: DaisyCommandGroupBuilder.() -> Unit,)