Skip to main content
Files live in ug-core/config/ and are generated on first boot. A disabled module has no config file. See Configuration for how values resolve. The Side column says who can read the value: server only, or shared with clients through GlobalState[UgCore.Enums.GlobalState.Config].

core

guard

modules

One boolean per optional module, all true by default: characters, accounts, jobs, gangs, sessions, commands, locale, items, inventory, weapons, shops. Required modules are not listed.

identity

permissions

admin inherits moderator and has ug.admin. founder inherits admin. See Permissions and groups.

players

config/players.lua
PVP and racing servers set downed.enabled = false and respawn.auto = true.

characters

items

Data config. Your file replaces the defaults: water, bread, bandage, and the weapon items of the default config/weapons.lua. See Items.

inventory

weapons

See Weapons.

shops

Each item is { name, price, stock?, restock?, metadata? }. See Shops.

accounts

Each account is { label, startingBalance, allowNegative }, keyed by a camelCase name. 1 to 32 accounts.

jobs

Data config. Your file replaces the defaults. unemployed MUST exist. See Jobs.

gangs

Data config. none MUST exist. Same shape as jobs, without defaultDuty. See Gangs.

needs

Each need is { label, start, rate, damage }, keyed by a camelCase name. 1 to 16 needs. start goes from 0 to 100, rate is the change per minute (negative drains), damage is the health lost per tick at 0. interval goes from 1000 to 300000 ms. See Needs.