Frequently Asked Questions

Find answers to common questions about Zerio Bossmenu. For additional support, join our Discord community.

🚀 Getting Started

How do I create boss menu positions?

Use /bossmenuadmin (configurable in configs/adminmenu.lua) to access the admin interface and create positions for your jobs/gangs.

Why can’t I access the boss menu?

Check: correct job, position exists for your job, sufficient job grade, within interaction distance.

How do I add new jobs?

Jobs are auto-detected from your framework. Add to your framework’s job system, then create positions via admin menu.

💼 Employee Management

How do I hire employees?

Boss menu → Employees → Hire Employee → Select nearby player → Choose grade.

Hire distance: Config.MaxHireDistance in configs/main.lua (default: 20 units, -1 for unlimited).

How do I enable individual salaries?

In es_extended/server/paycheck.lua, find the local salary = ... line and replace it with:

local salary = exports["zerio-bossmenu"]:GetEmployeeActiveSalary(xPlayer.identifier, xPlayer.job.name)

Can I fire offline employees?

Yes, all employees show regardless of online status.

Setting up job role editing

Open the es_extended/server/paycheck.lua file, and find the local salary = ... line and replace that with the line below:

local salary = exports["zerio-bossmenu"]:GetEmployeeActiveSalary(xPlayer.identifier, xPlayer.job.name)

Also, make sure that your other scripts actually listen to the es_extended:updatedJobs event, though.

🔧 Framework Integration

Supported Frameworks

  • ESX (es_extended)
  • QBCore (qb-core)
  • QBXCore (qbx_core)

Auto-detected in configs/framework.lua.

Supported Banking Systems

Configure in configs/main.luaConfig.ManagementScript:

  • esx_society (ESX default)
  • qb-management (QBCore default)
  • qb-banking
  • okokBanking (jobs only, not gangs)
  • renewedbanking
  • fd_banking

Multijob Support

Supported systems (auto-detected):

  • zerio-multijobs
  • ps-multijob
  • randol_multijob

🚗 Vehicle Management

How do I add purchasable vehicles?

Admin menu → Available Vehicles → Add Vehicle. Configure spawn name, price, job assignment.

Vehicle delivery

Orders deduct payment immediately, deliver after Config.VehicleDeliveryTime (default: 1 minute).

Garage integration

Use exports:

exports["zerio-bossmenu"]:UpdateVehicleStatus(plate, "out")
exports["zerio-bossmenu"]:UpdateVehicleGarage(plate, garageName)

Sell back refund

Configured by Config.VehicleSellBackPercentage (default: 50%).

💰 Financial Management

Salary limits

Set per-job in configs/main.lua:

Config.MaxSalaries = {
    ["police"] = 15000,
    ["ambulance"] = 12000,
}

Custom banking integration

Edit server/functions.lua functions: GetSocietyMoney, AddSocietyMoney, RemoveSocietyMoney.

📦 Item Management

Item ordering setup

  1. Configure stash names in configs/main.lua:

    Config.StashNames = {
        ["police"] = "policelocker",
    }
  2. Add available items via admin menu

  3. Items deliver after Config.ItemDeliveryTime (default: 1 minute)

Supported inventory systems

Auto-detected: ox_inventory, qb-inventory, qs-inventory.

Item metadata

Configure in configs/main.lua:

Config.ItemMetadata = {
    ["weapon_pistol"] = {
        ["serial"] = "auto-generated",
    }
}

🔧 Troubleshooting

Resource not starting

Check: SQL imported, dependencies loaded, file permissions.

Check: position created, job grade sufficient, interaction distance, target script config.

Database errors

Verify: SQL import, database permissions, oxmysql working.

Performance issues

  • Set Config.Debug = false
  • Enable Config.CleanOldLogs = true
  • Adjust distances in configs/opentype.lua

Need more help? Join our Discord community for support.