The fee (or Config.PaymentItem) is taken when the test starts.
Closing the window or pressing Esc during a test asks for confirmation. Quitting forfeits the fee.
On a fail the player waits Config.Settings.cooldownSeconds before retrying and gets Config.FailRefundPct of the fee back (no refund when a payment item was used).
On a pass the license is saved and Config.OnLicenseEarned runs on the server and the client (e.g. to give an item).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"a-scripts* store","colors":{"primary":"#6D28D9"},"logo":{"light":"https://mintcdn.com/aps-store/DbXW-8oilHm6N-C0/images/logo.png?fit=max\u0026auto=format\u0026n=DbXW-8oilHm6N-C0\u0026q=85\u0026s=e1e94fe3565fa9f0302317156abbbce2","dark":"https://mintcdn.com/aps-store/DbXW-8oilHm6N-C0/images/logo.png?fit=max\u0026auto=format\u0026n=DbXW-8oilHm6N-C0\u0026q=85\u0026s=e1e94fe3565fa9f0302317156abbbce2"},"favicon":"https://mintcdn.com/aps-store/DbXW-8oilHm6N-C0/images/logo.png?fit=max\u0026auto=format\u0026n=DbXW-8oilHm6N-C0\u0026q=85\u0026s=e1e94fe3565fa9f0302317156abbbce2","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aps-store","hasAudioNarration":false,"actualSubdomain":"aps-store","customDomains":["docs.aps-store.com"],"gitSource":{"type":"github","owner":"adriplayz","repo":"aps_store","deployBranch":"mintlify","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae8c97a194251870f6fed09"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae8ef3e7f07b925ab851337","collectionId":"85165e56-2565-4882-9540-9a805246c946","liveDeploymentHistoryId":"6ae8ef3e7f07b925ab851337","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae8ef3e7f07b925ab851337","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Resources","count":52},{"language":"default","tag":"Assets","count":48},{"language":"default","tag":"aps_cityhall","count":41},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Configuration files","count":11},{"language":"default","tag":"Developer API","count":5},{"language":"default","tag":"aps_areaofpatrol","count":3},{"language":"default","tag":"Configuration","count":3},{"language":"default","tag":"Helpful","count":3},{"language":"default","tag":"aps_devhelper","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"assets/aps_cityhall/guides/license-center","slug":"/assets/aps_cityhall/guides/license-center","pageMetadata":{"title":"License Center","description":null,"href":"/assets/aps_cityhall/guides/license-center"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Timed theory exams. Players pay a fee, answer random questions and earn the license when they reach the pass mark.`}),`\n`,_jsx(Heading,{level:`2`,id:`defining-a-license`,children:`Defining a license`}),`\n`,_jsxs(_components.p,{children:[`Licenses live in `,_jsx(_components.code,{children:`config/licenses.lua`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`lua`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`lua`,children:_jsxs(_components.code,{language:`lua`,numberOfLines:`22`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'car'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- stored in the database, keep it stable`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` label`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Driving License'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Required to drive standard passenger vehicles.'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` icon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Car'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- Car, Motorcycle, Truck, Anchor, Plane, Crosshair, Badge`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cost`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- test fee (Config.MoneyAccount)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` passingPct`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 80`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- % needed to pass`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` timeLimit`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 600`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`-- seconds`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` questions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'car_1'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'What does a red traffic light mean?'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` answers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'a'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Stop' `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'b'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Speed up' `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'c'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Turn right' `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` correct`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'a'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` -- …`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Each pool should contain at least `,_jsx(_components.code,{children:`Config.Settings.questionsPerTest`}),` questions. Correct answers are checked on the server and never sent to the player.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`how-a-test-works`,children:`How a test works`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The fee (or `,_jsx(_components.code,{children:`Config.PaymentItem`}),`) is taken when the test starts.`]}),`\n`,_jsx(_components.li,{children:`Closing the window or pressing Esc during a test asks for confirmation. Quitting forfeits the fee.`}),`\n`,_jsxs(_components.li,{children:[`On a fail the player waits `,_jsx(_components.code,{children:`Config.Settings.cooldownSeconds`}),` before retrying and gets `,_jsx(_components.code,{children:`Config.FailRefundPct`}),` of the fee back (no refund when a payment item was used).`]}),`\n`,_jsxs(_components.li,{children:[`On a pass the license is saved and `,_jsx(_components.code,{children:`Config.OnLicenseEarned`}),` runs on the server and the client (e.g. to give an item).`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"License Center","description":null,"href":"/assets/aps_cityhall/guides/license-center"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Defining a license","slug":"defining-a-license","depth":2,"children":[]},{"title":"How a test works","slug":"how-a-test-works","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"aps-store","siteName":"a-scripts* store","title":"License Center - a-scripts* store","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T20:06:25.211Z","originalFileLocation":"assets/aps_cityhall/guides/license-center.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"a-scripts* store\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"License Center - a-scripts* store\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"a-scripts* store\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aps-store.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=License+Center\u0026amp;theme=c156a68e4a96b8464fd0ad47\u0026amp;signature=2776b31f4bd6fd498433e777b1cf7361a001d8cc409ea0d78db7b88b8652f38d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"License Center - a-scripts* store\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aps-store.mintlify.app/_mintlify/api/og/v2?division=Guides\u0026amp;title=License+Center\u0026amp;theme=c156a68e4a96b8464fd0ad47\u0026amp;signature=2776b31f4bd6fd498433e777b1cf7361a001d8cc409ea0d78db7b88b8652f38d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/aps-store/Fdj-pYWWb23sUn7a/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"a-scripts* store\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D28D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/assets/aps_cityhall/guides/license-center.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aps-store.com/#organization\",\"name\":\"a-scripts* store\",\"url\":\"https://docs.aps-store.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aps-store/DbXW-8oilHm6N-C0/images/logo.png?fit=max\u0026auto=format\u0026n=DbXW-8oilHm6N-C0\u0026q=85\u0026s=e1e94fe3565fa9f0302317156abbbce2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aps-store.com#website\",\"name\":\"a-scripts* store\",\"url\":\"https://docs.aps-store.com\",\"publisher\":{\"@id\":\"https://docs.aps-store.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center#webpage\",\"url\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center\",\"name\":\"License Center\",\"dateModified\":\"2026-11-02T20:06:25.211Z\",\"isPartOf\":{\"@id\":\"https://docs.aps-store.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Assets\",\"item\":\"https://docs.aps-store.com/assets/aps_cityhall/installation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"aps_cityhall\",\"item\":\"https://docs.aps-store.com/assets/aps_cityhall/index\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Guides\",\"item\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/index\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"License Center\",\"item\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center#article\",\"headline\":\"License Center\",\"name\":\"License Center\",\"url\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aps-store.com/assets/aps_cityhall/guides/license-center#webpage\"},\"dateModified\":\"2026-11-02T20:06:25.211Z\",\"publisher\":{\"@id\":\"https://docs.aps-store.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aps-store.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"a-scripts* store\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"a-scripts* store","nav":{"global":null,"tabs":[{"tab":"Resources","icon":"code","groups":[{"group":"Home","pages":[{"title":"Welcome","icon":"hand-wave","href":""}]},{"group":"Helpful","pages":[{"group":"Basic Server Knowledge","icon":"server","root":{"title":"Basic Server Knowledge","icon":"server","href":"/helpful/basic-server-knowledge/index"},"directory":"card","pages":[{"title":"How to import SQL to database?","href":"/helpful/basic-server-knowledge/how-to-import-sql-to-database"},{"title":"How to update server artifacts?","href":"/helpful/basic-server-knowledge/how-to-update-server-artifacts"}]},{"title":"Common Errors","icon":"triangle-exclamation","href":"/helpful/common-errors"}]},{"group":"Assets","pages":[{"group":"aps_cityhall","icon":"landmark","root":{"title":"aps_cityhall","sidebarTitle":"Overview","href":"/assets/aps_cityhall/index"},"pages":[{"title":"Installation","href":"/assets/aps_cityhall/installation"},{"title":"Compability","href":"/assets/aps_cityhall/compability"},{"title":"FAQ","href":"/assets/aps_cityhall/faq"},{"title":"Common Errors","href":"/assets/aps_cityhall/common-errors"},{"group":"Guides","root":{"title":"Guides","description":null,"href":"/assets/aps_cityhall/guides/index"},"pages":[{"title":"License Center","href":"/assets/aps_cityhall/guides/license-center"},{"title":"Document Office","description":null,"href":"/assets/aps_cityhall/guides/document-office"},{"title":"Document Cards \u0026 Webcam","href":"/assets/aps_cityhall/guides/document-cards-and-webcam"},{"title":"Vehicle Insurance","href":"/assets/aps_cityhall/guides/vehicle-insurance"},{"title":"Bills \u0026 Fines","href":"/assets/aps_cityhall/guides/bills-and-fines"},{"title":"Vehicle Registry","href":"/assets/aps_cityhall/guides/vehicle-registry"},{"title":"VIN","href":"/assets/aps_cityhall/guides/vin"},{"title":"Business Register","href":"/assets/aps_cityhall/guides/business-register"},{"title":"Government Portal","href":"/assets/aps_cityhall/guides/government-portal"},{"title":"Taxes \u0026 Treasury","href":"/assets/aps_cityhall/guides/taxes-and-treasury"},{"title":"Suspension \u0026 Penalty Points","href":"/assets/aps_cityhall/guides/suspension-and-penalty-points"},{"title":"Paychecks","href":"/assets/aps_cityhall/guides/paychecks"},{"title":"Job Center","href":"/assets/aps_cityhall/guides/job-center"},{"title":"Hacking","href":"/assets/aps_cityhall/guides/hacking"},{"title":"Mini-games \u0026 Leaderboards","href":"/assets/aps_cityhall/guides/mini-games"},{"title":"Media Player","href":"/assets/aps_cityhall/guides/media-player"},{"title":"Phone integration","href":"/assets/aps_cityhall/guides/phone-integration"},{"title":"The Desktop","href":"/assets/aps_cityhall/guides/the-desktop"},{"title":"Localization","href":"/assets/aps_cityhall/guides/localization"},{"title":"Customizing the UI","href":"/assets/aps_cityhall/guides/customizing-the-ui"}]},{"group":"Developer API","root":{"title":"Developer API","href":"/assets/aps_cityhall/developer-api/index"},"pages":[{"title":"Client Exports","href":"/assets/aps_cityhall/developer-api/client-exports"},{"title":"Server Exports","href":"/assets/aps_cityhall/developer-api/server-exports"},{"title":"Commands","href":"/assets/aps_cityhall/developer-api/commands"},{"title":"Hooks","href":"/assets/aps_cityhall/developer-api/hooks"},{"title":"Database","href":"/assets/aps_cityhall/developer-api/database"}]},{"group":"Configuration files","root":{"title":"Configuration Files","href":"/assets/aps_cityhall/configuration-files/index"},"pages":[{"title":"config.lua","href":"/assets/aps_cityhall/configuration-files/config.lua"},{"title":"config.client.lua","href":"/assets/aps_cityhall/configuration-files/config.client.lua"},{"title":"config.compat.lua","href":"/assets/aps_cityhall/configuration-files/config.compat.lua"},{"title":"config.server.lua","href":"/assets/aps_cityhall/configuration-files/config.server.lua"},{"title":"documents.lua","href":"/assets/aps_cityhall/configuration-files/documents.lua"},{"title":"goverment.lua","href":"/assets/aps_cityhall/configuration-files/goverment.lua"},{"title":"hacking.lua","href":"/assets/aps_cityhall/configuration-files/hacking.lua"},{"title":"insurance.lua","href":"/assets/aps_cityhall/configuration-files/insurance.lua"},{"title":"licenses","href":"/assets/aps_cityhall/configuration-files/licenses"},{"title":"taxes.lua","href":"/assets/aps_cityhall/configuration-files/taxes.lua"},{"title":"jobcenter.lua","href":"/assets/aps_cityhall/configuration-files/jobcenter.lua"}]},{"title":"Changelog","href":"/assets/aps_cityhall/changelog"}]},{"group":"aps_garage","icon":"car","root":{"title":"aps_garage","sidebarTitle":"Overview","icon":"car","href":"/assets/aps_garage/index"},"pages":[{"title":"Installation","href":"/assets/aps_garage/installation"},{"group":"Configuration","root":{"title":"Configuration","href":"/assets/aps_garage/configuration/index"},"directory":"card","pages":[{"title":"Full View config.lua","href":"/assets/aps_garage/configuration/full-view-config.lua"}]}]},{"group":"aps_areaofpatrol","icon":"map","root":{"title":"aps_areaofpatrol","sidebarTitle":"Overview","icon":"map","href":"/assets/aps_areaofpatrol/index"},"pages":[{"title":"Installation","href":"/assets/aps_areaofpatrol/installation"},{"title":"Usable informations","href":"/assets/aps_areaofpatrol/usable-informations"},{"group":"Configuration","root":{"title":"Configuration","href":"/assets/aps_areaofpatrol/configuration/index"},"directory":"card","pages":[{"title":"Full View config.lua","href":"/assets/aps_areaofpatrol/configuration/full-view-config.lua"}]}]},{"group":"aps_devhelper","icon":"gear","root":{"title":"aps_devhelper","sidebarTitle":"Overview","icon":"gear","href":"/assets/aps_devhelper/index"},"pages":[{"title":"Installation","href":"/assets/aps_devhelper/installation"},{"group":"Configuration","root":{"title":"Configuration","href":"/assets/aps_devhelper/configuration/index"},"directory":"card","pages":[{"title":"Full View config.lua","href":"/assets/aps_devhelper/configuration/full-view-config.lua"}]}]}]}]},{"tab":"Store","icon":"bag-shopping","href":"https://store.aps-store.com"},{"tab":"Discord","icon":"discord","href":"https://discord.aps-store.com"}]},"basePath":"","title":"License Center - a-scripts* store","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}