command

fun command(text: String, clientSide: Boolean = false)

Runs a command.

Parameters

text

the command to run, without the leading slash (Ex. "help")

clientSide

should the command be ran as a client side command

Sources

Link copied to clipboard