Configuration
Edit config.lua in the resource folder to customize the UI.
Settings Reference
| Setting | Type | Default | Description |
|---|---|---|---|
useConvars | boolean | false | Use server.cfg convars instead of this config file |
primaryColor | string | "#FF0000" | Hex color for the entire UI theme |
primaryShade | number | 6 | Color shade: 0 (lightest) to 9 (darkest) |
locale | string | "en" | Language — check locales/ folder for available options |
notificationDuration | number | 3000 | Default notification duration in milliseconds |
progressCancelKey | string | "X" | Key to cancel progress bars |
notificationPosition | string | "top-right" | Notification position on screen |
textUIPosition | string | "right-center" | Text UI position on screen |
radialOpenMode | string | "hold" | "press" or "hold" to open radial menu |
radialOpenKey | string | "z" | Key to open the radial menu |
contextMenuPosition | string | "right" | Context menu side |
progressBarPosition | string | "bottom-center" | Progress bar position on screen |
Position Options
Notification Positions
"top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"
Text UI Positions
"right-center", "left-center", "top-center", "bottom-center"
Context Menu Positions
"right", "left"
Progress Bar Positions
"top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"
Supported Languages
| Language | Code | Language | Code |
|---|---|---|---|
| English | en | Polish | pl |
| French | fr | Portuguese | pt |
| Spanish | es | Romanian | ro |
| German | de | Turkish | tr |
| Italian | it | Czech | cs |
| Dutch | nl | Russian | ru |
Full Config Example
return {
useConvars = false,
primaryColor = "#FF0000",
primaryShade = 6,
locale = "en",
notificationDuration = 3000,
progressCancelKey = "X",
notificationPosition = "top-right",
textUIPosition = "right-center",
radialOpenMode = "hold",
radialOpenKey = "z",
contextMenuPosition = "right",
progressBarPosition = "bottom-center",
}Last updated on