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

# Installation

**Download the Resource** Download the resource from the Cfx.re Portal after purchasing.

**Extract and Place into Resources** Extract the downloaded file and place both folders into your server's resources directory.

```
resources/
  └── QuansGarage/
  └── Qs_TextUI/
```

**Update server.cfg** Add the following to your server.cfg. `Qs_TextUI` must be ensured before `QuansGarage`.

```
ensure Qs_TextUI
ensure QuansGarage
```

**Database** The resource auto-creates its tables on first boot. If you are upgrading from an older version, run these migrations:

sql

```sql
ALTER TABLE qs_garages ADD COLUMN IF NOT EXISTS `store_x` FLOAT NOT NULL DEFAULT 0;
ALTER TABLE qs_garages ADD COLUMN IF NOT EXISTS `store_y` FLOAT NOT NULL DEFAULT 0;
ALTER TABLE qs_garages ADD COLUMN IF NOT EXISTS `store_z` FLOAT NOT NULL DEFAULT 0;
ALTER TABLE qs_garages ADD COLUMN IF NOT EXISTS `enter_radius` FLOAT NOT NULL DEFAULT 2;
ALTER TABLE qs_garages ADD COLUMN IF NOT EXISTS `store_radius` FLOAT NOT NULL DEFAULT 2;
ALTER TABLE qs_garage_vehicles ADD COLUMN IF NOT EXISTS `impound_reason` VARCHAR(255) DEFAULT NULL;
ALTER TABLE qs_garage_vehicles ADD COLUMN IF NOT EXISTS `impound_fee` INT DEFAULT 0;
ALTER TABLE qs_garage_vehicles ADD COLUMN IF NOT EXISTS `retrievable` TINYINT(1) NOT NULL DEFAULT 1;
ALTER TABLE qs_garage_vehicles ADD COLUMN IF NOT EXISTS `retrievable_at` INT DEFAULT NULL;
```

**Set Admin Permissions** Add the following to your server.cfg or ACL to grant admin access:

```
add_ace group.admin quans.garage.admin allow
```

**Server Requirements** Your server must be running artifacts version 17000 or higher.

**Restart Server** Restart your server. QuansGarage will automatically create all required database tables on first boot.


---

# 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 dynamically by asking a question.

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

```
GET https://quannsstudios.gitbook.io/quannsstudio-docs/advanced-garages/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
