NX CreativeNX CreativeDocs
Scriptsnx_employeemanagement

Changelog

Version history for nx_employeemanagement.

1.4.0 (2026-06-09)

Added

  • Interaction zones (Config.Zones): open the menu from fixed world spots through ox_target or a TextUI prompt, with per-zone job and boss-only filters. Set Config.Tablet.access.mode = 'zone' to make zones the only entry point. Disabled by default.
  • Granular rank permissions (Config.Permissions): bosses grant non-boss ranks access to specific tabs from a new Permissions tab. Changes apply without a restart, and grantees cannot hire or promote above their own rank.
  • Per-language locale files in locales/ (en, fi, es, fr, it, de, sv). Add a language by copying locales/en.lua.

Changed

  • shared/config.lua is much smaller. Internal calibration moved to the escrowed shared/constants.lua, leaving only the settings you are meant to change.
  • Server-side hardening pass across payroll, hiring, and the tablet animation relay.

1.3.1 (2026-05-03)

Added

  • Config.HireScope.allowServerWide. Default false. When false, the hiring console hides the "Server-wide" tab and the server rewrites unscoped requests back to nearbyRadius.

1.3.0 (2026-05-03)

Added

  • Config.Payroll.Mode and Config.Payroll.PerJobModes. Choose between tablet-managed payroll and the framework's built-in paycheck thread, per job.
  • Config.Payroll.MaxWagePerJob. Server-side wage cap per job, with a default fallback.
  • Interval auto-pay: Config.Payroll.AutoPay.Schedule = 'interval' plus Config.Payroll.AutoPay.Interval (Unit, Value).
  • Config.HireScope. Hiring console can list nearby players or every online player. Default is nearby with a 10m radius.
  • Config.TimeFormats per-language time format strings. The legacy Config.TimeFormat remains as an alias.
  • New Config.Tablet.camera fields: followBoneTarget, toggleEnabled, toggleInMs, toggleOutMs.
  • Spectator DUI sync: nearby players see other players' tablet screens through nx-3d. Tunable via Config.Tablet.panel.syncRadius.

Removed

  • /ta debug command and Config.Tablet.debugCommand. Toggle the tablet through the inventory item or /employeelist instead.

Changed

  • Config.AllowedRanks entries now accept grade levels (numbers) in addition to grade names (strings). A single job entry can mix both, for example ['ambulance'] = { ['chief'] = true, [4] = true }.
  • Config.IsBossRank signature is now Config.IsBossRank(jobName, gradeName, gradeLevel). The third argument is optional. Either a matching grade name or a matching grade level grants access. Existing two-argument callers keep working.

1.2.0 (2026-04-25)

Added

  • Discord webhook logging for HR actions, society money movement, payroll rules, salary payments, and invoices. Configurable in ./shared/server-config.lua
  • Per-job rank access. Config.AllowedRanks now supports different management grades for different jobs.
  • Drag anywhere to scroll in the tablet UI.
  • Finnish and English translations for the Management Charts panel.

Changed

  • ESX job grades now display the job grade label instead of name.

Removed

  • The webhook URL fields under Config.Payroll.Reporting moved to shared/server-config.lua. Move any existing values across on upgrade.

1.1.0 (2026-04-25)

Changed

  • New typography (Sora) and refined visual hierarchy across the tablet UI.
  • Cards now use frosted glass and gradient borders.
  • Cleaner iPadOS-style header and status bar.

Fixed

  • ESC closes the tablet without opening the GTA pause menu.
  • Pre-release cleanup pass on debug flags, dead code, and escrow.

1.0.2 (2026-04-20)

Initial documentation.