LuaRun
LuaRun is a simple package that allows you to execute a Lua string from your console.
π¦ Installation
- 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
packages
array of /Server/Cofig.toml - B: Put "luarun" in the
packages_requirements
array 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/
π₯οΈ Console commands
luarun your_lua_string_goes_here
exemple:
luarun print( "Hello World!" )
-- output: Hello World!