v2.1.65 Patch
A safer chat, lighter idle performance and Tebex VIP packages
15Änderungen

A safer chat, lighter idle performance and Tebex VIP packages
15Änderungen

[02] Release
Chat messages can no longer be faked: badges, author and colour now come from the server, and messages are sanitized and capped. Idle performance is lighter, including the GTA VI-style radio, navigation and Vice City 3D minimap, the interface no longer loads external fonts, and the script starts in standalone mode if the framework fails. /redeemvip now uses the Tebex packages you configure.
/redeemvip now only accepts the packages listed in Config.VipTebexPackages (config/config.lua). Fill it in after updating, or players will be told the package is not configured.Config.Debug now ships false./interfaceconfig and /chatadmin values are kept.qbx_core) is detected directly.Replace every file in qs-interface and qs-chat, except what you edited yourself:
config/config.lua changed (Config.VipTebexPackages, Config.Debug). If you keep your old file, add the new option.custom/client.lua, custom/server.lua, custom/esx/* and custom/qb/* changed, and custom/standalone/ is new. If you edited them, copy your changes onto the new files.database/database.sql and database/esx.sql changed.locales/ — every language changed. Re-apply any translation you edited.client/, server/, shared/, web/, fxmanifest.lua and all of qs-chat — replace them.Players could send messages with roleplay, staff or job badges they do not have. The server now checks every mode before it is shown.
The author's name and the message colour came from the client. They are now set by the server, and every message is sanitized and capped at 512 characters.
Config.VipTebexPackages lists the packages that can be redeemed. /redeemvip refuses any other and tells the player when the package is not configured.
If the selected framework cannot load, the script now runs standalone instead of stopping. qbx_core is detected directly.
Requests from players are rate limited, and at start a self-check prints anything set up wrong in the console.
The chat key now appears in Settings → Key Bindings → FiveM.
Every table the resource creates now declares the utf8mb4_unicode_ci collation.
Debug output and the test commands are now off by default.
Mentions were sent even when the message was blocked. They now go out only with delivered messages, up to 5 per message.
Searching for a player in the admin panel was rate limited while typing.
An error could leave the vehicle loop stuck until the player reconnected.
The fall at maximum stress did not apply correctly.
qs-chat and qs-interface both ran the anti-spam on the same message.
The vehicle HUD, the GTA VI-style navigation and radio, and the Vice City 3D minimap (GTA VI style) now wait for events instead of polling. The chat's idle loop was removed, and suggestion refreshes on resource start are debounced.
The NUI is split into smaller lazy-loaded chunks, chat rendering and colouring are improved, and the external font requests are gone.