- The server validates names (3–40 characters, unique), categories and phone numbers.
- Owners can edit or close their businesses. Closing doesn’t refund the fee.
- With the Government Portal, new registrations can require approval first.
- The table
aps_businessesis created automatically.
Permits
Licenses a business can hold — alcohol, tobacco, transport, food hygiene, or your own. Players see the valid ones in the directory, and other scripts check them with the exports.review = falsegrants the permit as soon as it’s paid. Withreview = truethe application waits in the portal under Permit applications; a rejection refunds byConfig.Government.businesses.refundOnReject. Without the Government module every permit is granted on payment.- Renewing while the permit is still valid adds the days on top of the current expiry.
- Staff with
businesses.managecan revoke a permit. Closing a business ends all of its permits.
Business vehicles
- The owner registers vehicles they own. They stay in the owner’s garage tables and show as business vehicles in the Vehicle Registry and the portal.
- When the government links the business to a job (portal → Open record → Job link, e.g.
taxi), registered vehicles get that job inowned_vehicles.job, so job garages see them. Removing the vehicle, unlinking the job or closing the business clears it again. - QBCore’s
player_vehicleshas no job column by default; the console says so and the link is skipped. - Vehicles the owner sells or deletes drop out of the business automatically.
Employees & certificate
- The owner adds employees by their player ID — the player must stand within
maxDistance— and can remove them. Employees count forplayerHasPermitandisBusinessEmployee. - The certificate is an inventory item with the business name, owner, category and valid permits (ox_inventory metadata). Add the item to your inventory first.
