[{"data":1,"prerenderedAt":200},["ShallowReactive",2],{"/docs/guide/anticheat-resource-protection":3,"/docs/guide/anticheat-resource-protection-surround":186,"/docs/guide/anticheat-resource-protection-implemented-suggestions":199},{"id":4,"title":5,"body":6,"description":175,"extension":176,"head":177,"implementedSuggestions":177,"meta":178,"navigation":179,"path":181,"schemaOrg":177,"seo":182,"sitemap":183,"stem":184,"__hash__":185},"docs/1.docs/1.guide/7.anticheat-resource-protection.md","Anticheat Resource Protection",{"type":7,"value":8,"toc":166},"minimark",[9,14,27,30,34,41,51,71,84,88,129,147,151,154,158],[10,11,13],"h2",{"id":12},"required-when-resource-protection-is-enabled","Required when Resource Protection is enabled",[15,16,17,21,22,26],"p",{},[18,19,20],"strong",{},"You must whitelist every installed Sky-Systems resource in your anticheat's Resource Protection settings."," This requirement applies to Electron and any other anticheat that protects or intercepts resource events. Whitelisting only ",[23,24,25],"code",{},"sky_base"," is not enough when you also use Jobs Base or job resources.",[15,28,29],{},"Resource Protection can interfere with Sky's callback requests and responses. A resource may start normally while menus, tablet actions or player interactions do not complete. Missing responses can produce callback timeouts; an empty server log does not rule out blocked communication.",[10,31,33],{"id":32},"which-resources-must-be-whitelisted","Which resources must be whitelisted?",[15,35,36,37,40],{},"Add the exact, unchanged resource folder names for ",[18,38,39],{},"all Sky resources installed on your server",", including shared libraries and individual products. For example, a Police installation requires:",[42,43,49],"pre",{"className":44,"code":46,"language":47,"meta":48},[45],"language-text","sky_base\nsky_jobs_base\nsky_policejob\n","text","",[23,50,46],{"__ignoreMap":48},[15,52,53,54,57,58,57,61,57,64,57,67,70],{},"Also add ",[23,55,56],{},"sky_ambulancejob",", ",[23,59,60],{},"sky_mechanicjob",[23,62,63],{},"sky_firejob",[23,65,66],{},"sky_crimesystem",[23,68,69],{},"sky_dojjob",", Creator and any other Sky products you actually install, using their shipped resource names. The example is not a complete list for every server. Add each new Sky resource to the whitelist when installing it.",[15,72,73,74,77,78,83],{},"This is a ",[18,75,76],{},"resource whitelist",", not a player/admin whitelist, a FiveM ACE permission or a filesystem permission. Keep the required ",[79,80,82],"a",{"href":81},"/docs/installation","filesystem permissions and start order"," as well.",[10,85,87],{"id":86},"electron-anticheat","Electron Anticheat",[89,90,91,102,116,126],"ol",{},[92,93,94,95,101],"li",{},"Open your server in the ",[79,96,100],{"href":97,"rel":98},"https://electron-services.com/de/dashboard/anticheat",[99],"nofollow","Electron Anticheat dashboard",".",[92,103,104,105,108,109,115],{},"Open ",[18,106,107],{},"Settings → General"," and find ",[18,110,111,112],{},"Resource based protections / ",[23,113,114],{},"resourceProtection",". Dashboard labels can vary by language or version.",[92,117,118,119,121,122,125],{},"Add every installed Sky resource to its resource whitelist, including ",[23,120,25],{}," and ",[23,123,124],{},"sky_jobs_base"," when installed.",[92,127,128],{},"Save and apply the configuration using Electron's documented reload/restart procedure, then reconnect and test the previously failing action.",[15,130,131,132,137,138,140,141,146],{},"Electron's ",[79,133,136],{"href":134,"rel":135},"https://docs.electron-services.com/troubleshooting/script-errors",[99],"Script Errors guide"," recommends whitelisting conflicting resources under ",[23,139,114],{},". Its ",[79,142,145],{"href":143,"rel":144},"https://docs.electron-services.com/advanced/tips-best-configuration",[99],"Configuration Tips"," also explain possible conflicts with escrowed resources.",[10,148,150],{"id":149},"other-anticheats","Other anticheats",[15,152,153],{},"The same requirement applies when another anticheat has Resource Protection or an equivalent resource/event protection feature enabled. Use that provider's resource whitelist or documented compatibility exclusions and allow all installed Sky resources. The setting name and application procedure depend on the provider; follow its documentation or ask its support for the equivalent resource whitelist.",[10,155,157],{"id":156},"check-after-applying-the-whitelist","Check after applying the whitelist",[15,159,160,161,165],{},"Reconnect a player and repeat the affected menu, tablet or interaction action. Confirm that callback responses arrive and the action completes. If it still fails, check that every installed Sky resource is included, then collect both server and full client logs using the ",[79,162,164],{"href":163},"/docs/guide/reporting-issues","issue reporting guide",". A callback timeout can have other causes too; include the anticheat name and relevant Resource Protection settings in your report, without tokens or license keys.",{"title":48,"searchDepth":167,"depth":168,"links":169},1,2,[170,171,172,173,174],{"id":12,"depth":168,"text":13},{"id":32,"depth":168,"text":33},{"id":86,"depth":168,"text":87},{"id":149,"depth":168,"text":150},{"id":156,"depth":168,"text":157},"Required resource whitelist for Sky-Systems when an anticheat's Resource Protection is enabled.","md",null,{},{"icon":180},"i-lucide-shield-check","/docs/guide/anticheat-resource-protection",{"title":5,"description":175},{"loc":181},"1.docs/1.guide/7.anticheat-resource-protection","JNFT2LyxXF7d1P4vLLn5a_dMoJ9eEZKUpgf6UnX49Ao",[187,193],{"title":188,"path":189,"stem":190,"description":191,"icon":192,"children":-1},"Common Console Errors","/docs/guide/common-console-errors","1.docs/1.guide/6.common-console-errors","Understand frequent FiveM and Sky-Systems console errors and what they usually mean.","i-lucide-terminal",{"title":194,"path":195,"stem":196,"description":197,"icon":198,"children":-1},"Introduction","/docs/base/introduction","1.docs/base/1.introduction","sky_base is a crucial component for all Sky-Systems scripts, designed to enhance performance, streamline configuration, and provide a unified framework for easier management. This guide will introduce you to sky_base and walk you through its configuration and use.","i-lucide-info",[],1791814159642]