v2.1.0
MinorLatestAdded
- Works with Oxide HUD (free): players move the chat box in
/hudinstead of/chat customize, starting from the spot they already had, and the chat box takes the server's accent colour (Config.UseHudAccentinconfig/main.lua, defaulttrue); message colours keep their own. Needso-link1.12.1 or newer. Without Oxide HUD nothing changes
Changed
- Attempts to open or change
/chat settingswithout admin rights are now written to the log
Fixed
- The resource no longer fails to start when a customized config has a function inside a saved setting. The function is ignored and the server console names it
/chat settingsnow says why a change was not saved, for example "settings are still loading, try again shortly" or "could not be saved, see the server console", instead of "value rejected". The old value stays, also when the database fails to save the change, and a failed Reset to default now shows an error- The
SetSettingexport now returnsfalsewhen a change is refused or the database fails to save it, instead of alwaystrue. It refuses keys/chat settingsdoesn't list, and changes made before the settings finish loading at startup, which used to be lost - Saved settings can no longer be replaced by the config file's defaults when the database returns no rows at startup
- Decimal settings in
/chat settingsno longer show rounding noise such as 0.90000000000009
Documentation
docs/EXPORTS.md: whenSetSettingreturnsfalse, and that the server console names the reasondocs/ADMIN.md: the EMS job radio is/medicdocs/CONFIGURATION.mdanddocs/FEATURES.md: chat position with and without Oxide HUD, andConfig.UseHudAccent