v2.0.37 minor
Purchases checked by the server, safer defaults, and a database that installs on MySQL 8
17changes

Purchases checked by the server, safer defaults, and a database that installs on MySQL 8
17changes

[02] Release
The biggest release since 2.0.0. Prices and clothing changes are now validated on the server instead of being trusted from the client, saves and payments are rate-limited, the FiveManage token no longer ships bundled, and the debug log and image saver arrive switched off. The schema installs on MySQL 8.0 and 8.4, which it could not before. Fixed as well: shop zones and the free camera with OAL enabled, marked bills lost on a failed black-money payment on QBCore with ox_inventory, outfit notifications showing raw locale keys, a qb-clothing migration that counted timed-out skins as done, and a hair change discarding a valid outfit. There is also a new startup self-check that names missing dependencies, and the update notice in your console is now a short block instead of a banner.
Config.FiveManageToken now ships empty. A token used to be bundled with the script. If you were relying on it, photo uploads stop until you put your own in config/fivemanage.lua.Config.ImageSaver.enable and Config.Debug now default to off. That is deliberate: the image saver sends your token to every client that connects, and the debug log is noisy. If you take the new config/main.lua, turn the image saver on only while you are photographing clothing. If you keep your own file, your current values stay as they are.Config.AllowUnverifiedClothingCompat (strict or compatible clothing saves — true, compatible, is the default) and Config.ScaleWeaponProfiles.use_experimental_fxv2_oal 'yes' and dependency '/assetpacks'. Replace fxmanifest.lua as-is.A startup self-check now runs when the resource loads and prints what is missing or misconfigured — dependencies that are not started, setup that will not work — instead of leaving you to find out from a player's report. It is the first thing to read in your console after updating.
Purchases are checked on the server now. The price of clothing, a tattoo or a surgery, and the change being applied, are validated server-side rather than taken from the client. Saves, payments and thumbnail lookups are also rate-limited, and a player who trips the limit gets a short "too fast" notice rather than silence.
If you run qs-inventory, qs-outfitbag or qs-mechanic-creator, the outfits they apply keep working. A hair change no longer throws away an otherwise valid outfit.
Replace every file in the resource, except what you edited yourself:
config/ — main.lua, fivemanage.lua and image_host.lua changed. If you keep your own, port over the two new options and note the changed defaults above.locales/ — all 41 languages changed, for the new notification texts. Re-apply any translation you edited.custom/ — the ESX and QB bridges both changed substantially. If you edited them, diff rather than overwrite.client/, server/, game/, shared/ — replace them. server/modules/selfcheck.lua and server/modules/throttle.lua are new.sql/schema.sql, fxmanifest.lua — replace them.web/ — unchanged this time.Prices and the change being applied were taken from the client. The server now checks both before any money moves or anything is saved.
A client could call them as fast as it liked. They are now limited per player, and someone who trips the limit gets a short "too fast" notice instead of silence.
A FiveManage token shipped inside config/fivemanage.lua. It is now empty: put your own in before you photograph add-on clothing. If you were relying on the bundled one, uploads stop until you do.
Deleting superseded catalogue images is now an admin-only action.
Chooses between strict and compatible clothing saves. It defaults to true, the compatible behaviour, so nothing changes unless you set it.
On start the resource reports missing dependencies and setup problems in the console, instead of leaving you to find them through a player's report. Read it first after updating.
All 41 locale files carry the new strings, so no language falls back to English or shows a raw key.
Config.Debug and Config.ImageSaver.enable both defaulted to on. The image saver sends your FiveManage token to every client that connects, so it now ships off; turn it on only while photographing clothing. The debug log ships off too. Keeping your own config/main.lua keeps your current values.
Outfits applied by qs-inventory, qs-outfitbag and qs-mechanic-creator keep working through the reworked apply path.
The notice was a banner of up to fifteen lines. It is now one compact block per new version with at most three highlights, and it only speaks when something actually changed — which keeps the console readable on a server running several Quasar resources.
The schema used syntax only MariaDB accepts, so setting up the database failed outright on modern MySQL. It now installs on both.
With use_experimental_fxv2_oal on, drawing a shop's zone and flying the free camera did not work. The resource now declares OAL and both work with it.
On QBCore with ox_inventory, a black money payment that failed did not hand the marked bills back, so the player was left out of pocket.
Saving or updating an outfit showed a raw locale key instead of the sentence.
The qb-clothing migration counted skins that had timed out as successfully migrated, so its summary claimed more than had actually been carried across.
Changing hair while an outfit was applied could throw the outfit away.
The damage adjustment for scaled peds was being applied where it did not belong. It is now limited to actual firearms, with Config.ScaleWeaponProfiles to tune it.