Stolen Key Lifecycle
Keys obtained through NPC theft, lockpick-found-keys or hotwire are temporary stolen/session keys.
Config.StolenKeys = {
RemoveOnVehicleExit = true,
MaxDurationSeconds = 900,
ExitGraceMs = 1200,
ServerCheckMs = 750,
}
Default behaviour:
- The stolen key is issued for the specific vehicle.
- The player can use the vehicle normally while the stolen key is valid.
- After the player enters the vehicle and later exits it, the stolen key is revoked.
- The physical
vehicle_keyitem for that stolen access is removed. - A safety timeout removes abandoned session keys even if the player never enters the vehicle.
Permanent owner/shared/admin keys are not removed by the stolen-key cleanup flow.