MP-Commands

Adding Commands In Commands.ts
name: "ooc",
suggestion: "talk out of game character",
isAdmin: false,
handler: (source: number, args: string[])

This formatting works the same way, name is the name of the command.
suggestion is what you want the command to say
isAdmin, will do check if the player is an admin or not
handler is what you want the command to do aka trigger an event.

Last updated