> For the complete documentation index, see [llms.txt](https://fantasy-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fantasy-scripts.gitbook.io/docs/department-of-justice-mdt/installation.md).

# Installation

**Welcome to the Fantasy Scripts Department of Justice MDT Installation Guide**

Welcome! This guide will walk you through the full installation process for the Department of Justice MDT. By carefully following each step, you can ensure a smooth, error-free setup and optimal performance of the script.

**Important Notice (FTP Clients)**

{% hint style="warning" %}
If you are using FileZilla, we strongly recommend switching to WinSCP. FileZilla may cause compatibility issues when transferring certain encrypted files, while WinSCP provides better stability and more reliable file handling. Using the recommended client helps prevent missing or corrupted files during installation.
{% endhint %}

**Asset Download**

{% hint style="info" %}
After completing your purchase through our official store, the asset will be available in your [CFX Portal](https://portal.cfx.re/). From there, you can download the files and proceed with the installation by following this documentation.
{% endhint %}

### Quick Start

1. **Install Dependencies** - Ensure `ox_lib` and `oxmysql` are installed and running
2. **Add Resource** - Place `fs-doj` in your resources folder
3. **Configure** - Edit `config.lua` to match your server setup
4. **Start Resource** - Add `start fs-doj` to your server.cfg
5. **Auto-Setup** - Database tables and settings are created automatically on first start

**That's it!** No manual SQL imports required - everything is handled automatically.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://fantasy-scripts.gitbook.io/docs/department-of-justice-mdt/installation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
