v5.6.60 patch
Security hardening, safer purchases and target options for pet cages
15changes

Security hardening, safer purchases and target options for pet cages
15changes

[02] Release
House and furniture purchases are now safe: no buying without enough money, and refunds when a save fails. Server events get rate limits and stricter validation, a startup self-check reports setup problems, and garage integrations are lighter when idle. Pet cages and beds work with target, interact-sound files now ship with the script, and qs-weed gets rebuilt server validation.
Replace the whole qs-housing and qs-weed folders. Many server files changed together and two new server modules were added (selfcheck.lua, throttle.lua).
client/custom/ and server/custom/ changed too (garages, frameworks, phones, inventory). If you edited any of them, copy your changes onto the new files instead of keeping the old ones.
Keep [qs-housing-data]. Do not delete or replace it: your compiled Shell Studio shells live there.
Updating from 5.6.57 or older: follow the 5.6.58 notes first. Add add_ace resource.qs-housing command.refresh allow to your server.cfg and keep [qs-housing-data] next to qs-housing. Shells made before 5.6.58 are no longer supported.
Nothing to run in the database.
Interact-sound files. The door, stash and wardrobe sounds (houses_door_open, houses_door_close, StashOpen, Clothes1) now ship in qs-housing/install/interact-sound/, in OGG and MP3. They belong in your sound resource, not in qs-housing:
ogg/ into interact-sound/client/html/sounds/ and restart interact-sound.Config.interact_sound_extension into its ui/sounds/ folder, with Config.ProvideInteractSound on.mp3/ into the player's sound folder and list the files in its fxmanifest.Keep the file names and capitalisation as they are. The README in that folder has the details.
Startup self-check. On start the console prints [qs-housing selfcheck] OK with your framework, inventory, garage and tables, or a numbered list of the problems it found.
Debug is off by default in qs-housing and qs-weed.
Agency, keys, upgrades, physical keys, junk, pets, IPL and phone app events now have rate limits and stricter server-side checks.
With Config.UseTarget enabled: pet menu, carry, pet and bury on cages, and target interaction on pet beds placed as furniture.
The console reports common setup problems on start, or OK when everything is right.
Door, stash and wardrobe sounds ship in install/interact-sound/ in OGG and MP3, with a README on where to copy them.
One short block per new version with its top 3 changes; the periodic check only prints when something changed.
Config.Debug now ships disabled in qs-housing and qs-weed.
On ESX and QBCore, purchases were allowed with insufficient balance. Forced mortgages and offline charges keep their previous behaviour.
A purchase is saved in one step; if saving fails, the payment is refunded.
Furniture is refunded when the save fails, the order expires or the player disconnects, and quest progress errors no longer cancel a purchase.
Owners and tenants were rejected by distance checks inside large MLO, IPL and shell interiors.
No per-frame loop while away from the garage, in every garage integration.
Fixed in the decorate, creator and management menus, plus an error when something that is not an object was picked up as a decoration.
It works again, now with source validation.
Rebuilt server validation (proximity, building access, items, per-plant locks) on oxmysql; fixed placing and carrying plants inside houses and MLOs, and character load/unload on ESX, QBCore and Qbox.
Added in every language.