Agency-Vehiclekeys Commands
Advanced vehicle key system with lock/unlock, remote engine start, blinkers/indicators, job vehicle support, key.

01Commands
| Name | Description |
|---|---|
/givekey | Owner gives a shared vehicle key for the nearest/current vehicle to a target player ID. |
/gibschluessel | German alias for /givekey - shares vehicle keys with another player. |
/removekey | Owner revokes a previously shared vehicle key from a target player ID. |
/nimm_schluessel | German alias for /removekey - revokes shared vehicle keys from another player. |
/getvehiclename | Diagnostic: prints the spawn name of the vehicle the player is currently in to chat. |
+Good to know
This page lists all in-game commands available in Agency-Vehiclekeys. These commands allow players to manage vehicle keys, share access, and perform diagnostics related to vehicles. Both English and German aliases are provided for key sharing and revoking. No commands require admin privileges. Ensure Agency-Vehiclekeys is started on your server and dependencies are installed for full functionality.
- Key Sharing and Revoking
- Players can use /givekey or /gibschluessel to share a vehicle key with another player by specifying their player ID. To revoke a shared key, use /removekey or /nimm_schluessel with the target player ID. These commands are available to all players and do not require admin rights.
- Diagnostic Command
- The /getvehiclename command allows any player to print the spawn name of their current vehicle to the chat. This is useful for troubleshooting or confirming vehicle model names. No special permissions are needed to use this command.
- Language Support for Commands
- Each key sharing and revoking command has both English and German versions. Use /givekey or /gibschluessel for sharing, and /removekey or /nimm_schluessel for revoking. This ensures accessibility for both English- and German-speaking players.
?Frequently asked questions
Are any of the commands restricted to admins?
No, all commands listed for Agency-Vehiclekeys are available to all players. None of the commands require admin permissions, so any player can share or revoke vehicle keys and use the diagnostic command.
Do I need to configure anything to enable these commands?
The commands are enabled by default when Agency-Vehiclekeys is running. If you wish to change the command names, you must update the command name in the config. Restart the resource after making any config changes for them to take effect.
What dependencies are required for the commands to work?
For full functionality, ensure that Agency-Notify (recommended) and oxmysql (for persistence) are installed and running. The commands themselves do not require additional setup, but missing dependencies can affect key features and persistence.
What should I do if a command does not work in-game?
First, verify that Agency-Vehiclekeys is properly started on your server. Check that all required dependencies, such as Agency-Notify and oxmysql, are installed and running. If you have changed command names in the config, make sure you have restarted the resource.