Configuration
Everything a server owner touches is in cfg.lua, outside escrow. Both resources share the same keys; the tabs show where the values differ.
cfg.bridge
framework
auto, qb (Qbox and QBCore), esx
notification
builtin, ox_lib, qb, esx, okokNotify, ps-ui, lation_ui, wasabi_notify, zsxui
textUI
builtin, ox_lib, qb, esx, okokTextUI, jg-textui
framework
auto, vorp, rsg, standalone
notification
builtin, ox_lib, vorp, rsg
textUI
builtin, ox_lib
auto picks RSG or VORP when one is running, otherwise standalone (ace only).
builtin uses the script's own UI, styled to match the editor.
cfg.access
ace
'rm_scaler.use'
Ace that grants the editor. false disables ace checks
frameworkAdmin
true
Framework admins get access too
cfg.command (default 'scaler') is the command that opens the editor.
cfg.scale
min
0.05
Smallest scale the editor allows
max
20.0
Largest scale
cfg.source
scanResources
true
Index the stream/ folder of every started resource
ignore
{}
Resource names never indexed
The scaler's own source/ folder is always indexed. See Source Files.
cfg.output
resource
'rm_scaler_output' (FiveM), 'rm_scaler_redm_output' (RedM)
Where copies are written, created on first save
autoEnsure
true
Restart it after every save and delete
suffix
'_s'
Default clone name: <model><suffix><n>
pedScaleIn
'outfit'
RedM only, see below
pedScaleIn (RedM)
Where a ped or horse copy's size is written: 'outfit' (every outfit's scale), 'model' (the ped entry's Scale) or 'both'.
cfg.playerScale
enabled
true
Registers the command
command
'setscale'
Command name
min
0.3
Smallest allowed scale
max
3.0
Largest allowed scale
See Live Player Scale.
cfg.nui
primaryColor
'#ffffff'
Accent colour: hex, rgba or { r, g, b, a }
mediaUrl
'https://fivemad.com'
FiveM: catalogue and pictures for the Peds / Props tabs. RedM: the ped list for the Peds tab and the base-game ped data used on save. false hides those tabs
overlays.editor
'right-center'
Where the editor panel sits on screen
cfg.locale
'en' ships. Add locales/<lang>.json and set its name here.
cfg.dev
Keep it false. When true, every player can use the scaler and the test commands (/scalerdev, /scalerspawn, /scalermodel, /scalerclear) register.