Moving from Luarmor
A script moves to Forge with its keys. Players keep the keys they have, and the LRM_ names in your script work as they are.
Keys
Export your keys from Luarmor, then press Import on Forge's Keys page. It takes a .txt or .csv file with the key first on each line, up to 10,000 keys at a time, and you choose the tier and length they get. Imported keys keep working as they are. Players don't need new ones.
Loader line
Players who put their key in a script_key line above the loader can keep doing that. Forge's loader reads the same line. Replace the loader under it with your Forge script's loader, from its page in the dashboard.
script_key = "XXXXX-XXXXX-XXXXX-XXXXX"
loadstring(game:HttpGet("https://luarun.com/s/<script id>"))()LRM_ names
Forge sets these for your script, with the same values as its own names.
| Luarmor | Forge |
|---|---|
LRM_IsUserPremium | Forge_HasKey (true on any run with a key) |
LRM_SecondsLeft | Forge_SecondsLeft |
LRM_TotalExecutions | Forge_Executions |
LRM_UserNote | Forge_Note ("Not specified" for a key with no note, as on Luarmor) |
LRM_LinkedDiscordID | Forge_DiscordId |
LRM_ScriptName | Forge_ScriptName |
LRM_ScriptVersion | Forge_ScriptVersion (as a string, as on Luarmor) |
Luraph's LPH_ macros work too. Forge's own are on the Macros page.
Not supported
Forge won't publish a script that uses these. Its error names the one it found.
LRM_INIT_SCRIPT. Forge's loader asks for the key itself, before the script runs. Take out the key screen you built with it.LRM_SEND_WEBHOOKandLRM_SANITIZE. Not supported yet.
Discord
The Sirius bot's panel has Get key, Redeem key, Get script, Reset devices and View key. An HWID reset on Luarmor is Reset devices on Forge. /forge key, /forge masswhitelist and /forge resetdevices cover whitelisting and resets. The Discord bot page has the setup.