USA Core
USA Core
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.

CommandInputWhat it does
/compilelua.lua fileCompile to LuaJIT bytecode (.luac)
/decompilelua.luac fileDecompile bytecode back to readable Lua source
/obfuscate.lua fileScramble variables and strings to protect your work
/deobfuscate.lua fileUndo hex-escape obfuscation and beautify messy code
/scanmod fileCheck 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.

On this page