Installation — lumo-spawn
Pick your framework and follow only that section, then run the test checklist.
Back up first: your database and the spawn resource you are replacing.
QBCore
- Copy
lumo-spawnintoresources/. - Stop qb-spawn (move it out of
[qb], see Disabling a resource). Do not run both: this resource declaresprovide 'qb-spawn'. server.cfg:cfglumo-spawn must start before the character script.ensure oxmysql ensure qb-core ensure lumo-spawn ensure [qb] # includes qb-multicharacter / qb-apartments- Restart. Console:
[lumo-spawn] ready — framework: qb.
Qbox (qbx_core)
- Copy
lumo-spawnintoresources/. - Move the real
qbx_spawnout of[qbx](see Disabling a resource). - Choose:
- With lumo-multicharacter (
useExternalCharacters = true): nothing else. - Keeping Qbox's own character selection: also copy
[compat]/qbx_spawn(next tolumo-spawnin the download) into your resources folder. It is an empty marker:qbx_coreonly hands over to a resource namedqbx_spawn. Its README explains why. Not needed? Leave[compat]out.
- With lumo-multicharacter (
server.cfg:cfgensure ox_lib ensure [qbx] ensure qbx_spawn # only the marker, only if you kept Qbox's selection ensure lumo-spawn- Restart. Console:
[lumo-spawn] ready — framework: qbx. If it saysqb, setFramework = 'qbx'inbridge/config.lua.
qbx_properties apartments are offered in the houses list when you own one.
ESX (es_extended)
- Copy
lumo-spawnintoresources/. server.cfg:cfgensure oxmysql ensure es_extended ensure lumo-spawn ensure lumo-multicharacter # or a character script that fires qb-spawn:client:setupSpawns- Restart. Console:
[lumo-spawn] ready — framework: esx.
Stock esx_multicharacter does not open a spawn selector; pair this with lumo-multicharacter (or any script that fires the stock qb-spawn events).
- Properties: owned esx_property properties show in the map and spawn you at the front door. Both the ESX Legacy version (
properties.json) and the older table version (owned_properties) work. Characters with no property see only public spawns and their last location. - Apartments: ESX has no apartment system, so that tab stays hidden.
- After the spawn, the saved skin is applied and ESX's spawn events fire (
esx:onPlayerSpawn,playerSpawned,esx:restoreLoadout), like esx_multicharacter does. - Supported: ESX Legacy 1.6 and newer, including the current release.
Standalone (no framework)
- Copy
lumo-spawnintoresources/. server.cfg:cfgensure oxmysql ensure ox_lib # optional ensure lumo-spawn ensure lumo-multicharacter # optional add_principal identifier.license:YOUR_LICENSE group.admin # /spawneditor- Restart. Console:
[lumo-spawn] ready — framework: standalone.
Without lumo-multicharacter the map opens as soon as the player joins (Config.Standalone.OpenOnJoin), and their last location is remembered per Rockstar licence. With it, the map opens after a character is picked and the last location is per character. See Standalone.
Disabling a resource inside a category
ensure [qb] / ensure [qbx] start everything in that folder, so deleting a line does nothing. Move the old resource to a category nothing ensures:
resources/
[qbx]/
[disabled]/ <- create this
qbx_spawn/ <- move it hereDatabase
spawn_locations is created automatically and filled from QB.Spawns on first start (sql/install.sql if you prefer importing by hand). After that, the database wins over the config: edit with /spawneditor.
Coming from a build that used qb_spawn_locations: run sql/migrate-qb_spawn_locations.sql once. It renames the table and keeps every saved point.
Moving from the lumo-bridge edition
- Replace the whole
lumo-spawnfolder (do not merge). - Move any changes you made in
lumo-bridge/config.luaintolumo-spawn/bridge/config.lua. lumo-bridgeis no longer needed by this script. Keep it only if other Lumo resources still list it.- The Qbox marker now ships as
[compat]/qbx_spawn, next tolumo-spawn. - No database changes.
Test checklist
- [ ] After picking a character, the spawn map opens and responds to the mouse
- [ ] Every configured location spawns you in the right place
- [ ] Reconnect: "Last location" puts you where you logged off
- [ ] Owned house / apartment spawn, if you run a housing script
- [ ]
/spawneditorworks for an admin and is refused for a normal player - [ ] Editor changes survive a restart