legacy-garages
Overview
What legacy-garages is and how it fits into a server built around jg-advancedgarages.
Overview
legacy-garages ("Bayview Garages") is a personal, job, gang and impound vehicle garage system, built as a drop-in replacement for jg-advancedgarages.
It is designed so that:
- Existing
player_vehiclesdatabase rows continue to work with no migration. - Third-party resources hardcoded against
jg-advancedgarages(e.g.vms_housing,rcore_police,lb-phone) keep working unmodified, because legacy-garagesprovide()s thejg-advancedgaragesresource name in its manifest and mirrors everyjg-advancedgarages:*export/event under an equivalentlegacy-garages:prefix. - Server owners can switch over without touching any other script that talks to garages.
Feature set
- Personal garages (
Config.Garages) — public garages for player-owned vehicles. - Job garages (
Config.JobGarages) — eitherowned(society vehicles pulled from the DB, grade-gated) orspawner(a fixed fleet spawned fresh each time, presented via a 3D turntable showroom with livery/colour/extras customisation). - Gang garages (
Config.GangGarages) — gang members' personal vehicles. - Impound lots (
Config.Impounds) — police-staffed impound and release flow, or delegation to an external impound-release resource. - Vehicle finance — optional integration with
jg-dealershipsfor financed vehicle payments/payoff. - Saved showroom loadouts — per-character extras/livery/colour configs persisted in
legacy_garages_loadouts.
What's intentionally different from JG
- The "Go inside" interiors feature from jg-advancedgarages is not implemented.
- Vehicle type (car/air/sea) is inferred from the garage a vehicle is stored in, not a database column, since JG's schema has no
typecolumn.
See Installation for setup steps, Configuration for the full config reference, and Integration for how to call into this resource from your own scripts.