Skip to content

Usercontent Action

Marcel Konrad edited this page Dec 2, 2021 · 2 revisions
"action": {
	"type": "", #See table below for available types
	"attributes": {
		"function": "", #Name of the js function
		"command": "", #Id of the command inside the json file
		"argument": "", #Name of the argument
		"value": ""
	}
}
Action type Description Required attributes Optional Attributes
open Opens the content associated with value value -
set Sets the argument argument of command command to value or the value provided by the system command, argument value
run Finds the path with label value of command command and runs it command, value -
run_string Runs the command from value value -
back Goes back to the previous content - -
back_to_game Closes the GUI - -
js Invokes the javascript function function (with argument value) function value
Clone this wiki locally