> For the complete documentation index, see [llms.txt](https://docs.hamz.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hamz.dev/hamz-panel/fivem-resource.md).

# FiveM Resource

**Step 1 - ADDING THE RESOURCE**

Add the `hamz-panel` resource into the resource folder. The resource can be located in the product download FIVEM SCRIPTS folder.

**Step 2 - Configuring the** `hamz-panel` **resource.**

Open the `config.lua` and edit to your liking

**Step 3 - Installing the requirements**

**3.1 - RCON**

**E**nable rcon and set the password.\
add these 2 lines in your `server.cfg`

`ensure rconlog`\
`rcon_password "PASSWORDHERE"`

rconlog is a default FiveM resource. But is also provided in the download.

3.2 - Badger Discord API

Download badgers discord api: [link](https://github.com/JaredScar/Badger_Discord_API)\
Install and configure his API resource: [Badgers Documentation](https://docs.badger.store/fivem-discord-scripts/badger_discord_api)

**Step 4 - Extra Info**

4.1 - Not Authorized error?

If you get a error that you are not authorized to use the resource then create a ticket so we can whitelist your server IP.

4.2 - Still getting a Not Authorized error

Make sure the resource is named `hamz-panel` renaming the resource will not work.


---

# 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://docs.hamz.dev/hamz-panel/fivem-resource.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.
