Skip to main content

v3.3.0

New

  • The Context Menu and the Menu from msk_core are now supported. Both menu dropdowns got two new entries, msk_context (mouse driven, with drilldown and back arrow) and msk_menu (keyboard driven in the NativeUI style, so you can keep walking or driving while it is open). They behave exactly like the ox variants, the same key categories, the same actions, and everything still runs through the same functions under the hood. This needs msk_core v3.0.0 or newer.

Changed

  • New defaults. Config.Settings.menu.keysMenu is set to 'msk_menu' and Config.Locksmith.menu is set to 'msk_context'. nui, ox_context and ox_menu are all still available and can be switched any time in the dashboard Settings tab. Since the settings live in the database, an existing installation keeps whatever it had, only a fresh install picks up the new defaults.

Fixed

  • Hungarian was missing from the language dropdown. The dashboard language picker only listed German and English, so Hungarian could not be selected even though the translation was already shipped in translation.lua. The dropdown is now built from the languages that actually exist in translation.lua, so every translated language shows up on its own. Adding a new language block there is enough, there is no second list to keep in sync anymore.
  • The server dropped any language other than German or English on save. Even with Hungarian visible in the dropdown, saving it would have been rejected server side, because the save validation only allowed de and en. The server now accepts any language that translation.lua provides.

The dashboard interface itself is available in German and English. If you pick a language the interface does not translate yet (like Hungarian), the dashboard falls back to German while the in-game texts (notifications, key menu) use the language you picked.

The NUI ships prebuilt, so there is nothing to build on your side. Just replace the resource files as usual, the server needs no npm.

Changed files

fxmanifest.lua
config/settings.lua
shared/admin_perms.lua
client/menu.lua
server/admin/api.lua
web/src/admin/types.ts
web/src/admin/i18n.ts
web/src/admin/AdminApp.tsx
web/src/admin/SettingsTab.tsx
web/src/admin/defaults.ts
web/src/admin/devMock.ts
web/package.json
html/**