Lua Version And Changes
The Lua interpreter shipped with the server is version 5.4. Reference: https://www.lua.org/manual/5.4/#index
Small changes to the built-in Lua functions were made for improved development experience:
tostringwill format tables.print,warn, andprinterrcan display tables.warnwill output yellow text to stdout.printerrwill output red text to stdout.
Note: If you want to use io or interact with other programs see Async. While Lua built-ins can be used they are blocking and can cause server hiccups.