LuaRun is a simple package that allows you to execute a Lua string from your console.
- Download LuaRun and add it in the
/Server/Packages/folder on your server - Rename the folder "luarun", in lowercase
- Load LuaRun in one of the following ways
- A: Put "luarun" in the
packagesarray of /Server/Cofig.toml - B: Put "luarun" in the
packages_requirementsarray of a script (or gamemode) package
- A: Put "luarun" in the
If you don't want the client to be able to use LuaRun rename the luarun/Shared/ folder : luarun/Server/
lua_run <lua code>lua_openscript <lua script path>