Package-level declarations
Velocity integration layer for the core DSL.
io.github.kraftlin.command.velocity.kraftlinCommand: Entry point for defining Velocity commands.
io.github.kraftlin.command.velocity.registerKraftlinCommands: Registration helper.
Types
A built command ready for registration via registerKraftlinCommands.
ArgumentNode specialized to Velocity's CommandSource.
KContext specialized to Velocity's CommandSource.
ExecuteScope specialized to Velocity's CommandSource.
LiteralNode specialized to Velocity's CommandSource.
Velocity platform adapter for cross-platform command definitions.
Velocity's Brigadier command source type.
Functions
Execution handler that extracts the CommandSource before invoking block.
Execution handler restricted to Player senders. Throws a command error if the sender is not a player.
Execution handler with custom result code, restricted to Player senders.
Execution handler with custom result code that extracts the CommandSource.
Declares a new Kraftlin command for Velocity.
Registers one or more Kraftlin commands with this command manager.
Returns the sender as a Player, or throws a command error if the sender is not a player.
Requires the sender to have the given permission.
Requires the sender to be a Player.
Requires the sender to match a predicate.