WENTUS

Configuration

How to configure Los Santos Eats for your server.

Framework Settings

Config.Base = { Core = 'QBox' }      -- 'QBox' | 'QBCore' | 'ESX'
Config.Debug = false
Config.Inventory = 'ox'               -- 'ox' | 'qb' | 'esx'

Phone Settings

Config.Phone = 'auto'                 -- 'auto' | 'npwd' | 'lb-phone' | 'qb-phone'
  • 'auto' — Every adapter whose phone resource is started enables itself.
  • Set explicitly if more than one phone is installed.

Delivery Settings

Config.DeliveryMode = 'direct'       -- 'direct' | 'courier'
Config.CourierSearchTimeout = 120    -- seconds; no courier → cancel + refund
Config.VenueAcceptTimeout = 180      -- seconds; venue did not accept order
Config.PickupDistance = 10.0         -- units for pickup
Config.DropoffDistance = 10.0        -- units for delivery completion

Delivery Modes

  • 'direct' — Food auto-added to customer's inventory on DELIVERED.
  • 'courier' — Courier receives food at PICKUP and hands it over manually.

Courier Settings

Config.DeliveryBagItem = 'delivery_bag'  -- nil = disabled
Config.MaxConcurrentDeliveries = 3
Config.CourierJobs = { 'hotdog' }
Config.AllowVenueSelfDelivery = true

Payment Settings

Config.PaymentMethods = { 'cash', 'bank', 'card', 'society' }
Config.AllowSocietyPayment = true
Config.SocietyPaymentMinGrade = 2
Config.ManagementMoney = 'Renewed-Banking'

Banking Backends

OptionResource
'Renewed-Banking'Renewed-Banking
'tgg-banking'tgg-banking
'qb-banking'qb-banking
'qb-management'qb-management
'okokBanking'okokBanking
'codem'codem-bank

Economy Caps

Config.MaxPostTip = 500
Config.MaxItemPrice = 10000
Config.MaxMenuItems = 30
Config.MaxMenuPriceChangePercent = 20
Config.MinDeliveryFee = 0
Config.MaxDeliveryFee = 1000
Config.MaxPromoPercent = 30
Config.MaxPromoFlat = 500

Config.MenuManagerMinGrade = 2       -- boss grades always pass

Merchant Onboarding

Config.MerchantOnboarding = {
  Enabled = true,
  RequireExistingJob = true,
  DefaultDeliveryFee = 100,
  DefaultEtaMin = 15,
  DefaultEtaMax = 30,
  DefaultPrepTimeout = 300,
}

Store Configuration

Each store in Config.Stores supports:

Config.Stores = {
  ['store_id'] = {
    label       = 'Store Name',
    society     = 'society_name',      -- society account for payments
    autoReady   = true,                -- auto-set to READY state
    prepTimeout = 300,                 -- seconds before order times out
    deliveryFee = 150,                 -- default; adjustable via app
    cuisine     = 'Italian',           -- cuisine type label
    etaMin      = 15,                  -- min delivery time (minutes)
    etaMax      = 25,                  -- max delivery time (minutes)
    image       = 'https://...',       -- optional; falls back to letter monogram
    locations   = { vec3(x, y, z) },   -- venue counter locations
    blip        = { sprite = 52, color = 2, scale = 0.7 },
    menu = { ... },                    -- seed menu items
    menuCatalog = { ... },             -- approved products for manager editing
  },
}
menu = {
  { id = 'burger', label = 'Burger', price = 45, item = 'burger', category = 'Food' },
}
menuCatalog = {
  burger = {
    label = 'Burger',
    minPrice = 35,
    maxPrice = 55,
    defaultPrice = 45,
    category = 'Food',
  },
}

Per-Store Overrides

Stores can override global settings:

Config.Stores['my_store'] = {
  menuMinGrade = 3,           -- override Config.MenuManagerMinGrade
  maxMenuItems = 20,          -- override Config.MaxMenuItems
  maxPriceChangePercent = 15, -- override Config.MaxMenuPriceChangePercent
}