Browse docs

Electron

Configure Electron resourceProtection and antiIllegalEntity exceptions for installed Sky resources, then verify the affected workflow.

Use this guide when running Sky resources with Electron Anticheat. Electron has separate settings for resource/event protection and entity creation. Use the protection named in the relevant Electron log to choose the matching setup below.

Which resources to add

Add every Sky resource installed on your server, including shared libraries and each Sky product. Use the exact resource folder names shown in txAdmin, with one entry per resource. For example, a Police setup includes:

sky_base
sky_jobs_base
sky_policejob

Also add your other installed Sky resources, such as sky_ambulancejob, sky_mechanicjob, sky_crimesystem or sky_jobcreator. Add each new Sky resource to the whitelist when installing it. The three-name example is not a complete list for every server.

Configure Resource Protection

With Resource Protection enabled, resource-based event protection can interrupt callback requests or responses. A resource may start normally while menus, tablet actions or player interactions fail to complete.

  1. Open your server in the Electron Anticheat dashboard.
  2. In its settings, locate the resourceProtection resource whitelist. Dashboard labels can vary by language or version.
  3. For the Sky setup, add all installed Sky resources to that list, including sky_base and sky_jobs_base when installed.
  4. Save and apply the settings. We recommend restarting the server and reconnecting before checking the result, so the affected resources and player sessions start with the updated configuration.

Electron's Script Errors guide recommends adding the affected resource under resourceProtection for conflicts involving its injected code. Its Configuration Tips explain compatibility considerations for escrowed resources. Using the complete installed Sky resource list is our setup recommendation for the shared libraries and individual products.

Vehicles, peds or props: antiIllegalEntity

If Electron reports antiIllegalEntity, add the resource that actually spawns the entity to that setting's resource whitelist. For the shared Sky job garage, include sky_jobs_base. Include other installed Sky resources that create entities, using their exact folder names and the resource identified in the protection log.

This list is separate from the resourceProtection whitelist. Apply the settings and repeat the affected spawn with Electron enabled. Electron documents this resource-based exception in its Anti Illegal Entity guide.

Check the result

Repeat the previously failing menu, tablet, interaction or entity-spawn action with Electron enabled and the player's normal protection active. Confirm the action completes and the relevant protection no longer interrupts it. For a job garage, take a vehicle out, drive it, return it and retrieve it again. Keep the required filesystem permissions and start order in place as well.

If the issue remains, confirm every installed Sky resource is included and check Electron's log for the exact protection involved. Collect the relevant server and full client/F8 logs for your support report, together with the resource versions and reproduction steps. Remove tokens, licence keys and unrelated personal information before sharing logs.

A callback timeout alone does not prove an anticheat conflict. Use the matching protection log and the affected workflow to determine the next step. For the general installation requirement, see Anticheat Resource Protection.