Preview
Configuration
How Valencia resources are configured — without touching frontend code.
Principles
- Server-wide behaviour lives in Lua configuration files
- Every option has a sensible default and a comment
- Player preferences are set in-game and saved per player
- No HTML, CSS or JavaScript edits are needed to configure a product
Example
The planned module configuration of Valencia HUD:
config/modules.lua
Planned configuration
Config.Modules = {
health = true,
armor = true,
hunger = true,
thirst = true,
stress = false,
money = { cash = true, bank = true, black = false },
speedometer = { enabled = true, unit = 'kmh' },
}
Config.DefaultLayout = 'compact' -- classic | compact | minimal | competitive