> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-multispawn/configuration.md).

# Configuration

Most settings are in `config.lua`.

### Birth years

The newest allowed birth year is always last year. In 2026, the maximum is 2025. The UI only lists valid years, and the server rejects anything else.

### Phone numbers

`Config.Phone.System = 'auto'` uses lb-phone if it's running, reading its `phone_phones` table. Otherwise it uses qb-phone or `charinfo`. Set `Config.Phone.Show = false` to hide phone numbers.

### Weather sync

`Config.WeatherSync` can be `'qb-weathersync'`, `'cd_easytime'` or `false`. With one of the first two, the weather sync is paused while the player is in the menus, so `Config.Selection.Time` isn't overwritten. It's turned back on after spawning.

### Anticheat

`Config.Anticheat` controls how the anticheat is handled:

* `'sbanticheat'`: the player is whitelisted in SB AntiCheat while in the menus, and removed after they spawn.
* `'custom'`: fill in `CustomAnticheat.Pause` and `CustomAnticheat.Resume` in `anticheat.lua`.
* `false`: no anticheat handling.

### Selection screen framing

The preview ped is centred on screen. `Config.Selection.CamYawOffset` shifts it: negative for left, positive for right, and `0` for centred.

### Map calibration

`Config.Map.Transform` is calibrated for the included `map.png`, where north points left. If you swap the image, set `Config.Map.Debug = true`. The map then shows the world X and Y under your cursor, so you can line it up.
