Command Reference
Scripter Commands
Compile, decompile, obfuscate, deobfuscate, and scan Lua mods.
Five commands for SA-MP mod developers, powered by LuaJIT and the A.E.G.I.S scanner.
| Command | Input | What it does |
|---|---|---|
/compilelua | .lua file | Compile to LuaJIT bytecode (.luac) |
/decompilelua | .luac file | Decompile bytecode back to readable Lua source |
/obfuscate | .lua file | Scramble variables and strings to protect your work |
/deobfuscate | .lua file | Undo hex-escape obfuscation and beautify messy code |
/scan | mod file | Check Lua, CLEO, ASI, DLL, SF, and script files for malware signatures |
Use it on your own code
Decompilation and deobfuscation exist to debug your own mods and audit suspicious files. Distribution formats belong to their authors: check licenses before reusing anything.
The malware database
Staff maintain /malwaredb (Admin/Staff): a hash signature database that /scan checks against. Every scan result feeds the cross-server blacklist, so a file caught on one server protects the others.