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. SetConfig.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 copyinglocales/en.lua.
Changed
shared/config.luais much smaller. Internal calibration moved to the escrowedshared/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. Defaultfalse. When false, the hiring console hides the "Server-wide" tab and the server rewrites unscoped requests back tonearbyRadius.
1.3.0 (2026-05-03)
Added
Config.Payroll.ModeandConfig.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 adefaultfallback.- Interval auto-pay:
Config.Payroll.AutoPay.Schedule = 'interval'plusConfig.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.TimeFormatsper-language time format strings. The legacyConfig.TimeFormatremains as an alias.- New
Config.Tablet.camerafields:followBoneTarget,toggleEnabled,toggleInMs,toggleOutMs. - Spectator DUI sync: nearby players see other players' tablet screens through
nx-3d. Tunable viaConfig.Tablet.panel.syncRadius.
Removed
/tadebug command andConfig.Tablet.debugCommand. Toggle the tablet through the inventory item or/employeelistinstead.
Changed
Config.AllowedRanksentries 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.IsBossRanksignature is nowConfig.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.AllowedRanksnow 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.Reportingmoved toshared/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.