Glitchworks

Home / Help centre

FiveM

txAdmin logs in Discord

Bans, kicks and warnings in a private staff channel, and announcements and restart warnings in a public one.

What you get

See what your admins do in txAdmin, in Discord. Glitchworks Guard posts:

  • Bans, kicks, warnings and revoked bans in a private log channel, with the reason, who did it and when a ban expires.
  • Announcements and restart warnings in a public channel Optional, so players know when the server is restarting. One message per restart, updated as it counts down, so the channel isn't flooded.

You'll need

Step 1: Choose the channels

  1. Type /fivem setup > txAdmin logs.
  2. Private log channel: pick a staff-only channel, or press Create #txadmin-logs (only Guard and your staff role can see it). Leave it blank to use your Guard logs channel.
  3. Public channel Optional: for announcements and restart warnings, for example #announcements or #server-status.
  4. In What goes in the public channel, tick txAdmin announcements and/or Restart warnings.

Step 2: Turn it on

Press Turn on.

Step 3: Test it

  1. In txAdmin, warn yourself (Players > your name > Warn). The warning appears in your log channel within a few seconds.
  2. Send a txAdmin announcement: it appears in your public channel.

Checking someone's bans

Staff can type /fivem bans @member to see txAdmin bans Guard has seen for them: active or expired, the reason, and when it ends.

What Guard keeps about bans: only bans for players whose Discord was linked to FiveM: their Discord ID, the reason, the date and the expiry. No names, licences, IP addresses or hardware IDs are kept. A ban record is deleted when the ban is revoked in txAdmin, 30 days after it expires, or if the member's /mydata delete request is approved. Members can see theirs with /mydata get.

Choosing which events are sent

All events are on by default. To turn one off, edit config.lua in the glitchworks_link folder:

Config.TxAdmin = {
    Enabled = true,
    Events = {
        playerBanned = true,
        playerKicked = false,   -- don't send kicks
        ...

Then type restart glitchworks_link in the server console.

Troubleshooting

txAdmin log problems and fixes
ProblemWhat to do
Nothing appearsIs it on in /fivem setup > txAdmin logs? Does the console say txAdmin on?
"I can't post txAdmin logs" in your Guard logsGive Guard View Channel, Send Messages and Embed Links in the log channel.
Bans show "A player" instead of a nameThe player had already left; txAdmin only sent their identifiers.
/fivem bans shows nothing for someone you bannedThe player didn't have Discord linked to FiveM, or the ban was made before txAdmin logs were turned on.
"N more txAdmin events weren't posted"More than 30 posts in 10 minutes: Guard holds back so your channel isn't flooded.

Still stuck?

Open a ticket on our Discord and tell us what you've tried. Screenshots of any errors help us sort it faster.

Open a ticket on Discord

More help: Install Glitchworks Link · FiveM server status · Member checks · Help centre