SC4 Encyclopaedia
Lua Sandbox DLL
TypeDLL Plugin
Authormemo
DescBlocks unsafe Lua functions that mods could use
Version1.0.0 (March 2026)
DownloadsGitHub releases
Simtropolis
Sourcememo33/sc4-lua-sandbox-dll

The Lua Sandbox DLL is a DLL plugin for SimCity 4 that stops mods from using unsafe Lua functions. The game uses Lua scripts for advisor messages, rewards and automata generators. Plugins generally have no need to access the file system, so the DLL blocks this.

Features

Requirements

The DLL is also available in sc4pac as memo:lua-sandbox-dll.

Note: This article is a stub. You can help by expanding it.