/LuaRun

🚀 Simple package to execute lua strings via a console command on Nanos World

Primary LanguageLuaGNU Affero General Public License v3.0AGPL-3.0

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

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!
853c7f4d19308618903db2869cb795dc.mp4