Skip to content

@pumpkin-plugins/apple-skin-pumpkin API / plugin / handleCommand

Function: handleCommand() ​

handleCommand(commandId, sender, server, args): number

Defined in: tools/pumpkin-api/src/core.ts:239

Dispatch a command invocation and return the callback's result code.

Parameters ​

commandId ​

number

sender ​

CommandSender

server ​

Server

args ​

ConsumedArgs

Returns ​

number

pumpkin-plugins documentation