← Home
⌕
Ask on Discord
General ER:LC FiveM API
Phone and jobs
DOCUMENTATION/Phone and jobs

Jobs

On FiveM, Blixye owns each character's corporation and rank: how jobs are linked and how they stay in sync.

With a key that has jobs.read, Blixye is the source of truth for jobs. The framework applies what Blixye says, and whatever in the game wants to change a job (the boss menu, /setjob, the panel or an ESX or QBCore script's setJob) does not apply it: it asks Blixye, which decides with the same permissions as the MDT. That way, a badly protected setJob in a third-party script cannot make anyone a police officer.
NOTE With a key that has jobs.read, Blixye is the source of truth for jobs. The framework applies what Blixye says, and whatever in the game wants to change a job (the boss menu, /setjob, the panel or an ESX or QBCore script's setJob) does not apply it: it asks Blixye, which decides with the same permissions as the MDT. That way, a badly protected setJob in a third-party script cannot make anyone a police officer.
Linking corporations and jobs
NOTE Linking corporations and jobs
NOTE
It is done on the same card as the key: Admin panel → Integraciones → «Servidor de juego (FiveM)».
Each corporation is linked to a job name exactly as it appears in blixye_config/trabajos.lua (police, ambulance…). A job can only belong to one corporation, and the admin corporation cannot be a job.
Each rank is linked to a grade (0 to 9999), which is the rank's level in the framework. Within a corporation, each grade belongs to a single rank.
A corporation can be managed (a boss signs hires) or open. In an open one, ranks marked as assignable without a boss accept unsigned hires, if the key has jobs.free.
How it stays in sync
NOTE How it stays in sync
NOTE
On start, the resource asks Blixye what its key can do; with jobs.read it registers with the core as the job authority.
Every 5 seconds it asks for the changes since the last one it saw and rereads the connected players they affect.
Every 15 minutes it rereads everyone connected, in case someone wrote to Blixye's database outside the log (that leaves no event).
If Blixye signals that everything must be reread (a server backup was restored, or which corporation is which job changed), it rereads everything.
Each request waits 10 seconds at most: if Blixye does not answer, the game carries on and tries again on the next round.
Which job gets applied
NOTE Which job gets applied
Out of the character's active jobs in Blixye whose job and grade exist in the framework, the most recently changed one (on a tie, the higher rank). If there is none, they end up as unemployed, grade 0.
NOTE Out of the character's active jobs in Blixye whose job and grade exist in the framework, the most recently changed one (on a tie, the higher rank). If there is none, they end up as unemployed, grade 0.
Changing a job from the game
NOTE Changing a job from the game
NOTE
Both the person asking and the person whose job changes must have picked their Blixye character in the phone: the change is signed by the requester's character.
Blixye applies the MDT's permissions: the requester must be an active member of that corporation with permission to manage personnel, act below their own rank and within their subdivision. Whoever manages MDT personnel on the server can do everything.
The answer shows up as an in-game notification: «Hecho: Blixye lo ha aprobado» or the reason why not.
Changes made in the MDT reach the game on their own. The detail of each call is in Game API (FiveM).
NOTE Changes made in the MDT reach the game on their own. The detail of each call is in Game API (FiveM).
← Previous
Player session
Next →
ESX, QBCore and target bridges
15 / 54 Something missing here →
STEP 1 · PLAN ×
Pick your server's plan
After payment you name it and we configure it together. You can change plan whenever you like.
FREE1 OF 1 LEFT Up to 500 characters and basic CAD. To try it. 0 €
PLUSMONTHLY Full CAD, moderation, activity and economy. 5,99 €
PREMIUMER:LC & FIVEM Everything in PLUS, FiveM included and higher limits. 12,99 €
ENTERPRISEPERMANENT All of PREMIUM forever, self-hosted, never a fee. Contact
Continue to payment
Cancel any time · 14-day withdrawal right, unless you ask to start straight away
Confirm and pay
ER:LC PREMIUM
Monthly · one licence
12,99 €
EMAIL
CARD
Back
In development — unavailable
Blixye is in development: services can’t be purchased yet.Secure payment · VAT included
Name your server
This is the name your players see in the launcher and on Discovery. You can change it whenever.
SERVER NAME
It gets a short code, like SKY-T2Q, to link the launcher.
NEXT Once created we open the setup guide: launcher, Discord and modules in three steps.
Back
Create the server
Type at least 3 characters.
STEP 1 OF 3 · GUIDE ×
1. Send your people the launcher
It is the only thing they install, and only once. They sign in with Discord, we verify their Roblox account and the overlay shows over the session.
Go to the download
2. Create your departments
Police, sheriff, fire or whatever you run. Each with its ranks and permissions: that decides who can punish, clock in or read records.
3. Open the server
With the first duty shift the calls, activity and economy start filling up. From there you just tune it.
Back
Next
⌕ ESC
In-game overlay Radio, sheet and dispatch over the session, no alt-tab. ER:LC CAD and departments Queued calls, units with status and rosters with ranks. ER:LC Moderation and appeals Punishments with context, logs and appeals that do not get lost. ER:LC Staff activity Quotas per rank, shifts and an automatic weekly report. ER:LC Economy and businesses Accounts, payroll, player businesses and inventory. ER:LC Blixye Framework The core: characters, permissions, database and QBCore and ESX bridge. FiveM Inventory Weight, containers and safe player trades. FiveM Police MDT Records, fines, warrants and plate lookups. FiveM Banking Accounts, transfers, payroll and business accounts. FiveM Jobs Shifts, payroll and per-company hierarchy. FiveM Garages Vehicle ownership, persistent damage and impound. FiveM Housing Buying, renting, furniture and personal storage. FiveM Phone Messages, calls, apps and in-world socials. FiveM EMS Per-limb injuries, treatment and a hospital with beds. FiveM All the scripts All eight scripts unlimited, as a permanent purchase or a subscription. FiveM Install Blixye on ER:LC From an empty server to the first duty shift, without touching a game file. Docs Install the FiveM framework The zip, the SQL and your current base bridge, in the right order. Docs Your first week What to set up each day so you do not end up with twenty half-done things. Docs CAD and dispatch Calls, units and priorities inside the overlay. Docs Moderation and appeals Punishments with evidence, appeals and the log that covers you. Docs Activity and shifts Hours, quotas and who is really patrolling. Docs Scripts and free version What each script free version limits and what the full one opens. Docs QBCore and ESX bridge Living with your current base without duplicating players or money. Docs Performance Where to look when the server stutters. Docs
Nothing by that name. Try “inventory”, “CAD” or “licences”.
↵ open CTRL K search 37 results
ROTATE THE KEY ×
! The current key stops working the moment you confirm. This cannot be undone.
current key → new key on confirm
Paste the new key into the script config.
Restart the resource: refresh and ensure.
Until you do, the script will not load.
Yes, rotate the key Cancel
What each plan includes ×
FREE
DISCORD
PLUS
PREMIUM
ENTERPRISE
Price
Free
2,99 €/mo
5,99 €/mo
12,99 €/mo
Contact
GENERAL
Characters stored
500
—
5000
∞
∞
Custom invite code
—
✓
✓
✓
✓
CAD
Max corporations
2
—
6
∞
∞
Max subdivisions
0
—
6
∞
∞
MDT data wipe
1 month
—
1 year
Never
Never
MDT access
Complete
—
Complete
Complete
Complete
Logs history
7 days
—
90 days
∞
∞
Data export
—
—
✓
✓
✓
Investigations
—
—
✓
✓
✓
Evidence storage
—
—
Unmetered
Unmetered
Unmetered
Custom laws
50
—
150
∞
∞
Real-time map
—
—
✓
✓
✓
Bodycam
—
—
✓
✓
✓
Realtime map location
—
—
✓
✓
✓
Advanced search
—
—
✓
✓
✓
Radio channels (Discord VC)
10
—
50
100
∞
Roles per corporation
15
—
50
∞
∞
BANK
Bank accounts
1 per char
—
3 per char
6 per char
12 per char
Transfers
✓
—
✓
✓
✓
Transaction history
✓
—
✓
✓
✓
Cards per account
1
—
2
3
5
Timed cards
Fixed durations
—
✓
✓
✓
Usage-based cards
—
—
Max 5 per char
✓
✓
Role rewards
✓
—
✓
✓
✓
Allow negative balance
—
—
✓
✓
✓
Scheduled transfers
—
—
✓
✓
✓
Player debts
—
—
✓
✓
✓
Per-operation limits
—
—
✓
✓
✓
Shared accounts
Max 2 members
—
Max 5 members
∞
∞
ADMIN
Player heatmap
—
—
✓
✓ more precise
✓ more precise
Max forms
3
5
10
∞
∞
Your server on the phone
—
—
✓
✓
✓
Max admin roles
owner +2
owner +5
owner +10
∞
∞
Priority support
—
✓
✓
✓
✓
Staff audit log history
7 days
30 days
90 days
∞
∞
Beta features
—
✓
✓
✓
✓
Create server
Character and storage addons stack on any plan.
Cookies ESSENTIAL ONLY
We only use the essential ones: your session, sign-in security and your language. There is no analytics and no advertising, so there is nothing to accept or reject.
Got it
Cookie policy