[Release] FiveM To Discord

@Flatracer is a bug with the ID’s the same player have diferit ID https://i.gyazo.com/b4c861b932a1ad5b6ac049cf0dbb95fb.png

He probably rejoined. This would explain why he got a different id.

No is a bug in your script, many player have different ips.

I’m not getting chat logs either. I get the death notices and the regular system stuff. Nothing from player chat.

1 Like

That isn’t even possible, because I am using the ID from the Chat Event and I am not changing it in any way…

Do you get any error messages in the ingame console (F8) or the RCON log?

If not, please delete the cache and try again.

Nothing in RCON and nothing in the server log other than:

####################################################################
############################ DiscordBot ############################
####################################################################

Current Version: 1.4.2
Newest Version: 1.4.1

####################################################################
############################# Outdated #############################
######################### Check the Topic ##########################
##################### For the newest Version! ######################
####################################################################
CHANGES:

  • Added Differentiated channels
    –> Added Multiple Webhooks
  • Added a config.lua
  • Added an Instant Update Function
  • Fixed Issue with ESMode Commands
  • Hotfix

And yes, I deleted the cache

if you downloaded the newest version i just changed the version on line 176 of server.lua
local CurrentVersion = ‘1.4.2’

to

local CurrentVersion = ‘1.4.1’

HI amazing script, it is possible if anyone know how to make the print when a player try to connect to show the DB ID too instead of just the name of the player?

Have you added support yet for /ooc, or admin commands like /announce?

I know what the problem with these commands is and have a fix for it. I will release it, when the current problems are fixed.

Please tell me any bug you found and I will try to fix them.

It’s worked flawlessly for me and my community so far. it starts up when supposed to, it reports when its supposed to, and logs how its supposed to. Flawless and very good, Just waiting for the next release to log the /announce and /ooc commands :slight_smile:

1 Like

@Nico_West
Are you willing to test a new version to confirm if it works? If so, dm me please.

Updated to v1.4.3



  • Fixed Chat not working for some Player [Thanks to @Jellyton ]


Download in the First Post!

Updated to v1.4.4



  • Fixed Steam Profile Picture Issue


Download in the First Post!

1 Like

Is there a way to update automatically?

No, not now. For now you have to manually download the update or type update DiscordBot when it offers this option in the RCON Log

@CakeArmy_Max

[Release] D2FiveM - Control your FXServer with Discord

Is there a way that you can set this to send certain chat messages to certain channels like you did with breaking the three channels for Chat / System / Deaths ? For instance, send any /911 command to it’s own channel?

1 Like

Should be possible, I will look into this later.