OsmFX Mods
Vehicle StickersRoadmapPlanned

Vehicle Stickers - Update 1.1.2

osmiumop
osmiumop·
0
Development Progress100%

Changelog 1.1.2

Features:

  • Localization: Added a server-wide language setting (Admin Panel > Settings > Language). English and Simplified Chinese (简体中文) are included. Changing it updates every player's Sticker Device, the admin panel, the placement HUD and all in-game notifications/errors instantly, with no restart or reconnect.
  • Custom Languages: Add a language by copying locales/en.json to locales/<code>.json, translating it, and adding the code to Config.Locales in config.lua. Missing keys fall back to English. See the README ("Languages") for details.

Fixes & Improvements:

  • Stock rarity names (Common, Uncommon, etc.) follow the active language. Tiers you renamed yourself are left untouched.
  • Settings now shows an error if saving fails instead of always reporting success.
  • Added CJK font fallbacks so Chinese text renders correctly in the NUI.

Upgrade notes:

  • No database changes. The default language is English, so existing servers look the same until an admin changes it.
  • If you keep your own config.lua, nothing needs to change, but add Config.Locales = { 'en', 'zh' } if you want to see the full language list explicitly.
  • The new locales/ and shared/ folders must be copied along with the rest of the resource.

Credits to ching8515 for reaching out and requesting the feature.

Discussion

Comments (0)

No comments yet. Start the conversation!

Sign in via Discord to join the discussion.