








CityHub turns your City Hall, job center and boss menu into one connected system. Players get their documents and find work at City Hall, apply through a real job portal, and run their workday from a tablet. Bosses hire, pay, track shifts and advertise without leaving the game.
Runs on Qbox, QBCore and ESX Legacy. Built for busy OneSync servers.
━━━━━━━━━━━━━━━━━━━━━━━━
🏛️ CITY SERVICES (CITY HALL)
━━━━━━━━━━━━━━━━━━━━━━━━
• A clerk desk sells the ID card, driving license and weapon license. Before issuing anything, the server checks the player is at the desk, holds the licence and has the cash.
• Animated city billboard: bosses rent ad slots (1h / 6h / 24h) paid from company funds, alongside your own city announcements.
• Works with qbx_idcard on Qbox, so cards show up in its viewer.
• Replaces qbx_cityhall / qb-cityhall.
━━━━━━━━━━━━━━━━━━━━━━━━
💼 JOB PORTAL
━━━━━━━━━━━━━━━━━━━━━━━━
• Government, Private and Public tabs, with a rotating "Now Hiring" showcase.
• Bosses write their own job ad: icon, tagline, description, up to 5 perks, a location with GPS and up to 6 custom application questions.
• Businesses only appear while their boss has hiring switched on, so the portal never lists dead jobs.
• Instant-hire public jobs (trucker, taxi, tow, bus, garbage, reporter…) are imported from your framework automatically.
• Discord is required to apply. The server reads the ID from FiveM identifiers, so it can't be faked.
• Bosses can Deny (with a reason), Accept (meet in the city first) or Accept & Hire at a chosen rank. Applicants are notified in-game, at their next login if offline, and on Discord.
━━━━━━━━━━━━━━━━━━━━━━━━
📱 WORK TABLET (/job)
━━━━━━━━━━━━━━━━━━━━━━━━
Employees:
• Salary, take-home pay and a live countdown to their next paycheck
• Earnings history, payslips and who's on duty
• Duty toggle, multi-job switching and resigning
• "Go undercover" for senior police ranks
Management:
• Roster: hire, promote, fire and pay bonuses with notes
• Applications, company finances and job ad editor
• In-game grade editor: rename ranks, set salaries, toggle permissions, add or remove grades. Changes apply live.
• Shift history: every on-duty spell logged, with hours and pay per employee
━━━━━━━━━━━━━━━━━━━━━━━━
💵 PAYROLL & PAYSLIPS
━━━━━━━━━━━━━━━━━━━━━━━━
• Each player has their own paycheck timer; no global payday spikes
• One detailed payslip per shift: gross, income tax, net, paying account and issuer
• Pay from the state or the company account, with optional income tax
• Never double-pays alongside your framework's paycheck
━━━━━━━━━━━━━━━━━━━━━━━━
🪪 EMPLOYMENT ID CARDS
━━━━━━━━━━━━━━━━━━━━━━━━
• Issued automatically on hire, with a headshot photo of the holder
• Show it to nearby players. It's verified live as VALID, REVOKED, REPLACED or UNVERIFIED, so fired employees and forged cards get caught.
• Works with ox_inventory, the qb / ps / lj-inventory family and plain ESX
━━━━━━━━━━━━━━━━━━━━━━━━
🔔 DISCORD WEBHOOKS
━━━━━━━━━━━━━━━━━━━━━━━━
• New applications per category; hire / accept / deny results per job
• "Now hiring" announcements when a boss opens recruitment
• Each boss picks the style: embed card or plain message
• Player-written text can never ping @everyone
━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ BUILT TO PERFORM & PLAY NICE
━━━━━━━━━━━━━━━━━━━━━━━━
• Your existing scripts keep working: the active job is mirrored into your framework, and duty syncs both ways
• Data is cached in memory, paychecks are batched and the server validates every action
• Database tables are created automatically on first start
• Easy theming: colour presets, font and tablet size from config, no build step
• Your settings live in a separate local config file, so updates never overwrite them
• Developer API: exports, server events and a mission API for public-job plugins
━━━━━━━━━━━━━━━━━━━━━━━━
📋 REQUIREMENTS
━━━━━━━━━━━━━━━━━━━━━━━━
• OneSync
• oxmysql
• ox_lib
• qbx_core, qb-core or es_extended

