esx_report
This resource for ESX adds the ability to send reports to the admins in game and on discord.
Requirements
Download & Installation
Using Git
cd resources
git clone https://github.com/WillemSpoelstra/esx_report [esx]/esx_report
Manually
- Download esx_report
- Put it in the
[esx]
directory
Installation
- Add this to your
server.cfg
:
start esx_report
Configuration
dicord webhook
In order to use the discord messages you need to make a webhook for a text channel. You can do this by:
- Clicking on the grear icon.
- Going to
Webhooks
- Clicking on
Create webhook
- Give it a name like
Report bot
- Copy the url
- paste the url in the config like this:
Config.webhookurl = '[your_url]'
- enable the hook in the config like this:
Config.useDiscord = true