v5.0.0
- Added an in-game Admin Dashboard (/garageadmin, command name configurable): create, edit and delete garages & impounds, manage all settings and the permission system - live, without a restart
- Garages, impounds and settings are now stored in the database (seeded once from your config on first start); the config files are only the default template afterwards
- Added a group & permission system: 8 garage/impound rights plus settings and permission management; group.admin always has everything, group.user can never open the dashboard; groups are taken from your server.cfg ACE groups
- Default garages can now be set per category (land / sea / air); deleting a garage reassigns its vehicles to the matching default, and default garages are protected from deletion
- Vehicle key script and target script are now selectable from a dropdown in the dashboard
- AdvancedParking is now detected automatically (removed Config.AdvancedParking)
- Split the config into config/settings.lua (managed by the dashboard) and config/static.lua (code hooks, not touched by the dashboard)
- Job garages can now allow individual ranks, not just a minimum grade: pick the job and tick the exact ranks in the dashboard
- Added more languages: HU, FR, ES, PT, PL (in addition to EN/DE) for both the in-game text and the dashboard
- Added a search bar and a vehicle-type filter to the garage and impound lists
- Marker and 3D text are disabled in the editor when the NPC is enabled (they only show in-world without a ped)
- Refreshed the dashboard fonts
- Fixed 'failed to load ped model' and the NPC not appearing after teleporting to a garage
- Fixed dashboard access for admins defined in the database (e.g. ESX group), not only server.cfg ACE groups
- Fixed the dashboard freezing when adding or deleting a group or entry
Changed files
config/settings.lua
config/static.lua
shared/admin_perms.lua
shared/utils.lua
locales/*
server/admin/*
server/vehicles.lua
client/admin/*
client/peds.lua
client/nui.lua
client/vehicles.lua
web/src/admin/*
web/src/styles/index.css
web/tailwind.config.ts
html/**