overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
440 stars 682 forks source link

Add the option to lock stashes to an item #1781

Open Mytic2330 opened 2 weeks ago

Mytic2330 commented 2 weeks ago

Is your feature request related to a problem? Please describe. Issue is not related to a problem but is soley our servers need, so I thought why not share it.

Describe the solution you'd like So currently you can lock a stash to a group (job) and that isn't practical if multiple people share for example a house. So adding a canInteract and checking if the player has the item we want is the sollution I propose.

Describe alternatives you've considered The althernative is to add all the jobs the players have but that isn't really practical.

Additional context

Mytic2330 commented 2 weeks ago

1782