> For the complete documentation index, see [llms.txt](https://5scripts-1.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://5scripts-1.gitbook.io/docs/assets/5s_building/install.md).

# Install

{% hint style="info" %}
**Not using ESX, QBCore, or QBox?** Base Building also runs on any other framework, or standalone. See [Standalone](/docs/assets/5s_building/standalone.md).
{% endhint %}

## 1. File Installation

Extract the downloaded files copy all folders to the `resources/[5s]/` directory on your server

* `5s_building`
* `5s_lib`
* `5s_building_sounds`
* `5s_building_assets`
* `5s_doors_assets`
* `5s_keyhints_survival`

## 2. Server.cfg Configuration

Add the following lines to your `server.cfg` file:

```cfg
# 5s Building System - Required dependencies
ensure ox_lib
ensure 5s_lib
ensure 5s_building_sounds
ensure 5s_keyhints_survival

ensure 5s_building_assets
ensure 5s_doors_assets


# 5s Building System - Main resource
ensure 5s_building
```

## 3. Admin Access

The building admin menu (default command `/adminbuilding`) is gated by a FiveM ACE permission. Grant it to your admins in `server.cfg`:

```cfg
add_ace group.admin 5s_building.admin allow
```

Anyone in `group.admin` can then open the admin menu. The check lives in `5s_building/server/editable/auth.lua`, so you can swap in your own permission logic there if you prefer.
