Configuration

UI Style switch

You can choose the interface style by selecting one CSS file and naming it style.css:

  • Default style: html/style.css

  • Glossy style: html/style - glossy.css

To switch: replace the file named style.css with the desired version (or rename the chosen file to style.css).

General settings

  • Config.JobName, Config.JobLabel, Config.JobGrades: define the job, label, and ESX grades.

  • Config.SocietyName, Config.SocietyLabel: society account used for finances.

  • Config.Bank, Config.Money: accounts for payments (bank/cash).

  • Config.Locale: language (fr/en) for server messages.

  • Config.DefaultWeight, Config.MaxWeight, Config.MoreCapacityInside: inventory weight rules and bonus inside Burger Shot.

  • Config.MultiplicatorEarning, Config.SocietyCommissionPercent, Config.EmployeeCommissionPercent: revenue split and multipliers.

  • Config.UseF6: enable/disable the F6 management menu.

Permissions

  • Config.AdminGroups (ESX), Config.AdminPermissions (QBCore): admin groups.

  • Config.PermissionLevels: per-action permission lists (view orders, force cancel, duty list).

Zones & targets

  • Config.BurgerShotPlace, Config.BurgerShotPlaceMinZ/MaxZ: polyzone defining the restaurant for weight bonus.

  • Config.Spots: interaction spots (service, shop, employee panel, boss menu) with coords/radius/label. Those are not optional service, shop, employee panel, boss menu need to be here.

Deliveries ( WIP )

  • Config.DeliveryLocations: list of delivery points.

  • Config.DeliveryPayMin/Max: payout range.

  • Config.DeliveryPedModel, Config.DeliveryPedScenario: delivery NPC model/scenario.

  • Config.DeliveryItems: items required per delivery mission (what the player must carry).

  • Config.DeliveryCooldown: cooldown between deliveries.

NPC vendor

  • Config.NPC: enables the public NPC shop, model, coords, heading, scenario

  • the option priceMultiplier is here to increase the price of the item from the config one

Customer kiosks

  • Config.CustomerKiosks: list of in-world terminals (id, coords, radius, label, icon) for players to place orders. Minimum 1 Kiosks is needed.

Craft stations

  • Config.CraftStations: each station has an id, name, coords/radius, a label, allowed recipe ids, and an animation. Use case: restrict which recipes can be crafted at a given station (e.g., grill, fryer, drinks, assembly).

  • To add/modify a station: duplicate an entry, give it a unique id, set coords/radius/label, pick allowedRecipes, and set an animation dict/anim/flag.

  • The allowedRecipes value have the name of items into the Config.CraftingRecipes -> id

Crafting recipes

  • Config.CraftingRecipes: defines every craftable food/drink/menu.

    • Fields: id, outputItem, hunger, thirst, isInNPC (if sold by NPC), price (price into the kiosks), category, label, description, icon, outputQty, craftTime, and requires (ingredients item from Config.ShopItems).

Shop items

  • Config.ShopItems: employee-only ingredients shop list (item, label, price, description, icon). These items are used by the staff they are needed for crafting.

How to sell item via the NPC

  • Any recipe with isInNPC = true is offered by the public NPC at price * Config.NPC.priceMultiplier. The NPC is not available when a burgershot employee is on duty

  • /bs_gen_oxitems (console only): generates Ox Inventory entries from Config.CraftingRecipes and Config.ShopItems using your data.

Notes on props/animations (Ox items generation)

  • Drinks vs food use different default props/animations and use times when generating Ox entries.

  • Hunger/thirst values come from each recipe (hunger, thirst).

Last updated