GR1M Docs

Garage Admin

Admin lookup for any character's garages and owned vehicles, online or offline. Reads GR1M_Garage's player_vehicles, player_priv_garages and garage list. No tables of its own.

v1.0.0Needs ox_lib, oxmysql, qbx_core

#Use

/garagelookup (admins). Search by character name, citizen ID, server ID, FiveM name or plate. Empty search lists every character: online first, then the most recently played (Config.BrowseLimit, 300).

Per character: every vehicle grouped by garage, with plate, model, nickname, status (stored, out in the world, marked out but not spawned, impounded), fuel / engine / body / tank from the last save, saved dents, mods summary and impound details (lot, fee, officer, hold time, reason), and everything in the trunk and glovebox (ox_inventory; live contents when the inventory is loaded, otherwise the last save in player_vehicles.trunk / glovebox, with serials, durability and ammo). The header totals every item and every currency in Config.Currencies (cash, dirty money, money bags...) across all their vehicles; each car row shows its item count and money.

Actions (server checked):

Never spawns a copy. Use /garageadmin for fix, plate, owner and delete.

#server.cfg

ensure GR1M_GarageAdmin
add_ace resource.GR1M_GarageAdmin command.add_ace allow
add_ace resource.GR1M_GarageAdmin command.remove_ace allow

ensure after GR1M_Garage. The command ace (command.garagelookup) is added to group.admin by ox_lib. Change Config.CommandGroup to restrict it further.