# Setup

**Start Up**\
On the initial start-up of the script, the system will automatically create all the required SQL tables. Before starting the script you WILL need to navigate to `shared/shared.lua` and configure `Shared.Database` `Shared.Framework` `Shared.Inventory` `Shared.Target` so the script can setup without issues

**Functions to edit**

* AddToGovernmentAccount
  * You will need to edit the `AddToGovernmentAccount` function in `open/server/sv_main.lua` to match your banking system to deposit all money received from taxes into your mayor/government bank account
* SendMail
  * This function is used to send mails to players to update them about appointments, case info, etc. Edit to match your phone functions
* BanPlayer
  * Edit this function to match your framework/custom ban system

**Variables to edit**

* View Needed

  * In `shared/actions.lua` you will need to edit all of the `viewNeeded` variables to match what jobs you want to do what and see what

* Access
  * In `shared/access.lua` you will need to edit the `view` `add` `update` and `remove` variables to match what jobs you want to have access to what in the system


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://veil-development.gitbook.io/veil-development-documentation/paid-resources/government-system/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
