Skip to content

@pumpkin-plugins/dynamic-lights-pumpkin API / events / registerPlayerEvents

Function: registerPlayerEvents() ​

registerPlayerEvents(plugin, ctx, sync): void

Defined in: packages/dynamic-lights-pumpkin/src/events.ts:22

Refreshes a player's lights after the events that can change what they hold, where they are or their world.

Parameters ​

plugin ​

PluginBase

ctx ​

Context

sync ​

LightSync

Returns ​

void

pumpkin-plugins documentation