METROLORE Docs
  1. Docs
  2. Handling Editor
  3. Configuration

M1Line M1 · Handling EditorView in store →

Configuration

All options are in config.lua.

#General

Option Default Description
Config.Locale 'en' Interface language: 'en' or 'tr'.
Config.Command 'handle' Chat command that opens the editor.
Config.CommandAlias 'mlrhand' Second command name.
Config.RequireDriverSeat true The editor opens only from the driver seat.

#Permissions

Any one of these is enough.

Option Default Description
Config.AcePermission 'mlr-hand.use' ACE permission name.
Config.UseQBCorePermission true Allow QBCore/QBox permission level.
Config.QBCorePermissionLevel 'god' Required QBCore level.
Config.UseESXPermission false Allow an ESX group.
Config.ESXGroup 'admin' The ESX group.

#Saving

Option Default Description
Config.SaveFilePath 'data/handlings.json' Where saved setups are stored.
Config.TemplatesFilePath 'data/templates.json' Where templates are stored.
Config.WriteAggregateHandlingMeta true Write the saved values to an aggregate handling.meta loaded at start-up.
Config.AggregateHandlingMetaPath 'data/overrides_handling.meta' Path of that file.
Config.WriteSourceHandlingMeta false Also patch the original vehicle pack handling.meta. Back up first.
Config.BackupHandlingMetaBeforeWrite true Creates a .mlr-hand.bak copy on the first write.

#Sync

Option Default Description
Config.SyncBytesPerSecond 50000 Bandwidth used to send saved setups to players.
Config.SyncRequestDelay 5000 Delay (ms) before a joining player asks for the setups.

#Limits

Option Default Description
Config.EnableGlobalSpeedLimit true Hard speed cap for every vehicle.
Config.GlobalMaxSpeedKmh 320.0 The cap in km/h.

#Templates and presets

Option Description
Config.TemplateScanFolders Folders with handling.meta files to import as templates (Windows hosts only).
Config.TemplateScanResources Resource names to scan for templates.
Config.AutoScanTemplatesOnEmpty Build the template list on start when it is empty.
Config.Presets The quick presets shown in the Preset menu. Each preset multiplies, sets or adds to fields.
Note

config.lua and locales/*.lua stay editable in the escrow version.