> For the complete documentation index, see [llms.txt](https://mp0-3.gitbook.io/main-power/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mp0-3.gitbook.io/main-power/mp-commands.md).

# 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.
```
