Swarm Beekeeper
A beekeeping job: clock in, smoke hives to harvest honeycomb, beeswax and royal jelly, extract jars of honey and sell them. Includes upgrades, a journal and 10 levels.
New to Swarm scripts? Read Getting started first. It covers Swarm Bridge, install order and the licence.
Requirements
Frameworks: Qbox, QBCore, ESX, standalone.
| Requirement | What it's for | Included |
|---|---|---|
swarm_bridge | Talks to your framework, inventory, target and so on. Included with every Swarm script. | Yes |
ox_lib | Shared library (callbacks, progress bars, text UI). | No |
oxmysql | Saves player stats and progress. | No |
| ox_target or qb-target | Hives are target zones and the NPCs are target peds. Hives can't be tended without one. | No |
| A supported inventory | The smoker, jars and harvest are real items. | No |
Install
- Copy the folders
swarm_beekeeper,swarm_bridgeinto your server'sresourcesfolder. Already haveswarm_bridgefrom another Swarm script? Keep just one copy, the newest. - Add them to
server.cfg, dependencies first:ensure ox_lib ensure oxmysql ensure ox_target ensure ox_inventory ensure swarm_bridge ensure swarm_beekeeper - Database: tables are created automatically the first time the script starts. If you prefer, import
install/swarm_beekeeper.sqlyourself first. - Items: add the item definitions for your inventory from
install/items/:ox_inventory.items.luafor ox_inventory (any framework)qbcore.items.luafor QBCore or Qbox with qb-inventoryesx.items.sqlfor legacy ESX
Then copy
install/images/*.pnginto your inventory's image folder (ox_inventory/web/images/orqb-inventory/html/images/). Icons are namedSS_<item>.pngso they never overwrite another resource's images. Every item has an icon included.Items added (6)
bee_smokerempty_jarhoneycombbeeswaxroyal_jellyhoney_jar - Licensed edition only: put your ServerSecret in
swarm_bridge/licence/private_config.lua. One secret unlocks every Swarm script you own. How to get it. The Source Code edition has no licence check, so skip this. - Start the server and check the console for errors.
Configuration
Open config.lua and check these before going live. Anything marked as a placeholder should be moved to a spot that suits your map.
| Setting | What it does |
|---|---|
Config.SupplyPed.coords | Where the apiary supply NPC stands. Placeholder at Grapeseed. |
Config.MarketPed.coords | Where the honey buyer and extractor NPC stands. |
Config.Hives | Hive positions (vec3). Each gets a prop and a target zone. |
Config.Zones | The apiary blip radius and minimum level. |
Config.HiveProp | The hive prop. A stand-in ships; swap in a beehive prop if you have one. |
Config.TendAction.prop | The smoker prop held while tending. |
Config.MoneyAccount | Account players are paid into. 'cash' by default. |
Config.Locale | 'auto' follows the language set in Swarm Bridge. Set a code such as 'de' to force this script into another language. See Languages. |
Commands & permissions
| Command | Who | What it does |
|---|---|---|
/beekeeper | Everyone | Opens the hub (shop, clock in, extract, sell, upgrades) from anywhere. |
/beepos | Debug mode only | Prints and copies your position as a vec3. Only exists while Config.Debug = true. |
Debug helpers only exist while Config.Debug = true in config.lua. Leave debug off on a live server.
No ACE permissions are needed.
Keys
- Target the NPCs and hives. No extra keys.
Good to know
- Selling sells every honey product in the player's inventory at once.
- In standalone mode, progress isn't kept between reconnects.
Need help?
Ask in the Swarm Scripts Discord and we'll help you get set up.
Swarm Scripts
Nyxia Development