UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

16 lines (9 loc) 431 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [CommandCallback](./server.commandcallback.md) ## CommandCallback type A callback function for a chat command. **Signature:** ```typescript export type CommandCallback = (player: Player, args: string[], message: string) => void; ``` **References:** [Player](./server.player.md)