# How to Set Admin in QBCore

Need Assistance!\
🔗 **Official QBCore Store:** [Visit Here](https://fivem-qbcore.com)\
🔗 **Join Our Discord for Support:** [Click Here](https://discord.gg/qbcoreframework)

<figure><img src="/files/8DKSgdNGi5MaAfV7DWMu" alt=""><figcaption></figcaption></figure>

### ✅ **Step 1: Open `server.cfg`**

1. Go to your **FiveM server directory**.
2. Locate and **open** the `server.cfg` file with a text editor.

***

### ✅ **Step 2: Add Admin Permissions**

Add the following lines at the **bottom** of `server.cfg`:

```cfg
QBCore Admin Permissions
add_ace group.admin command allow
add_ace group.admin qbcore.admin allow
add_principal identifier.steam:110000123456789 group.admin
add_principal identifier.discord:123456789012345678 group.admin
add_principal identifier.license:license:4a3cdhfa3219 group.admin
```

🔹 **Replace the identifiers** with your actual Steam Hex, Discord ID, or FiveM License.

***

### ✅ **Step 3: Save & Restart the Server**

1. **Save the `server.cfg` file**.
2. **Restart your FiveM server**.
3. Join the server and **test admin commands** like `/admin` or `/noclip`.

***

### 🔥 **Need More Help?**

🔗 **Website:** [QBCore Store](https://fivem-qbcore.com)\
🔗 **Discord:** [Join Here](https://discord.gg/qbcoreframework)

Now you’re an **admin in QBCore!** 🚀👑 Let me know if you need anything else! 😊


---

# 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://docs.fivem-qbcore.com/essentials/markdown.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.
