v2.1

This update had some major known bugs. Please upgrade the v2.1.1 patch: https://docs.jgscripts.com/advanced-garages/changelog/v2.1.1

Changelog

  • Vehicle damage inconsistencies fixed!

  • All new private garages manager: create, edit, delete and add multiple players

  • Vehicle nicknames

  • New "personal" job/gang garage type for storing personal vehicles

  • Configure blip per-garage

  • Vehicle P2P transfer blacklist

  • UI to set livery and extras when using vehicle spawner garages

  • ti_fuel integration

  • A LOT of bug fixes

SQL

You need to run the following SQL in your database to migrate to v2.1

QBCore Users
-- player_priv_garages
ALTER TABLE player_priv_garages ADD COLUMN IF NOT EXISTS owners LONGTEXT;
UPDATE player_priv_garages SET owners = json_array(json_object('id', citizenid, 'name', (SELECT name FROM players WHERE citizenid = citizenid LIMIT 1)));
ALTER TABLE `player_priv_garages` DROP `citizenid`;

-- player_vehicles
ALTER TABLE `player_vehicles` ADD COLUMN IF NOT EXISTS `nickname` VARCHAR(255) DEFAULT '';
ESX Users
-- player_priv_garages
ALTER TABLE player_priv_garages ADD COLUMN IF NOT EXISTS owners LONGTEXT;
UPDATE player_priv_garages SET owners = json_array(json_object('id', owner, 'name', (SELECT firstname FROM users WHERE identifier = owner LIMIT 1)));
ALTER TABLE `player_priv_garages` DROP `owner`;

-- owned_vehicles
ALTER TABLE `owned_vehicles` ADD COLUMN IF NOT EXISTS `nickname` VARCHAR(255) DEFAULT '';

Files Changed & Configuration

For the smoothest migration, re-configure your script from scratch in the Configurator.

All files have been changed and some new ones added. Please re-install the script, then import your existing config.lua to the https://configurator.jgscripts.com/advanced-garages

Make sure you triple check your configuration in the Configurator and make any necessary changes. Some new options have been added and other options removed. Most notably, blips are now applied on a per-garage basis, so make sure these are filled in!

Last updated