Project MMO

Project MMO

Globals Config Syntax and Examples

Example File

WITH config(globals)
set(paths).key(tmat0).value(tic_materials[0]);
set(constants).key(iron).value(shield/iron);
END

Syntax

Each configuration uses a combination of set(config_keyword).value(some_value);. The table below lists each configuration node's keyword, purpose and the value node format.

set node keysetting functionspecial nodesvalue node
pathsdefines a path with the key providedkey(string) sets the subsequent value to the string key providedvalue(path string) an NBT path value
constantsdefines a constant with the key providedkey(string) sets the subsequent value to the string key providedvalue(path string) an NBT path value