Skip to content

@pumpkin-plugins/dynamic-lights-pumpkin API / commands/handlers / commandHandlers

Function: commandHandlers() ​

commandHandlers(toggler): object

Defined in: packages/dynamic-lights-pumpkin/src/commands/handlers.ts:11

Builds the handlers for DynamicLightsPumpkin commands.

Parameters ​

toggler ​

PlayerLightToggler

Returns ​

object

dynamiclights ​

dynamiclights: (sender) => readonly CommandLine[]

Parameters ​

sender ​

CommandSender

Returns ​

readonly CommandLine[]

Pumpkin Plugins documentation