Configuration
All configuration options for legacy-progressbar
All options are set in config.lua.
Appearance#
| Option | Type | Default | Description |
|---|---|---|---|
Config.Version | string | '1.0.0' | Resource version (used by the automatic version checker) |
Config.Locale | string | 'en' | Language file from the locales/ folder |
Config.Position | string | 'bottom' | Bar position: 'bottom' (bottom-center) or 'middle' (center of screen) |
Config.BarHeight | number | 8 | Bar thickness in pixels |
Config.BarWidth | number | 280 | Bar width in pixels |
Config.ShowPercentage | boolean | true | Show percentage counter next to the label |
Config.ShowIcon | boolean | true | Show icon next to the label (when provided) |
Config.GlowIntensity | number | 0.6 | Leading edge glow strength (0 to 1, 0 disables glow) |
Config.AnimationDuration | number | 300 | Entry/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#
| Option | Type | Default | Description |
|---|---|---|---|
Config.EnableTestCommands | boolean | true | Enable /testprogress and /testprogresscancel commands |
Config.TestCommandACE | string/boolean | 'group.admin' | ACE permission required for test commands. false allows everyone |
| Command | Description |
|---|---|
/testprogress | Start a 5-second test progress bar |
/testprogresscancel | Start 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.