Skip to main content
Convars win over config files. Names follow two patterns:
  • ug-core:<Key> for config/core.lua
  • ug-core:<Config>:<Key> for every other config
Both parts are PascalCase: maxCharacters in config/characters.lua becomes ug-core:Characters:MaxCharacters.
server.cfg

Value rules

  • Booleans take true, false, 1 or 0.
  • Numbers and integers go through tonumber, then the option’s checks.
  • Tables and vectors cannot be set by convar.
  • An invalid convar is a boot error, like an invalid config value.

Every convar

<Module> is any optional module: Characters, Accounts, Jobs, Gangs, Sessions, Commands, Locale, Items, Inventory, Weapons, Shops, Needs.
The txAdmin recipe writes every convar above to convars.cfg, set to its default.
Each generated config file lists the convar of every option.

Convar-only settings

These run before config loads, so they have no config file option.