Restrictions
To keep the platform safe for all players, certain Lua functions and mod behaviors are blocked. Mods containing disallowed code will be rejected at upload time.
Blocked Lua functions
| Function | Reason |
|---|---|
| os.execute | Shell command execution |
| os.exit | Process termination |
| os.rename | Filesystem access |
| os.remove | Filesystem access |
| io.open | Filesystem access |
| io.write | Filesystem access |
| io.read | Filesystem access |
| io.close | Filesystem access |
| io.lines | Filesystem access |
| io.popen | Shell command execution |
| loadstring | Arbitrary code execution |
| load() | Arbitrary code execution |
| rawset | Sandbox bypass |
| rawget | Sandbox bypass |
| debug.* | Sandbox bypass |
| package.* | Module loading |
| require() | Module loading |
| dofile() | Filesystem access |
| loadfile() | Filesystem access |
HTTP access
Mods may not make HTTP requests. Only plextoria_core is permitted to use the Minetest HTTP API.
Dependencies
Mods may depend on standard Minetest game mods such as default, doors, and stairs. Declaring a dependency on plextoria_core is not permitted.
File types
Only .lua, .png, .ogg, .wav, mod.conf, depends.txt, and description.txt are accepted inside your zip.
Enforcement
These restrictions are enforced automatically at upload time. Mods that pass the upload check but are found to cause harm to the platform or other players may be removed and the world suspended. Repeated violations may result in account action.