chatcommand - Uberi/MineTest-API GitHub Wiki

chatcommand

Description

Command sent in the chat window to the server, of the form /command parameters.

Syntax

{
	params = "name privilege", -- short parameter description
	description = "Remove privilege from player", -- full description
	privs = {privs=true}, -- require the "privs" privilege to run
	func = function(name, param), -- called when command is run
}
⚠️ **GitHub.com Fallback** ⚠️