Skip to content

Command DSL

Reference

Use this page to scan the command surface quickly. The runtime explanation lives elsewhere.

Immutable command model returned by the command DSL.

Required

The clean default container for command trees discovered at startup.

Required

Sets the execution permission for a command or subcommand.

Optional

enabled boolean

Startup-time inclusion filter, not a runtime permission check.

Optional

ignore boolean

Explicitly removes a command node before registration.

Optional

player object

Player-only executor block with player-aware reply helpers.

Optional

console object

Console-only executor block for console-targeted execution.

Optional

fun command(name: String, block: DaisyCommandBuilder.() -> Unit): DaisyCommand
abstract class DaisyCommandGroup(
block: DaisyCommandGroupBuilder.() -> Unit,
)