Koja Spawn Selector
Koja Spawn Selector lets players choose where they wake up on a live 3D map of San Andreas — terrain, buildings, the server's time and weather — and then flies the camera from the sky down to their character. It is built on koja-lib, uses the same look as Koja Appearance and gives other scripts a full API to add locations, lock them and react to spawns.
This section covers version 1.0.0 of the resource.
What you get
| Area | What is in it |
|---|---|
| 3D map | Radar tiles with level of detail, terrain, extruded buildings, day / night, rain and snow, road route from the last location, game blips |
| Live preview | The card shows the selected spot live from a camera circling it, or the photo taken in the editor |
| Locations | Last location, arrival points, properties, job and gang spawns, city spawns and timed events — grouped, searchable, with favourites |
| Locks | Jobs with a minimum grade, on duty, gangs, ACE permissions and your own checks. Locked spots stay visible with a "Police only" badge |
| Anti combat log | Combat logouts and relogs are recorded, shown to nearby players, logged to Discord and lock the last location. Death forces the hospital, jail forces the prison |
| Vehicles | Spawn in the driver seat of a car — from config, the editor or a garage provider |
| Admin tools | In-game location editor with map picking and photos, timed events, spawn statistics |
| Camera flight | A top-down shot, a descent to the street and a hand-over to the gameplay camera, with a letterbox caption |
| Integrations | ESX, a drop-in replacement for qb-spawn, 6 housing scripts, jail and ambulance flags, Koja Multicharacter |
| Developer API | Client and server exports, providers, access checks, restrictions, last location rules, events and import.lua |
| Languages | 10 languages: cs, de, en, es, fr, it, nl, pl, pt-BR, tr |
Quick facts
- Frameworks: ESX, QBCore and QBox, through koja-lib.
- Requires:
koja-libandoxmysql.screenshot-basiconly for editor photos. - Security: locks, restrictions and the chosen location are checked on the server. The UI never decides access, and a restricted player cannot cancel.
- Database: four
koja_spawnselector*tables, created on start. - UI: shipped prebuilt in
web/dist. You only need Node and pnpm to change it.
Start here
-
Install it
Installation — dependencies,server.cfgorder and what to remove. -
Configure it
Configuration — every option inshared/config.luaand the spawn definition. -
Learn what it does
Features — the map, live preview, locks, vehicles and integrations. -
Stop combat logging
Anti combat log & restrictions — death, jail, relogs and forced spawns. -
Use it from your own code
Developer API — houses, garages, motels or anything else as a spawn location.
In this section
Dependencies, start order and framework setup.
Every Config option and the spawn definition.
Map, live preview, locks, vehicles, sounds and integrations.
Combat logs, death, jail and restrictions.
Editor, photos, events and stats.
Exports, providers, access checks and events.
Languages and adding your own.
The koja_spawnselector tables.
Fixes for the problems people actually hit.