v1.1.40 patch
Fryer and doner fixes, server-side validation and a startup self-check
12changes

Fryer and doner fixes, server-side validation and a startup self-check
12changes

[02] Release
Fixes the doner minigame, fryers that locked players out, [E] supply delivery collection and QBCore black money. Kiosk prices, POS deliveries, finance and stashes are now checked on the server, rank escalation is blocked, and the script gains rate limiting, a startup self-check and lower idle usage.
config/cooking/burger.lua has a new option, Config.BurgerFreedomRequired. If you keep your own copy of this file, add it (default { 'bun_bottom', 'bun_top', 'raw_patty' }).qs-restaurant-props/fxmanifest.lua too, and do a full server restart. Never restart a props resource with players online.locales/.Replace every file in the resource, except what you edited yourself:
qs-restaurant-props/fxmanifest.luafxmanifest.luaCHANGELOG.mdconfig/cooking/burger.lua — 1 new option.custom/client.lua, custom/esx/server.lua, custom/qb/server.luadatabase/database.sqldui/display.htmlshared/functions.lua, shared/utils.luaclient/classes/cooking/basic.lua, burger.lua, dish.lua, fries.lua, kebab.lua, pizza.lua, sushi.luaclient/classes/restaurant/display.luaclient/custom/inventory/ox_inventory.lua, client/custom/target/main.lua, client/custom/weather/weather.luaclient/modules/bossmenu/nui.lua, client/modules/creator/helper.lua, client/modules/raycast.lua, client/modules/shop/delivery.luaserver/main.lua, server/custom/debug.lua, server/custom/main.luaserver/modules/bossmenu.lua, consumable.lua, cooking.lua, creator.lua, dishes.lua, exports.lua, kiosk.lua, logger.lua, phone.lua, record.lua, shop.luaserver/modules/selfcheck.lua — newserver/modules/throttle.lua — newserver/modules/db/allowed_items.lua, finance.lua, kiosk.lua, main.lua, migrations.lua, restaurant.lua, shop.lua, workers.lualocales/*web/*Kiosk prices, POS deliveries, finance debits and ox_inventory stashes are validated server-side, and requests are rate limited.
Workers can no longer create or assign ranks equal to or above their own.
Only the restaurant's workers can cook, with a clear message when an action is refused. Basic recipes from owners who are not admins must use allowed items and cannot produce more than they use.
The menu on the DUI screens escapes HTML and no longer loads fonts from external sites.
Choose which ingredients a free-mode burger needs in config/cooking/burger.lua. Set it to {} to allow any burger with at least one ingredient, such as veggie or open-face burgers.
A self-check at startup reports configuration problems in the console, and missing texts were added to every language.
The doner minigame did not let you place meat, toppings or sauces on the pita or the plate.
Several fryers can cook at the same time and fryer sessions expire automatically. Burned or finished fries are no longer left behind when a fryer is removed or you leave the zone, and the early-collection timer uses the right setting.
Collecting a delivery without a target resource no longer throws a nil error.
Black money is removed correctly on QBCore, and dirty money can no longer be deposited or withdrawn in the boss menu.
The creator's free camera and station placement work again on FiveM's new OAL runtime.
Supply deliveries, the DUI screens and target zones use less when idle. The props resource is no longer flagged as a map.