command

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

Runs the specified command. Per default sends it to the server but has client side option. The input is assumed to not include the slash "/" that signals a command.