Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.apex-services.site/llms.txt

Use this file to discover all available pages before exploring further.

A full brewmaster job for ESX. Players brew wort at interactive distilleries with particle effects and a progressbar, ferment beer types (preconfigured german beer: Radler, Weissbier, Pils) in personal barrels, then run random-destination deliveries with a trunk pickup animation and payout.

Features

  • Three beer lines — Radler, Weissbier, Pils — each with its own fermenting barrel
  • Interactive distilleries with PTFX and synced progressbar
  • Per-player fermenting — barrels tick on a server interval, not a client timer
  • Random delivery routes — 6 drop-off spots, vehicle spawn with automated payout
  • Anti-cheat — spoofed-inventory detection routed through Hooks.BanPlayer
  • Drop-in ESX, no database changes (works with Legacy + 1.x)

Requirements

Required

es_extended, ox_lib

Optional

Any fuel resource (e.g. lc_fuel), vehiclekeys — wire via Hooks.OnWorkVehicleSpawned.

Installation

  1. Drop apex-brewing-job into resources/
  2. Add the items (hopfen, bierwuerze, radler, weissbier, pils) to your inventory
  3. ensure apex-brewing-job after dependencies

Configuration

config.lua
Config.Items.raw          = 'hopfen'
Config.Items.wort         = 'bierwuerze'
Config.QuestId            = 'Braumeister'
Config.WorkVehicle        = 'speedo'
Config.HopfenPerBrew      = 5
Config.FermentingInterval = 5
Config.Prices             = { radler = 130, weissbier = 140, pils = 150 }
Ships with 4 distillery spots, 3 fermenting barrels per location, and 6 configurable sell spots.

Hooks

See Hooks reference / Brewing. Key hooks: Hooks.OnWorkVehicleSpawned, Hooks.OnQuestProgress, Hooks.OnDeliveryCompleted, ox_inventory bridge (Hooks.CanCarryItem etc.).

Resource info

Code accessible: config.lua, hooks.lua, locales/*. Approximately 1400 lines of Lua. English + German.