[Release] [vRP] [ESX] [Standalone] Command Logger for Discord

discord_command_logger

A resource to record the commands were executed on the fivem server for your webhook discord

11 Likes

nice but i want is see your inventory here :shushing_face: :wink:

1 Like

Very good!

1 Like

please make giveitem logs trigger logs for robberies.

There is already built in, this logger gets all the commands executed in the chat

Keep getting duplicated cmds now

Provide some proof, like screenshot

holy crap man that’s cool

1 Like

What version of ESX are you using this with?

This is standalone script

Hmm. I have copied my webhook as well as added the Discord webhook image name. I also added this line in the cl_chat.lua:112 – Trigger Event ‘commandLoggerDiscord:commandWasExecuted’ below like this
TriggerServerEvent(‘commandLoggerDiscord:commandWasExecuted’, id, data)

However, it does not send any loggs to my webhook. I have double checked to make sure I added everything correctly but it seems to be but I’m not getting anything. The webhookimage should be only the file name, or the location included with the file name?

Try upload imagem on discord and get url from image to set on config file

hi
I getting a error on line commandChecker.lua:8 attempt to index a nil value (local 'text)

handler server/main.lua:12

it´s posible register commands in Rcon/F8?

this would be cool to make it only for admins commands. such as /cardel or /giveweapon /giveitems etc… any other command with a simple webhook just with name and id of player. well done on the script.

just installed this and i add the webhook link but getting this message when i enter a command ‘400 nil’ at the console? and no log?
i dint add webhook image

1 Like

Lo solucionaste??

It’s been doing the same for me, I just pasted the trigger at the bottom of my chat.lua. Do I need to do it on a different line?