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

# Installation

1. Download the resource.
2. Place it inside your resources folder.

Example:

```
resources/dz_admin
```

3. Import the SQL file:

```
INSTALL/install.sql
```

4. Configure ACE permissions using the example file:

```
INSTALL/permissions.cfg
```

5. Add the resource to your `server.cfg` and start them in this order:

```
ensure oxmysql
ensure ox_lib
ensure es_extended
ensure ox_inventory

exec resources/dz_admin/install/permissions.cfg

ensure dz_admin
```

6. Add yourself to a staff group:

```
add_principal identifier.license:YOUR_LICENSE_HERE group.superadmin
```

7. Restart your server.

{% hint style="info" %}
**Make sure the exec path matches where you placed the resource.**
{% endhint %}

If you do not execute the permissions file, the admin menu may open but most actions will be locked or unavailable.
