Trd_NameChecker

Enhance your FiveM server’s security and player identity integrity with this Discord-Name Verification Script. This script ensures that players’ in-game FiveM names match their Discord usernames, providing a seamless and authentic experience for roleplay and community servers.

Key Features:

  • Automated Verification: Matches the in-game FiveM name with the user’s Discord username during connection.
  • Error Notifications: Alerts players if their FiveM name does not align with their Discord username, with clear instructions for correction.
  • Customizable Config: Adjust warning messages, bypass permissions, and optional logging to meet your server’s needs.
  • Easy Integration: Works seamlessly with ESX Legacy, ox_mysql, and popular Discord bots for streamlined setup.
  • Improved Community Trust: Helps maintain accountability and consistency among players for a better roleplay or multiplayer experience.

Ideal For:

  • Roleplay servers with strict naming policies.
  • Community-driven servers requiring identity verification.

PREVIEW

DOWNLOAD

Github

2 Likes

script not working, pasted discord guild id and bot id and log channel id, console still show Error fetching discord data 401 failed to send log 401 -nil any help please?

Make sure that the bot is in the guild and has permission to send messages in the channel.

it has the permission, i used txadmin with the same bot, txadmin can send message no problem but not the namechecker

What You put bot token or bot id ?

oh…ya i put id lol. my bad. i got mixed up with id and token, it works now thanks!

1 Like

No worries at all! It’s an easy mix-up to make. Glad it’s working now—happy coding! :rocket:

1 Like

Nice work, but I don’t think it’s a good idea to keep tokens and IDs in the config. You would be better off moving them to a .env file for security or all server side.

Thanks for pointing this out I’ll make the adjustment!

1 Like

UPDATED

  • CHANGED Config.BotToken to server.lua.
  • Put BotToken in server.lua line no:1