Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Vehicle inventory retention optimization suggestions #62

@JaysonLLL

Description

@JaysonLLL

Is your feature request related to a problem? Please describe.
I'm using AdvancedParking so user-owned vehicles don't disappear, but I've found that vehicle inventory disappears after a restart because vehicle inventory isn't saved in owned_vehicles.
Example: When a user stores items in a non-user-owned vehicle that isn't saved in owned_vehicles, the stored items disappear after a server restart, and the loot in the vehicle is refreshed.

[script:ox_inventory] [ox_inventory] [INFO] Saved 0/1 trunks (2.5501 ms)
[script:ox_inventory] [ox_inventory] [INFO] Saved 0/1 gloveboxes (2.9508 ms)

Describe the solution you'd like

  1. Add a configuration to enable/disable temporary inventory of unowned vehicles;
  2. Add a new unowned_vehicles entry or directly use ox_inventory to record inventory data for the glovebox and trunk.
    This will benefit other scripts, such as those used by users renting or temporarily using vehicles.

Describe alternatives you've considered
N/A

Additional context
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions