So, Mesecons has the luacontroller which can run Lua code, but it has protections against things like infinite loops/recursion, memory usage, io/os function calls, and program execution time. How does it protect against these, and how could I do the same thing?
Essentially, I want to have user-inputted Lua code that is sandboxed against malicious code as to not crash servers.