ATY Scripts Logo
ATY Scripts/Docs/Restaurant Creator/Config Reference

Config Reference

Annotated list of the main options in shared/config.lua. Sub-tables (Config.Microwave, Config.Espresso, Config.DrinkDispenser, Config.ConsumeAnims, Config.Biometrics) are documented inline in the file.

Access & general

Key Default Description
Config.Debug false Enable debug output/tools.
Config.ManagementAccess "target" "laptop" | "target" | "both" — where the management dashboard can be opened.
Config.StationPropDistance 45.0 Distance (m) at which station props physically spawn. Lower = smaller entity pool / less hitch.

Timings

Key Default Description
Config.CookTime 20000 Base cook time (ms).
Config.BurnTime 40000 Time until cooked food burns if not collected (ms).
Config.ExpirationCycle 60000 Spoilage check interval (ms).
Config.SalaryInterval / Config.SalaryCycle 1800000 On-duty salary payout interval (ms).
Config.InspectorCheckInterval 300000 Health inspector interval (ms).

Hygiene

Key Default Description
Config.PollutionTickRate 5 Pollution added per cooking action.
Config.MaxPollutionBeforePenalty 100 Station pollution cap.
Config.DirtSpawnInterval 60000 Auto dirt/stain spawn check (ms).
Config.CleaningHygieneBonus Hygiene gained from cleaning actions.

AI customers

Key Default Description
Config.EnableNPC true AI customers on/off.
Config.MaxNPCQueue 3 Max NPCs queued.
Config.NPCTimeout 300000 Wait time before leaving (ms).
Config.NPCSpawnMinWait / MaxWait 35 / 60 Seconds between arrivals.
Config.NPCMaxItemPrice 250 Hard price ceiling per item.
Config.NPCPriceMultiplierCap 3.0 Price cap vs ingredient cost.
Config.NPCPeds list Ped models used for customers.

Consumption

Key Default Description
Config.DisableBuiltInConsumables false true if an external script handles hunger/thirst (prevents double bars).
Config.ConsumeEventName "QBCore:Server:ConsumeItem" Framework consume event to hook.
Config.ConsumeAnims table Eat/drink animation + hand-prop presets (base + per-item).

Economy & jobs

Key Default Description
Config.RestaurantTemplates.CreationCost 50000 Default restaurant price.
Config.RestaurantTemplates.DefaultHygiene 100 New restaurant hygiene.
Config.RestaurantTemplates.DefaultReputation 50 New restaurant reputation.
Config.CourierJob table Courier ped, vehicle, spawn, uniform, blips, deposit.
Config.PlayerLogistics table Supplier/delivery mission locations.

Machines (sub-tables)

Key Description
Config.Microwave prop, screen texture, spin bone, DUI resolution, per-item foodProps.
Config.Espresso prop, screen texture, DUI resolution, camera, Recipes.
Config.DrinkDispenser drinks list + per-drink recipes.
Item data (`config_items.lua`), recipes (`config_recipes.lua`), stations (`config_stations.lua`) and text (`locales.lua`) are separate files. Changes there also apply on a simple `restart aty_restaurant`.
ATY Scripts LogoATY SCRIPTS

Creamos scripts de FiveM altamente optimizados para QBCore y ESX. Máximo rendimiento, código preciso, cero lag.

Unirse a la comunidad

Socio

Socios oficiales de Tebex. Pago seguro e integración con Cfx.re Keymaster.

Legal

Sin afiliación con Rockstar Games, Cfx.re, FiveM ni Take-Two Interactive. Las compras se rigen por los Términos de Servicio de Tebex.

© 2026 ATY SCRIPTS. Todos los derechos reservados.