📄️ Script Local Values
Figura provides variables that are local to each executing script. These are provided via the VarArgs accessor (...)
📄️ figuraMetatables
A table containing all the metatables for Figura's object types.
📄️ listFiles
A function that returns a table with all script file names from the specified path
📄️ log
This is an alias of print
📄️ logJson
This is an alias of printJson
📄️ logTable
This is an alias of printTable
📄️ parseJson
Takes a json string as an argument, and converts it into a lua value.
A function that writes its arguments to chat. Takes in a variable amount of arguments.
📄️ printJson
Takes a Minecraft json string as an argument. Prints it to the chat formatted without the lua print header.
📄️ printTable
printTable(tbl number?, silent string
📄️ require
The require function takes the path to one of your scripts and returns the cached return value of that script.
📄️ toJson
Takes any lua value, and converts it into a json string.
📄️ type
Figura overrides lua's type() function