Skip to content

@pumpkin-plugins/pumpkin-api API / core / handleCommand

Function: handleCommand() ​

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

Defined in: core.ts:215

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