Configuration
Customize Trinity UI to match your server’s look and feel.
Config Options
config.lua
Config = {}
-- Primary accent color used throughout the UI
Config.PrimaryColor = '#FF00FD'
-- Where notifications appear on screen
-- Options: 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'center-right' | 'center-left'
Config.NotificationPosition = 'top-right'
-- Play a sound when a notification appears
Config.NotificationAudio = true
-- Where the Text UI overlay appears
-- Options: 'right-center' | 'left-center' | 'top-center' | 'bottom-center'
Config.TextUIPosition = 'right-center'
-- Where the progress bar appears
-- Options: 'bottom' | 'top' | 'center' | 'bottom-right' | 'bottom-left'
Config.ProgressPosition = 'bottom'
-- Default position for list menus
-- Options: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'
Config.DefaultMenuPosition = 'top-left'
-- Global radial menu items (added to every radial menu)
Config.RadialMenuItems = {}
-- Enable debug logging in the client console
Config.Debug = trueRadial Menu Items
You can define persistent radial menu items in the config that appear whenever the radial menu is opened:
config.lua
Config.RadialMenuItems = {
{
icon = 'fa6-solid:phone',
label = 'Phone',
onSelect = function()
-- Open phone logic
end
},
{
icon = 'fa6-solid:car',
label = 'Garage',
onSelect = function()
-- Open garage logic
end
}
}Last updated on