Resource map
There are 21 code resources plus 4 asset-only ones, listed in ensure order. New features go into the resource that already owns that area; we avoid lots of small resources. Small quality-of-life features go in raze_smallresources.
| Resource | Owns |
|---|---|
raze_db | MySQL pool and migrations for everyone (server only) |
raze_core | Login, characters, spawning, digital accounts, metadata, saving, logging (DB + Discord) |
raze_ui | The one React NUI: every screen, toasts, progress bars, the radial wheel |
raze_voice | Voice and radio |
raze_chat | Chat |
raze_hud | Status and vehicle HUD, round minimap (display only) |
raze_interact | Every world interaction: look at it, scroll, press E |
raze_jobs | Jobs, ranks, duty, paychecks, the taxi, trucking and garbage jobs |
raze_business | Government, public and player-run businesses, rank permissions |
raze_banking | Accounts, branches, ATMs, transfers, invoices |
raze_appearance | Character creator, clothing, barber and tattoo shops, outfits |
raze_inventory | Slots and weight, containers, stashes, shops, weapons, crafting bench |
raze_props / raze_cars / raze_clothing / raze_mlo | Streamed assets only, from the asset repos |
raze_vehicles | Ownership, dealer, garages, impound, keys, fuel, damage, mechanic repair |
raze_emote | Emotes, walks, moods, partner emotes, props held in hand |
raze_medical | Death, respawn, injuries, the EMS job |
raze_police | Cuffs, escort, search, MDT and dispatch |
raze_phone | Phone and tablet apps, camera, photos, the Mober ride app |
raze_housing | Wiwang apartments, Sandy Shores trailers, furniture, doors |
raze_smallresources | Small quality-of-life features |
raze_admin | Staff menu, spawners, bans, warnings, logs |
raze_dev | Dev console commands. Test server only; never ensure it on live |
Each resource's shared types are in packages/shared/src/<area>.ts. Exports are typed there and registered with provideExports, so you can read a resource's API without opening its code.