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