# Installation

{% stepper %}
{% step %}

### Download the script

Download the script from <https://portal.cfx.re/assets/granted-assets>
{% endstep %}

{% step %}

### Move lc\_adminmenu to resources

<figure><img src="/files/ApLrCszwCr6nl777Ni2N" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add lc\_adminmenu to the server.cfg

Go to your server.cfg and add this:

```
add_ace resource.lc_adminmenu command.add_ace allow
add_ace resource.lc_adminmenu command.remove_ace allow
add_ace resource.lc_adminmenu command.start allow
add_ace resource.lc_adminmenu command.stop allow
add_ace resource.lc_adminmenu command.restart allow

ensure lc_adminmenu
```

{% endstep %}

{% step %}

### Create database tables

<figure><img src="/files/oGk9fDqXbjxyYGp0vNpB" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Configure the script

Now you can set disord bot token for [Avatars](/docs/lc_adminmenu/avatars.md) and configure such things as language, keybinds, commands, permissions.

{% hint style="danger" %}
If you are using cd\_easytime, enable AcePerms in @cd\_easyimte/configs/config.lua

{% code title="cd\_easytime/configs/config.lua" %}

```lua
Config.Permissions = {
    ...,
    AcePerms = { 
        ENABLE = true, -- Change this from false to true
        aceperms_list = {'command', 'easytime.staff', }
    }
}
```

{% endcode %}
{% endhint %}
{% endstep %}

{% step %}

### Done :)

That's it! Now all you need to do is make sure that you have permissions, restart the server and you can start using the admin menu :smile:
{% endstep %}
{% endstepper %}


---

# 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://libertycode.gitbook.io/docs/lc_adminmenu/installation.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.
