Standalone Update
- Added chat log
ESX Update
- Added /pinfo command. Command sends player info to Discord. Command is only for admins.
- Added chat log.
- Cleaned up code.
- Added possibility to make custom logs (Instructions in Github)
Standalone Update
ESX Update
Any chance you could change/add to the discord identifier where maybe the player gets @ed in the embedded message?
Kinda like this:
Sure, I’ll take a look at it tomorrow.
Your suggestion is now made and is available by downloading the newest version on GitHub. Also I updated the preview pictures, github readme file, and forum post.
gerat work Keep going
I have multiple questions
1- How to get player steam hex, Also if a new player join my server I cannot see his steam hex in database is there a way to fix it.
2- There is a discord bot sending logs form fivem to my discord server , How the script work without add my own discord bot ?
3- where is the json file ?
This resource doesn’t add anything into database.
This resource sends messages to Discord using a webhook. See readme.md file for installation instructions.
This resource doesn’t use/add any JSON file.
Thank you for replying
but you use
PerformHttpRequest(discordwebhook, function(err, text, headers) end, ‘POST’, json.encode({username = ‘Logs’, embeds = embed}), { [‘Content-Type’] = ‘application/json’ })
why ?