Item setup
Items for BeeKeeping. Paste the matching snippet into your items file, then copy PNGs from [INSTALL]/images/ (see Item images).
Paste the matching snippet into your items file, then copy PNGs from [INSTALL]/images/ (see Item images).
| Inventory | Image folder |
|---|---|
| ox_inventory | ox_inventory/web/images/ |
| qb-inventory / ps-inventory | html/images/ |
| one_inventory | one_inventory/web/images/ |
| Kora (kora_inventory) | kora_inventory/images/ |
- OX —
ox_inventory/data/items.lua(ESX and Qbox that run ox use this tab). Same text ships as[INSTALL]/items/ox_inventory_items.txt. - QB —
qb-core/shared/items.lua(or your shared items path). - one_inventory — use
[INSTALL]/items/one_inventory_items.txt. It is the same item set in one_inventory's shape (an item definitions call), so paste it into a server script that starts after one_inventory. The PNGs go inone_inventory/web/images/. - Kora — see the Kora tab below, or
[INSTALL]/items/kora_items.txt.
Restart the inventory resource after pasting. The script registers item use itself through Newb_Bridge, so the definitions need no use handler. Item names have to match the setup panel. If you rename one there, register that name instead.
one_inventory
Required: set the inventory to one_inventory in the Newb_Bridge resource settings. one_inventory provides itself as ox_inventory and is not fully compatible with its image paths, so on auto detect item images do not load and the shop can fail to open. See Newb_Bridge configuration.
Usable items are beehive, beehive_rustic, queen_bee, bee_trap, beekeeping_guide, and beekeeper_suit. Honeycomb is not usable and does not stack. Each frame keeps its own honey amount.
Add to ox_inventory/data/items.lua:
["beehive"] = {
label = "Beehive",
weight = 2000,
stack = false,
close = true,
description = "A portable beehive. Use to place a hive in the world.",
},
["beehive_rustic"] = {
label = "Rustic Beehive",
weight = 2000,
stack = false,
close = true,
description = "An alternate hive shell. Same colony gameplay, different look.",
},
["honeycomb"] = {
label = "Honeycomb",
weight = 50,
stack = false,
close = true,
description = "A filled honeycomb frame from a hive. Spin it in a honey separator for jars.",
},
["queen_bee"] = {
label = "Queen Bee",
weight = 10,
stack = true,
close = true,
description = "A queen bee. Use to inspect genetics, or install in a hive to start production.",
},
["worker_bees"] = {
label = "Worker Bees",
weight = 10,
stack = true,
close = true,
description = "Worker bees for your hive. Required for honey and wax production.",
},
["bees_wax"] = {
label = "Bees Wax",
weight = 1,
stack = true,
close = true,
description = "Beeswax harvested from a hive. Can be sold to the beekeeper.",
},
["bees_honey"] = {
label = "Wild Honey",
weight = 1,
stack = true,
close = true,
description = "Default wild honey from hives outside specialty pollen regions.",
},
["blue_honey"] = {
label = "Blue Blossom Honey",
weight = 1,
stack = true,
close = true,
description = "Coastal blue-region honey with a light floral finish.",
},
["green_honey"] = {
label = "Forest Bloom Honey",
weight = 1,
stack = true,
close = true,
description = "Forest-region honey with deep woodland notes.",
},
["red_honey"] = {
label = "Desert Flame Honey",
weight = 1,
stack = true,
close = true,
description = "Desert-region honey with a rich, warm profile.",
},
["amber_honey"] = {
label = "Amber Dune Honey",
weight = 1,
stack = true,
close = true,
description = "Amber dune-region honey with a golden sweetness.",
},
["lavender_honey"] = {
label = "Lavender Ridge Honey",
weight = 1,
stack = true,
close = true,
description = "Lavender ridge-region honey with a soft floral aroma.",
},
["citrus_honey"] = {
label = "Coastal Citrus Honey",
weight = 1,
stack = true,
close = true,
description = "Coastal citrus-region honey with bright, zesty notes.",
},
["wildflower_honey"] = {
label = "Wildflower Meadow Honey",
weight = 1,
stack = true,
close = true,
description = "Wildflower meadow-region honey with mixed floral tones.",
},
["bee_trap"] = {
label = "Bee Trap",
weight = 500,
stack = true,
close = true,
description = "Set it down inside a wild bee swarm and leave it. Come back later to collect the worker bees. May also hold a queen.",
},
["beekeeping_guide"] = {
label = "Beekeeper's Strain Guide",
weight = 250,
stack = false,
close = true,
description = "A field guide to queen strains and regional honey production. Use to read.",
},
["beekeeper_suit"] = {
label = "Beekeeper Suit",
weight = 1500,
stack = false,
close = true,
description = "A full veil and coveralls. Use to put it on or take it off. Wild bees cannot sting you while it is on.",
},Add to your QBCore shared items (qb-core/shared/items.lua):
['beehive'] = { name = 'beehive', label = 'Beehive', weight = 2000, type = 'item', image = 'beehive.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A portable beehive. Use to place a hive in the world.' },
['beehive_rustic'] = { name = 'beehive_rustic', label = 'Rustic Beehive', weight = 2000, type = 'item', image = 'beehive_rustic.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'An alternate hive shell. Same colony gameplay, different look.' },
['honeycomb'] = { name = 'honeycomb', label = 'Honeycomb', weight = 50, type = 'item', image = 'honeycomb.png', unique = true, useable = false, shouldClose = true, combinable = nil, description = 'A filled honeycomb frame from a hive. Spin it in a honey separator for jars.' },
['queen_bee'] = { name = 'queen_bee', label = 'Queen Bee', weight = 10, type = 'item', image = 'queen_bee.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'A queen bee. Use to inspect genetics, or install in a hive to start production.' },
['worker_bees'] = { name = 'worker_bees', label = 'Worker Bees', weight = 10, type = 'item', image = 'worker_bees.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Worker bees for your hive. Required for honey and wax production.' },
['bees_wax'] = { name = 'bees_wax', label = 'Bees Wax', weight = 1, type = 'item', image = 'bees_wax.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Beeswax harvested from a hive. Can be sold to the beekeeper.' },
['bees_honey'] = { name = 'bees_honey', label = 'Wild Honey', weight = 1, type = 'item', image = 'bees_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Default wild honey from hives outside specialty pollen regions.' },
['blue_honey'] = { name = 'blue_honey', label = 'Blue Blossom Honey', weight = 1, type = 'item', image = 'blue_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Coastal blue-region honey with a light floral finish.' },
['green_honey'] = { name = 'green_honey', label = 'Forest Bloom Honey', weight = 1, type = 'item', image = 'green_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Forest-region honey with deep woodland notes.' },
['red_honey'] = { name = 'red_honey', label = 'Desert Flame Honey', weight = 1, type = 'item', image = 'red_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Desert-region honey with a rich, warm profile.' },
['amber_honey'] = { name = 'amber_honey', label = 'Amber Dune Honey', weight = 1, type = 'item', image = 'amber_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Amber dune-region honey with a golden sweetness.' },
['lavender_honey'] = { name = 'lavender_honey', label = 'Lavender Ridge Honey', weight = 1, type = 'item', image = 'lavender_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Lavender ridge-region honey with a soft floral aroma.' },
['citrus_honey'] = { name = 'citrus_honey', label = 'Coastal Citrus Honey', weight = 1, type = 'item', image = 'citrus_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Coastal citrus-region honey with bright, zesty notes.' },
['wildflower_honey'] = { name = 'wildflower_honey', label = 'Wildflower Meadow Honey', weight = 1, type = 'item', image = 'wildflower_honey.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Wildflower meadow-region honey with mixed floral tones.' },
['bee_trap'] = { name = 'bee_trap', label = 'Bee Trap', weight = 500, type = 'item', image = 'bee_trap.png', unique = false, useable = true, shouldClose = true, combinable = nil, description = 'Set it down inside a wild bee swarm and leave it. Come back later to collect the worker bees. May also hold a queen.' },
['beekeeping_guide'] = { name = 'beekeeping_guide', label = "Beekeeper's Strain Guide", weight = 250, type = 'item', image = 'beekeeping_guide.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A field guide to queen strains and regional honey production. Use to read.' },
['beekeeper_suit'] = { name = 'beekeeper_suit', label = 'Beekeeper Suit', weight = 1500, type = 'item', image = 'beekeeper_suit.png', unique = true, useable = true, shouldClose = true, combinable = nil, description = 'A full veil and coveralls. Use to put it on or take it off. Wild bees cannot sting you while it is on.' },Kora keeps items in its shared registry, seeded from kora_core/shared/items.lua. Add these records to the KoraCoreSeed.items table in that file (same fields as the QB tab, as plain table entries), then copy the PNGs into kora_inventory/images/.
{ name = 'beehive', label = 'Beehive', weight = 2000, type = 'item', image = 'beehive.png', unique = true, useable = true, shouldClose = true, description = 'A portable beehive. Use to place a hive in the world.' },
{ name = 'beehive_rustic', label = 'Rustic Beehive', weight = 2000, type = 'item', image = 'beehive_rustic.png', unique = true, useable = true, shouldClose = true, description = 'An alternate hive shell. Same colony gameplay, different look.' },
{ name = 'honeycomb', label = 'Honeycomb', weight = 50, type = 'item', image = 'honeycomb.png', unique = true, useable = false, shouldClose = true, description = 'A filled honeycomb frame from a hive. Spin it in a honey separator for jars.' },
{ name = 'queen_bee', label = 'Queen Bee', weight = 10, type = 'item', image = 'queen_bee.png', unique = false, useable = true, shouldClose = true, description = 'A queen bee. Use to inspect genetics, or install in a hive to start production.' },
{ name = 'worker_bees', label = 'Worker Bees', weight = 10, type = 'item', image = 'worker_bees.png', unique = false, useable = false, shouldClose = true, description = 'Worker bees for your hive. Required for honey and wax production.' },
{ name = 'bees_wax', label = 'Bees Wax', weight = 1, type = 'item', image = 'bees_wax.png', unique = false, useable = false, shouldClose = true, description = 'Beeswax harvested from a hive. Can be sold to the beekeeper.' },
{ name = 'bees_honey', label = 'Wild Honey', weight = 1, type = 'item', image = 'bees_honey.png', unique = false, useable = false, shouldClose = true, description = 'Default wild honey from hives outside specialty pollen regions.' },
{ name = 'blue_honey', label = 'Blue Blossom Honey', weight = 1, type = 'item', image = 'blue_honey.png', unique = false, useable = false, shouldClose = true, description = 'Coastal blue-region honey with a light floral finish.' },
{ name = 'green_honey', label = 'Forest Bloom Honey', weight = 1, type = 'item', image = 'green_honey.png', unique = false, useable = false, shouldClose = true, description = 'Forest-region honey with deep woodland notes.' },
{ name = 'red_honey', label = 'Desert Flame Honey', weight = 1, type = 'item', image = 'red_honey.png', unique = false, useable = false, shouldClose = true, description = 'Desert-region honey with a rich, warm profile.' },
{ name = 'amber_honey', label = 'Amber Dune Honey', weight = 1, type = 'item', image = 'amber_honey.png', unique = false, useable = false, shouldClose = true, description = 'Amber dune-region honey with a golden sweetness.' },
{ name = 'lavender_honey', label = 'Lavender Ridge Honey', weight = 1, type = 'item', image = 'lavender_honey.png', unique = false, useable = false, shouldClose = true, description = 'Lavender ridge-region honey with a soft floral aroma.' },
{ name = 'citrus_honey', label = 'Coastal Citrus Honey', weight = 1, type = 'item', image = 'citrus_honey.png', unique = false, useable = false, shouldClose = true, description = 'Coastal citrus-region honey with bright, zesty notes.' },
{ name = 'wildflower_honey', label = 'Wildflower Meadow Honey', weight = 1, type = 'item', image = 'wildflower_honey.png', unique = false, useable = false, shouldClose = true, description = 'Wildflower meadow-region honey with mixed floral tones.' },
{ name = 'bee_trap', label = 'Bee Trap', weight = 500, type = 'item', image = 'bee_trap.png', unique = false, useable = true, shouldClose = true, description = 'Set it down inside a wild bee swarm and leave it. Come back later to collect the worker bees. May also hold a queen.' },
{ name = 'beekeeping_guide', label = "Beekeeper's Strain Guide", weight = 250, type = 'item', image = 'beekeeping_guide.png', unique = true, useable = true, shouldClose = true, description = 'A field guide to queen strains and regional honey production. Use to read.' },
{ name = 'beekeeper_suit', label = 'Beekeeper Suit', weight = 1500, type = 'item', image = 'beekeeper_suit.png', unique = true, useable = true, shouldClose = true, description = 'A full veil and coveralls. Use to put it on or take it off. Wild bees cannot sting you while it is on.' },Item names are set in /setupbeekeeping. Shipped names are the seventeen above. The separator is a world prop, not an item. If you rename one in the panel, register that name and add a matching image.
Next: Configuration · Installation.
