Store

Configuration

All configuration options for legacy-progressbar

All options are set in config.lua.

Appearance#

OptionTypeDefaultDescription
Config.Versionstring'1.0.0'Resource version (used by the automatic version checker)
Config.Localestring'en'Language file from the locales/ folder
Config.Positionstring'bottom'Bar position: 'bottom' (bottom-center) or 'middle' (center of screen)
Config.BarHeightnumber8Bar thickness in pixels
Config.BarWidthnumber280Bar width in pixels
Config.ShowPercentagebooleantrueShow percentage counter next to the label
Config.ShowIconbooleantrueShow icon next to the label (when provided)
Config.GlowIntensitynumber0.6Leading edge glow strength (0 to 1, 0 disables glow)
Config.AnimationDurationnumber300Entry/exit animation duration in milliseconds
Info

The UI accent color is now configured globally in legacy-lib. See the Legacy Lib Configuration page.

Test Commands#

OptionTypeDefaultDescription
Config.EnableTestCommandsbooleantrueEnable /testprogress and /testprogresscancel commands
Config.TestCommandACEstring/boolean'group.admin'ACE permission required for test commands. false allows everyone
CommandDescription
/testprogressStart a 5-second test progress bar
/testprogresscancelStart a 10-second cancellable test progress bar

Cancel Keybind#

Players can cancel cancellable progress bars by pressing X (default). This keybind is registered as cancellegacyprogress and players can rebind it in Settings > Key Bindings > FiveM.