NX CreativeNX CreativeDocs
Scriptsnx_employeemanagement

Employee Management

Employee tracking, payroll, invoicing, and society-fund management for FiveM. ESX, QBCore, and QBox compatible with a tablet-style UI.

nx_employeemanagement is a workforce and payroll system for jobs. Bosses hire, fire, and set grades from a tablet-style panel. The server tracks on-duty work hours, rolls them into configurable payroll cycles, and pays employees from a society account. Employees can file invoices, review their payment history, and open a self-service dashboard.

Features

  • Hours tracking. Server-authoritative work-time accumulator per job. Optional on-duty gating via Config.TrackOnlyOnDuty. Daily records are written to employee_work_history so reports can range over arbitrary date windows.
  • Boss console. Tablet UI for hiring, firing, grade changes, hour resets, and payroll actions. Gated by Config.AllowedRanks (boss, chief, manager by default).
  • Rank permissions. Bosses grant individual tabs to non-boss grades from a Permissions tab. Grants apply without a restart, and a grantee cannot hire, promote, or fire at or above their own rank. Configured through Config.Permissions.
  • Self-service dashboard. Non-boss employees can open their own tablet view to see hours, invoice history, and payment history. Toggleable via Config.SelfService.Enabled.
  • Payroll engine. Per-grade payment rules (hourly, commission, fixed) with overtime multipliers and thresholds. Auto-pay schedules: daily, weekly, biweekly, monthly, or a fixed interval. Per-job wage caps through Config.Payroll.MaxWagePerJob. Jobs can also be handed to the framework's own paycheck thread instead, globally or one at a time, via Config.Payroll.Mode and PerJobModes. Rules live in employee_payroll_rules.
  • Invoicing. Employees submit invoices, bosses approve or reject. Invoices under AutoApproveUnder auto-approve. Invoices over RequireApprovalOver require boss review. Expand any invoice to read its line items, totals, and the trail of who submitted, reviewed, and paid it. Stored in employee_invoices.
  • Society account. Deposit and withdraw shared funds via the UI. Compatible with esx_addonaccount, qb-management, qb-banking, fd-banking, renewed-banking, or direct database mode. Configured through Config.Payroll.Society.Backend.
  • Discord reports. Payroll summary webhook with optional top-employee rankings. Gated by Config.Payroll.Reporting.
  • Tablet item. Physical in-world tablet with upper-body animation, third-person camera, and a screen rendered onto the prop via nx-3d. Players standing nearby see a mirror of the same screen.
  • Interaction zones. Fixed world spots (a chief's desk, a back office) open the same panel as a flat window, through ox_target or a TextUI prompt, with per-zone job and boss-only filters. Set Config.Tablet.access.mode = 'zone' to make them the only way in. Disabled by default.
  • LB Tablet app. Run the whole panel as an app inside your server's existing LB Tablet instead of handing every boss a second tablet. The icon hides itself while a player has nothing to manage. Enabling it replaces every other entry point. Disabled by default.
  • Custom job providers. Bring standalone job scripts (SouF UwU Cafe, BurgerShot, any self-contained job resource) into the tablet next to your framework jobs. Membership and grade are read live from the external script's own exports or a statebag. Read-only by default, with opt-in write-back, payroll, and society per job.
  • Multi-framework. ESX Legacy, QBCore, and QBox. Framework is set through Config.Framework.
  • Optional core_multijob integration. Reads the user_jobs table so employees can have multiple jobs without conflict. Toggleable via Config.Integrations.MultiJob.
  • Localization. English, Finnish, Spanish, French, Italian, German, and Swedish ship by default. Missing keys fall back to English.

Framework usage

The resource reads Config.Framework directly. Set it to "ESX", "QB", or "QBX" to match your core.

The export is a no-op while Config.LBTablet.Enabled is true, because the app inside LB Tablet is then the only way to open the panel. See Exports.

Get it

Available at nxcreative.tech/employee-management.

NX Docs