Configuration
Config File (config.lua)
The config/config.lua file defines your server branding, story options, and all available spawn locations with full control over their visuals and coordinates.
Locale
Sets the active language for the UI.
Config.Locale = "en"Must match a file in the locales/ folder (default: en.lua)
UI Settings
Config.UISettings = {
['serverHeader'] = "SAKA <span>ROLEPLAY</span>",
['storeLabel'] = "SAKA <br>STORE",
['serverLabel'] = "Saka Roleplay",
['serverLogo'] = "https://.../sakaIcon.png",
['serverLogoLight'] = "https://.../serverIcon.png",
}Used to brand the spawn UI:
serverHeader: Displayed at the top of the UI
storeLabel: Label shown in the store/info section
serverLabel: Label shown inside UI panels
serverLogo / serverLogoLight: URLs for logos (dark and light themes)
💡 Host these images yourself or use a CDN for maximum performance.
Character Stories Options
If true, players can write a short character story before spawning
Shown in the UI if enabled
Spawn Locations
Each entry supports:
key: Internal identifier
cityName: Displayed on the card
placeName: Subtitle / location name
imageUrl: Image shown in the selector card (can be relative or hosted)
mapIcon: Small icon shown on minimap overlay
spawnCoords: Exact coordinates where the player will spawn
🗺️ Add or remove entries freely — the UI updates dynamically based on this list.
Theme File (theme.lua)
This file defines two built-in visual themes:
light — brighter UI
dark — darker, more immersive look
Each theme is split into three sections:
general
shortcuts
settings
General
Controls base UI colors like background and close button styles.
Shortcuts
Styles all keyboard hints, buttons, and borders.
Settings
Used for toggles, sliders, music player, and theme panel.
💡 All color values accept either HEX (#RRGGBB, #RRGGBBAA) or rgba().
Creating Your Custom Theme
You can also duplicate and rename the "light" or "dark" block to create a custom theme:
Then activate it in your config:
Open Event
To trigger Saka Spawn Selection from other resource use this events.
or
Last updated