FiveM2Discord Client
Simple resource that allows you to have server notifications sent to a discord channel using webhooks!
Available Notifications Include
Player Death Notifications
Player Join & Leave Notifications
/911 Commands Usage
Please Note:
Getting Started
Additional Support/Contact
If you are experiencing issues please feel free to Contact me by creating an issue on the Github Repo
Official Repository
NOTICE: Any repositories not listed below are fake and should be reported to me xD
Make sure you follow and leave a star on the repo!
5 Likes
thanks for sharing this.
important: put your webhooks in to a server-file, so dumpers don’t have access to your webhooks.
2 Likes
Will keep this in mind for a future update, i still plan on adding a ton more things like weapons for example as it currently only supports the basics
1 Like
Alright, have pushed some changes. Please see original post which has also been updated
1 Like
OKCRP
April 29, 2023, 10:28am
6
heres my tip / advice
make it an export :
so you can call export from other scripts and your resource handles the discord talking with ease
You can call it from another resource using its event. This is explained in step 5 of the Setup Docs but I will look into also making it an export for those who prefer to use that method!
1 Like
This has been implemented in the latest version (0.0.5)
Example usage :
exports['fivem2discord']:SendWebhookLogs('WHICH_CHANNEL', 'NAME', 'MESSAGE', 'IMAGE_URL', true)
Available channels per your fivem2discord resource settings in server are system, chat, and kill
Channel needs to be specified or the resource won’t know which webhook to send it to!
You can grab the latest version from the Releases Tab on github, or using the updated rar file attached to the original post