Skip to main content
On the first start, config.example.lua is copied to config.lua. Edit config.lua only. Updates never overwrite it, and a key you remove uses its default. Unknown keys and wrong values stop the resource with every problem listed. Stores, outfits and uniforms have their own page: Stores and uniforms.

Options

Prices

config.lua
The server computes every bill from its own copy of the saved appearance. A store MAY override any of these prices with its own prices table.

Payment

payment.accounts lists the ug-core accounts that pay, in order. The first account that holds the whole amount pays it, with a ledger row named after the store kind (ug-appearance:clothing). When none holds it, the save is refused and nothing changes. Without ug-core’s accounts module, every store is free. Wardrobes, the creator and the admin editor are always free.

Poses

config.lua
A pose is an animation (dict, name, optional flag), a scenario, or nothing (idle). The label comes from poses.<id> in locales/<code>.json. The page shows the pose picker when there are at least two poses.

Camera

config.lua
  • duration and ease (linear, inOut, in, out) shape every camera move.
  • Each preset sets the distance in front of the ped, the height from its center and the field of view. Each category picks a preset, and the player MAY switch.
  • The mouse wheel zooms between minDistance and maxDistance.

Languages

Labels come from locales/<code>.json, picked by ug-lib’s locale setting. English and Portuguese ship with the resource. To add a language, copy locales/en.json and translate the values. Every locale MUST have the same keys.