> 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.
