v2.0.58 Patch
Server-only secrets, spam protection and a startup self-check
16Änderungen

Server-only secrets, spam protection and a startup self-check
16Änderungen

[02] Release
Admin identifiers and Screen Watch TURN credentials can now live in a server-only file, panel actions are rate limited, and the console reports missing dependencies on start. Shortcuts cost nothing while idle, the panel loads faster, and a set of permission, spectate, console and editor fixes.
[sql]/database.sql no longer duplicates the admin tag styles.config/server_secrets.lua. Add it to your copy. It holds AdminIdentifiers and the Screen Watch TURN credentials, and it is never sent to players. Your current values in config/main.lua keep working, but moving them here is recommended.fxmanifest.lua changed beyond the version number. Replace it whole.config/main.lua, custom/server.lua or server/custom/garage/overrides.lua yourself, merge your changes into the new versions.On start, the server console now lists anything missing: a dependency that is not running, a language file or the interface build. Read it first if something does not work after updating.
Panel actions are now limited per player: a normal tier for everyday actions and a stricter one for heavy actions. Someone spamming buttons gets a short "too many requests" instead of flooding the server.
Replace every file in the resource, except what you edited yourself:
config/main.lua, config/server_secrets.lua (new)custom/server.lua, custom/esx/server.lua, shared/functions.luaclient/main.lua, client/modules/ — actions, logs, noclip, shortcuts, weatherserver/main.lua, server/custom/garage/main.lua, server/custom/garage/overrides.luaserver/modules/ — every module, including the new selfcheck.lua and throttle.lualocales/ — every language.web/ — replace the whole folder.[sql]/database.sqlfxmanifest.lua — replace it whole.Evidence, location and extra data on reports are sanitized, and players no longer receive staff identifiers.
Bans, weather and player actions refuse NaN and infinite values.
A console command that only started like an allowed one could act on a protected resource. Commands are now matched exactly.
New config/server_secrets.lua holds AdminIdentifiers and the Screen Watch TURN credentials. It is loaded only on the server, so players can never read it. Values in config/main.lua still work.
Each player can only send so many panel actions in a short time, with a stricter limit for heavy actions.
The console lists missing dependencies, language files or the interface build when the resource starts.
The noclip on/off notifications now follow the server language.
When spectating failed or the admin disconnected, their routing bucket was not put back.
Promoting or demoting a framework admin now takes effect without refreshing the session.
Higher-ranked roles could not edit the permissions of lower built-in roles.
Owners with full access could browse protected resources in the editor but not save or reload them.
Detection failed when the config helpers were missing from an older config/main.lua.
Lines were shown twice after the console buffer filled up.
Importing database.sql more than once created duplicate tag style rows.
Noclip, open-menu and Fast Actions now use key mappings instead of checking every frame, and never trigger for non-staff.
Each page loads only when opened, and the code editor bundles only Lua and JSON support.