Events & Callbacks

Client → Server

-- Place beehive box where player is standing (server checks item and limit: spawns prop)
TriggerServerEvent('beekeeping:createHive', x, y, z, heading)

-- Beehive Status → server to client 'beekeeping:showStatus'
TriggerServerEvent('beekeeping:getStatus', hiveId)

-- Add queen ('bee' or 'bumblebee') – uses appropriate queen item
TriggerServerEvent('beekeeping:insertQueen', hiveId, 'bee' | 'bumbar')

-- Add workers ('bee' or 'bumblebee') – spends worker items, respects limit
TriggerServerEvent('beekeeping:addWorkers', hiveId, 'bee' | 'bumbar')

-- Maintain the hive (the server itself consumes items and captures gain/limit 0–100)
TriggerServerEvent('beekeeping:feedHive',  hiveId)
TriggerServerEvent('beekeeping:waterHive', hiveId)
TriggerServerEvent('beekeeping:cleanHive', hiveId)
TriggerServerEvent('beekeeping:healHive',  hiveId)

-- Collection (standard / special) – requires empty jars
TriggerServerEvent('beekeeping:collectHoney',        hiveId)   -- converts product -> honey_jar/propolis_jar
TriggerServerEvent('beekeeping:collectDarkHoney',    hiveId)   -- dark_honey / royal_jelly
TriggerServerEvent('beekeeping:collectGoldenHoney',  hiveId)   -- golden_honey / bee_venom

Server → Client

Admin

Examples

1

Add a beehive from another resource

2

Insert the bumblebee queen

3

Add worker bees (if player has them in inventory)

4

Feed and collect honey