JCKSDocs
JCKS JobsV2Pomoc

Troubleshooting and FAQ

Answers to the common problems after installing or updating JCKS Jobs 2.0.0.

/jobadmin says I have no permission. The server console prints why and the exact lines to add:

[jcks_bridge] Shoto [1] was refused jobs.admin (license:abc123, qbx).
[jcks_bridge] Qbox has no admin in the database. Only ACE in server.cfg counts, the txAdmin menu has its own permissions and does not count either.
[jcks_bridge] Admin groups: admin, superadmin, god. Add to server.cfg and reconnect:
    add_principal identifier.license:abc123 group.admin
    add_ace group.admin jcks_jobs.admin allow
[jcks_bridge] Or add license:abc123 to /jcks -> Access -> Admin people.

add_ace alone is not enough, the account must be in the group through add_principal. On Qbox and QBCore an admin flag in the database is not read, and the txAdmin menu has its own permissions. Only ACE in server.cfg counts. Other ways: give yourself jobs.admin in /jcks, Scripts, JCKS Jobs, Access, or add your identifier to ServerConfig.AdminIdentifiers in /jobadmin, Configuration.

The console says open the admin panel in game. /jobadmin only works for a player, not from the server console.

A job I created does not show in my phone or another MDT. JCKS Jobs writes jobs to the framework at once. Some resources read the job list only when they start. Restart them once.

Stashes and lockers do not open. They need an inventory with stash support, every supported inventory except origen_inventory and the framework default one. Check the inventory value in the bridge start line.

Target options do not appear. Check the target value in the bridge start line. Without a target resource the bridge uses JCKS interactions or text prompts, and the G key opens the player, trunk and prop menu. Config.Debug = true draws the zones.

Players cannot switch jobs. Check MultiJob.enabled, switchCooldown and mustBeOffDuty in Server settings. Switching is also blocked while restrained, jailed, down or on a gig.

Company money is 0 or not shared with my banking app. The bridge uses the banking resource it detected (accounts in the start line). Pick yours in the bridge setup.

Players are paid twice. Config.Payroll.enabled = true and the framework paycheck run together. Turn one of them off.

The built in medical system does not run. With Config.Medical.enabled = 'auto' it stays off while a resource from competingResources runs. Set true to force it, false to keep your ambulance resource.

Shops paid by the company say no permission. With Config.Work.societyPermission = true the grade needs Buy with company money. The V1 import adds it once to grades that could use company shops.

The MDT does not open with the item. Config.Dispatch.mdtItem is 'mdt'. Add the mdt item from install/ to your inventory or set the option to ''. While jcks_electronics provides the MDT (deviceProvider = 'auto' with its MDT module on, or 'electronics'), the item only tells the player to use the tablet: open the MDT on a jcks_electronics tablet or laptop, or in a service vehicle, or turn the MDT module off in jcks_electronics. With Config.Mdt.requireDevice = true every request needs a device from deviceProvider.

Officers cannot collect traces. Collecting needs an evidence_bag (Config.Forensics.collectItem), the officer gets an evidence_sealed item (bagItem). Both are in install/. Only jobs in Config.Evidence.jobs see traces, and with Config.Forensics.requireDuty only on duty.

Call cards do not show. The player hid them with the hide key (Page Down by default), the choice is kept after a relog. Press it again. Check Config.Dispatch.popups.enabled and, with jcks_electronics, popups.provider: a player with a smartwatch or a mounted MDT gets the card on that device. A call sent with jobs or routed with receivers.codes is shown only to those jobs.

Taxi street fares never come. The driver must be on duty in a taxi job, in a car from Config.TaxiMeter.models, with the roof light on and the meter free. With npc.onlyWithoutCalls a waiting player call blocks street fares for npc.callWindow seconds, and npc.hourlyCap stops them for the hour. Servers with sv_entityLockdown strict block the NPC passenger, use relaxed or inactive.

A boss cannot change a price. The price is outside the range set in /jobadmin, job, Sales or in the shop or buyer location, above the job maximum, or Config.Work.bossPricing is false. Shops and buyers need Boss sets prices, the grade needs Prices and menu.

Robbery scripts still call ps-dispatch, cd_dispatch, esx_billing or okokBilling. Start the matching resource from [jcks_compat] after jcks_jobs and remove the original. While the original runs, the compat resource stays idle and prints a warning. See Existing scripts.

The dispatch map is empty. The tiles load from Rockstar servers on each player's game. Use mapStyle = 'grid' or host your own tiles in mapTiles.

Fires never start. Random fires need random.minFirefighters firefighters on duty and jobs in Config.Dispatch.fire. Use Test fire in /jobadmin, Fires to check placement. Zones should cover open ground.

A gig gives no items. The item does not exist in your inventory. Copy the gig items from install/. The run goes on and the missing item is logged.

After an update some options are missing. New options use their default until you set them. The console and /jcks, Overview list them. Upload everything except settings/ and editable/.

A settings file was overwritten with the defaults. The console points to <file>.backup, a copy of your last changed version.

settings/settings.json is damaged. The script writes settings/<name>.broken.json next to it and starts with the defaults. Fix the JSON or apply your changes again in game.

Can I edit the interface? The source is in web/ and built into html/ with the JCKS design kit. The release package contains the built interface.

Performance. Locations are streamed within Interaction.streamDistance. Frame loops run only while something is drawn or a step waits next to the player. Door and fire clients work only within their stream distance.