[FREE] | zdiscord | multipurpose discord bot | Supports QBCore

Well guess it’s finally time I should actually post this in a place where people can find it…

Introducing zdiscord, a powerful, fully self-contained script that utilities the power of a discord bot to give you full control over your server. From moderation to whitelisting, answering support tickets without even needing to get on the computer, logging events to talking to staff members in city… This resource can do it all and more… A lot of work and love went into making this resource as friendly to use easy to config and flexible to extend to do whatever you need with modular commands, events and addons.

NOTE: Build on node16’s features (used by discord.js) this resource REQUIRES FiveM Artifacts 4890 or higher (older releases support older artifacts but don’t have the same features or support)

Features

  • Step by step setup guide
  • QBCore support out the box (Not required)
  • Toggleable bi-directional staff chat
  • 49 Built in slash commands (22 standalone, 27 QBCore)
  • 14 translated locales (en, de, pl, vn, ar, tr, nl, sl, es, bg, cs, fr, it, no)
  • Lots of settings (Most support convars)
  • Exports to get roles, check for roles, get discord name and send webhook log
  • Automated Ace Permissions by role
  • Lots of Documentation
  • Well tested FAQ
  • Completely open source code with no obfuscation

Download

Download it directly from Github or directly through Release v7.2.1

Leave a comment?

Are you using zdiscord? do you like it? Let me know in the comments below :heart:

16 Likes

Best Discord bot for QBCore out there. Thanks for sharing!

3 Likes

You’re the best Man

1 Like

Looks awesome. Good release!

1 Like

Update: Spanish and Bulgarian locales added + hotfix for the /message command

New version download: Release zdiscord v7.0.2 · zfbx/zdiscord · GitHub (tebex was also updated)

Also thank you for all the kind words everyone :heart:

1 Like

very pog resource man

1 Like

This is the only resource you should be using for this kinda thing!

1 Like

Thanks, works perfectly and very easy to set up

1 Like

Update: added config for additional staffchat roles + small fixes

You guys are amazing :heart:

I get an error that discord.js is not found, anyone can give me a quick fix?

mate, this is probably the BEST discord & FiveM bot i’ve ever experienced, alse the owner is such a nice person if you got any problems, quick reactions. I love this! <3

2 Likes

Dear zfbx,

Can you guide me how to run bot on older QBCore ?

I use:

try {
    client.QBCore = false;
    TriggerEvent("QBCore:GetObject", (obj) => { client.QBCore = obj; });
    if (client.QBCore) utils.log.info("QBCore found! Supported QB commands will be loaded.");    
} catch { z.QBCore = false; }

but qb commands doesn’t show up ;(

Sorry for the late reply I was out of town. If you’re still having problems with this try using just

client.QBCore = false;
TriggerEvent("QBCore:GetObject", (obj) => { client.QBCore = obj; });
if (client.QBCore) utils.log.info("QBCore found! Supported QB commands will be loaded.");

without the try { } catch {} stuff and let me know which which artifacts you’re on and from when and where yourr QBCore is from, they’ve had a few changes over the past couple months so it’s hard to support them all

Thank you for responding, I updated my core to oxy and everything works like a charm

1 Like

how can i make command like [ setmoney] or [ setcoin ] for esx version i am trying to make it work but it dosn`t work for me!!

i am using [ args.id ] [ args.amount ] to set money amount to sent to player !
i know it`s wrong in the selected section but can you explane to me how to make it work with esx version

So I actually have almost no experience with esx to be that useful but where it’s doing player.Functions.SetMoney what is player grabbing? are you importing ESX in the fxmanifest? something like shared_script '@es_extended/imports.lua' I believe.

Then above that line in the script you’ll probably want something like const player = ESX.GetPlayerFromId(args.id)

Update v7.1.0 - compatibility updates, languages and commands

Download: Release zdiscord v7.1.0 · zfbx/zdiscord · GitHub

  • Now includes Italian, Czech and Norwegian
  • bug fixes - dependency cleanup
  • added vehicle commands
  • updated oxmysql hooks
  • optional addon for live player count voice channel added

Hope everyone had a wonderful holiday season and I hope you enjoy the new additions. Thanks to everyone who submitted PRs :heart:

Update v7.2.0 - Hotfixes for 7.1.0

Download Release zdiscord v7.2.0 · zfbx/zdiscord · GitHub

Any way to create a que with this based on DC roles? Like Prime Members have priority in joining?

So, out of the box, it doesn’t actually do anything queue related, there are exports available to check roles and such for whatever queue you want to use but will require some work to get them to work.

There is a (and please read carefully how I word this, cause i wont give support on it) a starter queue called zqueue on my github… I don’t know it’s current state, and I’ve not really tested it, it was work in progress last I touched it but I’ve seen a few people using it :man_shrugging: your mileage may vary if you decide to try it.

But if you want support, I’d reach out to another queue system and see how hard it’d be to extend using the exports I’ve provided (found in docs)