We are looking for a script that sets the name of the person to their discord name that they are in. So instead of it being the steam name, we want it as their discord name from the server. So when they talk it will show their discord name instead of their steam name. If this is possible or already exists please let me know.
Did you ever found a solution? I’m looking for the opposite. I want to set their discord nickname same as the steam name when they join.
This would be harder as you’d need a discord bot to be setting the discord users nickname
This could quite easily be done. You would need to get the discordid license, decode it then use discord api to get the username and then you could set the username!
I tried. I already have the user discord id when they access the server and then i tried to call the API to change the user nickname but i didn’t worked.
You will need a discord bot to change the discord username
ever able to find a solution?
I have built a script for this, integrated properly with /me, /tweet, /ooc, /blackmarket. Also when anyone chats in general it grabs the discord nickname and uses it in FiveM.
Could we get the link or code?