General Settings

This page covers the main configuration options in config/config.lua.

πŸ“ Configuration File

All general settings are located in:

0r-multicharacterv3/config/config.lua

πŸ› οΈ Developer Settings

Config.Debug = true           -- Enable debug messages in console
Config.DeveloperMode = true   -- Enable developer features
Option
Type
Default
Description

Debug

boolean

true

Prints debug info to F8/server console

DeveloperMode

boolean

true

Enables additional developer features


🌍 Language Settings

Config.Locale = 'en'  -- Language code

Available Languages

Code
Language

en

English

tr

Turkish

fr

French

ar

Arabic

Adding Custom Languages

  1. Copy locales/en.json to locales/xx.json

  2. Translate all strings

  3. Set Config.Locale = 'xx'


🎯 General UI Settings

Option
Type
Default
Description

HideRadar

boolean

false

Hides the minimap during character selection

SkipWarning

boolean

false

Skips the initial warning screen

DisableDeleteCharacter

boolean

true

Prevents players from deleting characters

DisableDeleteCharacter = true is recommended for most servers to prevent accidental deletions.


πŸ”’ Character Slots

This is the base number of character slots. Additional slots can be added through:

  • Discord roles

  • Tebex purchases

  • Redeemable codes

  • Admin commands


πŸ“ ESX Prefix


πŸ“Š Logging Configuration

Option
Type
Values
Description

status

boolean

true/false

Enable or disable all logging

logger

string

'discord', 'ox_lib'

Logging system to use

Discord Webhook Setup

Configure webhooks in server/webhook.lua:


🎡 Background Music

Option
Type
Default
Description

status

boolean

true

Enable background music

volume

number

0.2

Music volume (0.0 = mute, 1.0 = max)

url

string

'bgmusic.mp3'

Audio filename

Using Custom Music

  1. Place your audio file in web/build/sounds/

  2. Update url with your filename

  3. Supported formats: .mp3, .ogg, .wav

Keep music files under 5MB for faster loading.


πŸŽ›οΈ Complete Config Example


➑️ Next Steps

Last updated