Items
Buying work items into the inventory from the company account.
Get yecoyz_bossmenuBosses (and employees with the items permission) buy work items with money from the company account: radios, bandages, armour, weapons or anything else in your inventory. The items go straight into the buyer's inventory.
The shop
Each job has its own list, set up in game. Open /bossmenucreator, click the job on the left and go to the Items tab. From there you can add, edit and remove items. Every item has:
| Field | Description |
|---|---|
| Item name | The item name in your inventory |
| Name in the menu | Name shown in the boss menu |
| Price | Price of one, taken from the company account |
| Lowest rank that can buy | Picked from the job's own ranks |
| Category | Groups the list in the menu |
| Most at once | Optional. Most bought at once, for example 1 for weapons |
| Picture link | Optional. An https:// link to a png or jpg, used instead of the inventory's picture |
The buyer picks how many they want. The whole amount is paid at once, and the money is put back if the items don't fit in the inventory.
Changes are saved in the database and show in the boss menu right away. A new job starts with an empty list.
Example lists
sql/presets.sql has example lists for police, ambulance and mechanic (radio, bandage, armour, taser, pistol, medikit, repair kit). They are not added on their own. Run the file once in your database to get them, then change them in game. Running it again never overwrites a list a job already has.
Amounts
Config.Items.MaxAmount = 50The most of one item bought at once. An entry's own max can only lower it.
Pictures
Config.Items.Images = 'auto''auto' shows the item pictures of ox_inventory, qb-inventory or ps-inventory. nil shows an icon instead, or set your own folder with %s for the item name:
Config.Items.Images = 'nui://my_inventory/web/images/%s.png'TipPurchases show on the Items page, in the activity log and as expenses on the Economy page and the dashboard.