Commands
Garage Commands
This page details all the commands available for managing garages in the server. Some commands are available to all players, while others are restricted to admins or specific jobs.
/mygarages
/mygaragesDescription: View all the garages you have access to. This includes private, public, and shared garages.
Usage:
/mygaragesPermissions: Available to all players.
Notes:
- Displays a list of garages with the type (private, public, shared) and current status. 
- Allows you to quickly navigate or access your vehicles. 
/impoundpanel
/impoundpanelDescription: Open the impound panel to view, retrieve, or manage impounded vehicles.
Usage:
/impoundpanelPermissions:
Restricted to police jobs (defined in config.PoliceJobs).
Notes:
- Only players with a police job can access the impound panel. 
- Allows viewing and managing impounded vehicles. 
- Players can retrieve vehicles following the server’s impound rules. 
/garageadmin
/garageadminDescription: Admin-only command to manage garages. Allows creating, editing, and deleting garages.
Usage:
/garageadminPermissions: Admin-only.
Notes:
- Provides full control over garages on the server. 
- You can assign access, set garage type, and manage logs. 
/changeplate
/changeplateDescription: Admin-only command to change a vehicle's license plate.
Usage:
/changeplate [vehicleID] [newPlate]Permissions: Admin-only.
Notes:
- Checks if the vehicle exists in the database before applying the change. 
- Helps resolve plate conflicts or implement custom plate changes. 
- Integrated with server callbacks for verification and logging. 
⚠️ Important Notes
- Admin commands ( - /garageadmin,- /changeplate) require proper permissions to avoid abuse.
- Job-restricted commands ( - /impoundpanel) only work for configured jobs (- config.PoliceJobs).
- Always check vehicle ownership and garage access before modifying vehicles. 
Last updated