Language, closing, server name, colors, effects, socials and tips.
All settings are in config.lua. Background, music and info panel have their own pages.
General#
| Option | Default | Description |
|---|
Config.Locale | 'en' | Language: 'en' or 'de' (files in locales/) |
Closing#
| Option | Default | Description |
|---|
Config.Close.trigger | 'playerLoaded' | 'playerLoaded': when ESX has loaded the character. 'spawned': on the first playerSpawned event |
Config.Close.delay | 1500 | Milliseconds to wait after the trigger, so the world can stream in |
Config.Close.fadeOut | 1200 | Fade-out duration in milliseconds |
Config.Close.maxTime | 180 | Safety net in seconds. The screen always closes after this time. It counts from the start of the client scripts |
Server name#
| Option | Default | Description |
|---|
Config.UI.server.name | 'K.O Service' | Name in the top left. The last word gets the accent color |
Config.UI.server.subtitle | 'NeoTech · V1' | Small line below the name |
Colors#
| Option | Default | Description |
|---|
Config.UI.theme.primary | '#ff8a1f' | Main color as #RRGGBB |
Config.UI.theme.secondary | '#e8590c' | Second color as #RRGGBB |
Effects#
| Option | Default | Description |
|---|
Config.UI.effects.animations | true | false turns off all animations (logo, CD, name glitch, glitch on fade-out) |
Config.UI.effects.nameGlitch | true | Short glitch on the server name |
Config.UI.effects.glitchMinGap | 3000 | Shortest gap between two glitches in milliseconds |
Config.UI.effects.glitchMaxGap | 5000 | Longest gap between two glitches in milliseconds |
Config.UI.effects.exitGlitch | true | Short full-screen glitch before the fade-out |
Top right#
| Option | Default | Description |
|---|
Config.UI.welcome.enabled | true | "Welcome, player name" |
Config.UI.playerCount.enabled | true | Player count, e.g. 13 / 64. The connecting player is counted |
Socials#
Every button has enabled and url. Without a url the button is not shown. A click copies the link, because a loading screen cannot open a browser.
| Option | Default | Description |
|---|
Config.UI.socials.discord | enabled = true, url = 'discord.gg/your-server' | Discord button |
Config.UI.socials.tiktok | enabled = true, url = 'tiktok.com/@your-server' | TikTok button |
Config.UI.socials.youtube | enabled = true, url = 'youtube.com/@your-server' | YouTube button |
Config.UI.socials.website | enabled = true, url = 'your-server.com' | Website button |
Tips#
| Option | Default | Description |
|---|
Config.UI.tips.enabled | true | Tips below the loading bar |
Config.UI.tips.interval | 7000 | Milliseconds per tip, at least 3000 |
Config.UI.tips.list | 3 example tips | List of texts |
tips = {
enabled = true,
interval = 7000,
list = {
'Press F1 to open your phone.',
'You can find the rules on our Discord.',
},
},
Texts#
All fixed texts (tabs, loading steps, player buttons) are in locales/en.lua and locales/de.lua and can be changed there.