[{"data":1,"prerenderedAt":442},["ShallowReactive",2],{"/docs/jobs/crimesystem/reference/supported-exports":3,"/docs/jobs/crimesystem/reference/supported-exports-surround":430,"/docs/jobs/crimesystem/reference/supported-exports-implemented-suggestions":441},{"id":4,"title":5,"body":6,"description":420,"extension":421,"head":422,"implementedSuggestions":422,"meta":423,"navigation":424,"path":425,"schemaOrg":422,"seo":426,"sitemap":427,"stem":428,"__hash__":429},"docs/1.docs/0.jobs/4.crimesystem/6.reference/4.supported-exports.md","Supported Exports",{"type":7,"value":8,"toc":415},"minimark",[9,13,21,26,240,244,335,361,365,404,411],[10,11,12],"p",{},"Crime System exposes client and server exports for supported integrations. Call them from the correct runtime and treat every player-supplied argument as untrusted.",[14,15,18],"callout",{"color":16,"icon":17},"warning","i-lucide-shield-check",[10,19,20],{},"Read-only exports do not authorize a later mutation. State-changing server exports still require your integration to pass valid server-owned identifiers and to preserve Crime System's permission and lifecycle checks.",[22,23,25],"h2",{"id":24},"integration-map","Integration map",[27,28,29,70,126,142,198,230],"accordion",{},[30,31,34,46],"accordion-item",{"icon":32,"label":33},"i-lucide-map","Territories and Graffiti",[10,35,36,40,41,45],{},[37,38,39],"strong",{},"Client:"," ",[42,43,44],"code",{},"GetTerritories",".",[10,47,48,40,51,53,54,53,57,53,60,53,63,66,67,45],{},[37,49,50],{},"Server:",[42,52,44],{},", ",[42,55,56],{},"GetTerritory",[42,58,59],{},"GetTerritoryAtCoords",[42,61,62],{},"RecordTerritoryActivity",[42,64,65],{},"GetGraffitis",", and ",[42,68,69],{},"RemoveGraffitiEntry",[30,71,74,106],{"icon":72,"label":73},"i-lucide-swords","Robberies and PvP",[10,75,76,40,79,53,82,53,85,53,88,53,91,53,94,53,97,53,100,66,103,45],{},[37,77,78],{},"Server robberies:",[42,80,81],{},"RegisterRobbery",[42,83,84],{},"UpdateRobbery",[42,86,87],{},"UnregisterRobbery",[42,89,90],{},"GetRobbery",[42,92,93],{},"GetRobberies",[42,95,96],{},"StartRobbery",[42,98,99],{},"CompleteRobbery",[42,101,102],{},"CancelRobbery",[42,104,105],{},"ResetRobbery",[10,107,108,40,111,53,114,53,117,53,120,66,123,45],{},[37,109,110],{},"Server PvP:",[42,112,113],{},"RegisterPvPMode",[42,115,116],{},"GetPvPEvent",[42,118,119],{},"StartPvPEvent",[42,121,122],{},"CancelPvPEvent",[42,124,125],{},"FinishPvPEvent",[30,127,130],{"icon":128,"label":129},"i-lucide-star","Reputation",[10,131,132,40,134,137,138,141],{},[37,133,50],{},[42,135,136],{},"AwardCrimeReputation"," and ",[42,139,140],{},"GetCrimeReputation",". Awards require a stable completion ID so the same activity cannot grant points twice.",[30,143,146,162],{"icon":144,"label":145},"i-lucide-scan-eye","Interrogation",[10,147,148,40,150,53,153,53,156,66,159,45],{},[37,149,39],{},[42,151,152],{},"IsInterrogationFixed",[42,154,155],{},"GetInterrogationScene",[42,157,158],{},"GetInterrogationObjects",[42,160,161],{},"StartObjectPlacement",[10,163,164,40,166,53,169,53,172,53,174,53,177,53,180,53,183,53,186,53,189,53,192,66,195,45],{},[37,165,50],{},[42,167,168],{},"HasInterrogationConsent",[42,170,171],{},"GetInterrogationConfig",[42,173,158],{},[42,175,176],{},"CreateInterrogationObject",[42,178,179],{},"RemoveInterrogationObject",[42,181,182],{},"RegisterInterrogationTool",[42,184,185],{},"IsPlayerCarried",[42,187,188],{},"IsPlayerFixed",[42,190,191],{},"GetPlayerSession",[42,193,194],{},"GetActiveSessions",[42,196,197],{},"ForceEndSession",[30,199,202],{"icon":200,"label":201},"i-lucide-route","Heist planning",[10,203,204,40,206,53,209,53,212,53,215,53,218,53,221,53,224,66,227,45],{},[37,205,39],{},[42,207,208],{},"RefreshHeistCatalog",[42,210,211],{},"RefreshHeistPlans",[42,213,214],{},"RefreshHeistPlanning",[42,216,217],{},"GetHeistDefinition",[42,219,220],{},"GetHeistCatalog",[42,222,223],{},"GetHeistPlan",[42,225,226],{},"GetMyHeistPlans",[42,228,229],{},"GetHeistServerTime",[30,231,234,237],{"icon":232,"label":233},"i-lucide-flask-conical","Drug System",[10,235,236],{},"The server exports configuration, Creator entries/items, runtime snapshots, heat, risk, contacts, businesses, dynamic market, batches, labs, campers, plants, processing, sales, routes, threats, power and consumption state.",[10,238,239],{},"Use the narrowest export for the integration. Do not use the raw developer commands as an API substitute.",[22,241,243],{"id":242},"calling-an-export","Calling an export",[245,246,252],"pre",{"className":247,"code":248,"filename":249,"language":250,"meta":251,"style":251},"language-lua shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","local profile, error_code = exports.sky_crimesystem:GetCrimeReputation(identifier)\nif not profile then\n    error((\"Crime reputation lookup failed: %s\"):format(error_code))\nend\n","server.lua","lua","",[42,253,254,286,302,329],{"__ignoreMap":251},[255,256,259,263,267,270,273,277,280,283],"span",{"class":257,"line":258},"line",1,[255,260,262],{"class":261},"sMK4o","local",[255,264,266],{"class":265},"sTEyZ"," profile, error_code ",[255,268,269],{"class":261},"=",[255,271,272],{"class":265}," exports.",[255,274,276],{"class":275},"sBMFI","sky_crimesystem",[255,278,279],{"class":265},":",[255,281,140],{"class":282},"s2Zo4",[255,284,285],{"class":265},"(identifier)\n",[255,287,289,293,296,299],{"class":257,"line":288},2,[255,290,292],{"class":291},"s7zQu","if",[255,294,295],{"class":261}," not",[255,297,298],{"class":265}," profile ",[255,300,301],{"class":291},"then\n",[255,303,305,308,311,314,318,320,323,326],{"class":257,"line":304},3,[255,306,307],{"class":282},"    error",[255,309,310],{"class":265},"((",[255,312,313],{"class":261},"\"",[255,315,317],{"class":316},"sfazB","Crime reputation lookup failed: %s",[255,319,313],{"class":261},[255,321,322],{"class":265},"):",[255,324,325],{"class":282},"format",[255,327,328],{"class":265},"(error_code))\n",[255,330,332],{"class":257,"line":331},4,[255,333,334],{"class":291},"end\n",[245,336,339],{"className":247,"code":337,"filename":338,"language":250,"meta":251,"style":251},"local territories = exports.sky_crimesystem:GetTerritories()\n","client.lua",[42,340,341],{"__ignoreMap":251},[255,342,343,345,348,350,352,354,356,358],{"class":257,"line":258},[255,344,262],{"class":261},[255,346,347],{"class":265}," territories ",[255,349,269],{"class":261},[255,351,272],{"class":265},[255,353,276],{"class":275},[255,355,279],{"class":265},[255,357,44],{"class":282},[255,359,360],{"class":265},"()\n",[22,362,364],{"id":363},"integration-checklist","Integration checklist",[366,367,368,373,376,380,383,387,390,394,397,401],"steps",{},[369,370,372],"h3",{"id":371},"confirm-the-runtime","Confirm the runtime",[10,374,375],{},"Match client exports with client code and server exports with server code.",[369,377,379],{"id":378},"read-the-owning-contract","Read the owning contract",[10,381,382],{},"Check the current source signature and return shape for the installed Crime System release before shipping the integration.",[369,384,386],{"id":385},"preserve-server-authority","Preserve server authority",[10,388,389],{},"Resolve player identity, permission, ownership, items, money and state on the server before any mutation.",[369,391,393],{"id":392},"handle-explicit-failure","Handle explicit failure",[10,395,396],{},"Do not hide a failed export behind a silent fallback. Log the operation and error code without exposing private data.",[369,398,400],{"id":399},"test-through-a-restart","Test through a restart",[10,402,403],{},"Verify that the integration handles unavailable resources and reloads its cached data after Crime System starts again.",[14,405,408],{"color":406,"icon":407},"info","i-lucide-code-2",[10,409,410],{},"Network events, NUI callbacks, diagnostic commands and unlisted internal globals are implementation details, not public integration APIs.",[412,413,414],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":251,"searchDepth":258,"depth":288,"links":416},[417,418,419],{"id":24,"depth":288,"text":25},{"id":242,"depth":288,"text":243},{"id":363,"depth":288,"text":364},"Find the public Crime System exports by runtime context and avoid relying on internal events or diagnostic commands.","md",null,{},true,"/docs/jobs/crimesystem/reference/supported-exports",{"title":5,"description":420},{"loc":425},"1.docs/0.jobs/4.crimesystem/6.reference/4.supported-exports","aUTLBKkO-HrRvvOxuSnkVnH5JimBcxXfFi3GbKzhsq0",[431,436],{"title":432,"path":433,"stem":434,"description":435,"children":-1},"Database, Backup, and Restore","/docs/jobs/crimesystem/reference/database-backup-and-restore","1.docs/0.jobs/4.crimesystem/6.reference/3.database-backup-and-restore","Understand Crime System persistence, automatic migrations, backups, imports, restores, and update verification.",{"title":437,"path":438,"stem":439,"description":440,"children":-1},"Troubleshooting","/docs/jobs/crimesystem/troubleshooting","1.docs/0.jobs/4.crimesystem/7.troubleshooting","Find the most common reasons why Crime setup, heists, drugs, or player access are not working.",[],1790629526631]