v3.0.3 parche
Paid apartments, refunded furniture and a safer server
12cambios

Paid apartments, refunded furniture and a safer server
12cambios

[02] Versión
An important security and stability update. Apartments can no longer be claimed for free, failed furniture purchases are refunded, every stash, vault, furniture, robot and junk action is checked by the server, and the decoration camera works on FiveM's new runtime.
Config.ApartmentCatalog[...].price from the bank on the server. Only the starter apartment picked on a new character's first spawn stays free. Check your prices before updating.Config.StarterTiers in config/main.lua: which catalogue tiers are free on first spawn.Config.Debug now ships as false, and config/fivemanage.lua ships without a token — paste your own FiveManage token if you use the Furniture Creator's photo booth.CREATE TABLE IF NOT EXISTS and no longer drop player_apartments. On an existing server nothing needs importing.Replace every file in the resource, except what you edited yourself:
config/main.lua and config/fivemanage.lua — compare with your copy and add Config.StarterTiers.client/custom/framework/esx.lua, client/custom/framework/qb.lua, client/custom/inventory/ox_inventory.lua, client/custom/inventory/qb-inventory.lua, client/custom/target/main.lua — if you edited them, copy your changes onto the new files.server/custom/framework/esx.lua and server/custom/framework/qb.lua — same.locales/* — every language changed (new vault keys). Re-apply any translation you edited.[sql]/database.sql and qs-apartments/[sql]/database.sql — aligned with the database schema.client/modules/, server/, shared/, web/*, fxmanifest.lua) — replace as it is.Apartments could be claimed for free. The catalogue price is now charged from the bank on the server; only the starter apartment on a new character's first spawn is free.
Vault codes, stashes, placed furniture, the cleaning robot and junk are now validated server-side, with rate limiting against spam.
New setting Config.StarterTiers.
Players are cleaned up on character logout and disconnect on ESX and QBCore, and a self-check reports setup problems when the resource starts.
InnoDB, utf8mb4, no FLOAT, CREATE TABLE IF NOT EXISTS — importing no longer drops player_apartments.
Config.Debug defaults to false and config/fivemanage.lua ships empty: paste your own token.
One compact block per new version, shown once.
If saving a bought piece fails, times out or the player disconnects, the money is given back.
The free camera and its distance checks work again with use_experimental_fxv2_oal.
Prices of pieces added with the Furniture Creator showed as text in the menu.
The vault keys were missing in every language.
The web UI was rebuilt and no longer requests fonts from the internet.