GlobalEmber
commands
Chat commands for this experience's players. Each runs as /<name> args..., usable only by players in this experience's world. At most 64.
Functions
commands.register(name: string, fn: (player: Player, ...string) -> (), options: CommandOptions?) -> Command#Registers /<name> (1 to 32 of a-z, 0-9, _ and -). fn gets the player and up to 15 space-separated arguments. Raises if this experience already has that command or the server has a command of that name.