[RELEASE] Badger_Discord_API

Welcome to Badger Docs - Badger Docs

This link has all you need

1 Like

Should make more stuff to work with this :wink:

1 Like

@Jordan2139 Make something cool…

1 Like

That was not cool. Yes, the script does work fine “if setup correctly”
…but you neglected to include any real usable instructions here?

https://docs.badger.store/fivem-discord-scripts/badger_discord_api
no installation guide.

https://github.com/JaredScar/Badger_Discord_API
no installation guide.

I watched your video also:
https://www.youtube.com/watch?v=sjbFzkII2T0

So here is an example for your interest:

  1. Download the Badger_Discord_API from GitHub - JaredScar/Badger_Discord_API: A FiveM API Script [created by Badger]
  2. Extract Archive and copy folder ‘Badger_Discord_API’ to your FXserver /resources folder.
  3. Open the contained file config.lua

Config = {
Guild_ID = ‘’,
Bot_Token = ‘’,
RoleList = {},
}

4.a Open Discord and right click the name of your Server, select Copy ID
4.b copy the Discord ServerID into Guild_ID

5.a Go to https://discord.com/developers/applications
5.b Click top right “New Application”
5.c Name your New Application & Save changes
5.d Select Bot & Copy the Token.
5.e Paste the Bot Token from your Discord application into Bot_Token

6.a Open Discord Server Settings, and create a role eg. Tester
6.b Right click the role and select Copy ID
6.c Paste the Role ID into RoleList
6.d Repeat for more Roles as needed.

7 Apply the Tester Role to yourself or whoever is testing with you.
8 Open Server.cfg and add: start Badger_Discord_API

9 ???

When using [DiscordAcePerms] i see the following in my server log:

[DiscordAcePerms] (playerConnecting) Added Drift Johnson to role group group.tester
[DiscordAcePerms] (playerConnecting) Added Drift Johnson to role group group.teammember
[DiscordAcePerms] (playerConnecting) Added Drift Johnson to role group group.admin
[DiscordAcePerms] (playerConnecting) Player [OUTSPIN] Drift Johnson has been granted their permissions…

So this seems to be setup correctly, however i do not know as the steps above are simply what i have done to get things to this point.

When i use [BadgerDoorlocks]:
Nobody with the Discord Permissions Specified can use the Doorlocks.

If you could write a guide on installation (as others do in releases on forum.cfx.re) maybe it would be easier to troubleshoot and actually use as intended. We can only speculate how you want this to be setup. A lot of information has been omitted and it is all required to run the API properly.

Thanks.

1 Like

Give me ideas

1 Like

It’s really straight forward. There’s like a whole 4 steps needed, if you can’t handle that then this isn’t for you

2 Likes

Please READ the post before quipping your snarky retorts. There are at least 15 steps.

It works I did say that, because it does. Not everybody is a mind reader. That is why we have instructions with software, not really an abstract concept is it?

There were many steps to make it work and NO DOCUMENTATION.
If you cannot read then don’t reply, because it is embarrassing.
Being a Tech Snob gets you nowhere.

I clearly stated;
"That was not cool. Yes, the script does work fine “if setup correctly”
…but you neglected to include any real usable instructions here?"
So you didn’t even read the first two lines? Try harder next time, that was just plain Lazy.

When I read replies from people who TLDR my posts

You want to tell me where these non-existent instructions are?
You do know that Badger_Ace_Permission does not even use Badger_Discord_API right?
It used Sad Boiligan’s DiscordPerms. That’s really obvious and clear to see from the lack of instructions.

The steps I provided are more detailed and still incomplete. I think a lot of people would appreciate an installation guide.

Of course, my reply is directed at the OP. Feel free to put more words in Badgers mouth, but I reckon he can type just fine on his own.

So Jordan, What was not cool? First 3 words of my post?
This is not Cool.

You saying “…if you can’t handle that…” etc is equally uncool man.
equally uncool

My post merely showed that it didn’t take long to actually write instructions. Badger has a website and a github, no instructions provided. If my instructions are not accurate, that is the OP/Authors fault for not publishing them.

RTFM only applies when there is a FM

2 Likes

1.) Setup Bot
2.) Invite bot
3.) Configure Role ID’s
4.) Place in server

I mean it’s 4 steps… idk where you got 15+ from

2 Likes

You watched the video titled " Installing discord_perms" to learn how to install Badger_Discord_API. Now I’m not rocket scientist but uhhh, those are 2 different scripts there bucko.

Watch this one: https://www.youtube.com/watch?v=UUzSdQtJE4s
From when this script first came out

1 Like

Badger_Discord_API Tutorial - Rocket Dev

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Full, in-depth tutorial

2 Likes

How about discord announcements into FiveM chat? I.e if someone announces something in a discord server channel, that message will get sent into the FiveM server, like a Discord announcements system.

1 Like

@Jordan2139 check this idea out

1 Like

post approved, then removed? confused

so I got 3 replies from you. Still you didn’t read my reply to the OP (who you are not…)
Ok mate, take a deep breath while we go to school. Sit down and get comfortable…

I see you are a contributor over here: GitHub - JaredScar/Badger-911: A Fivem Script

Now i see why you are getting offended, it’s partially your fault, I suppose. This page demonstrates my point succinctly:

“Badger-911 is a simple, but efficient 911 script for your server.”
Cool how to install it?

Here it says to use Sad Boilogans DiscordPerms again:

But then in the updates:

(updated for use Badger_Discord_API)

:stuck_out_tongue_winking_eye:
So this is a direct contradiction as these two methods are not even made by the same person and the former option is no longer supported or recommended by its author.

The biggest joke is where instructions would normally be found we get a Joke:

(You should all know the drill by now)
This is my point, it is lazy to not release instructions. Everyone would know the drill, had they had access to usable instructions. These should be written at an “ask me like I am 5” level, because not everyone is as learned as you. Shocking I know, but that is standard practice.

You try to say that the youtube video is not relevant, however there are steps explained in there, which if not completed make the script useless.

You also say that it is 4 Steps, lets take a look at that shall we?
I had to add steps too so my guide was incomplete.

  1. Download the Badger_Discord_API from GitHub - JaredScar/Badger_Discord_API: A FiveM API Script [created by Badger]
  2. Extract Archive and copy folder ‘Badger_Discord_API’ to your FXserver /resources folder.
  3. Open the contained file config.lua

4.a Open Discord and choose settings, Advanced
4.b Enable Developer mode to gain access to Copy ID on Right Click.
4.c Open Discord and right click the name of your Server, select Copy ID
4.d copy the Discord ServerID into Guild_ID

5.a Go to https://discord.com/developers/applications
5.b Click top right “New Application”
5.c Name your New Application & Save changes
5.d Select Bot & Copy the Token.
5.e Paste the Bot Token from your Discord application into Bot_Token
5.f Click on O2Auth and select Bot from the checkboxes
5.g Copy the link below and paste into a web browser to invite the bot to Discord.

6.a Open Discord Server Settings, and create a role eg. Tester
6.b Right click the role and select Copy ID
6.c Paste the Role ID into RoleList
6.d Repeat for more Roles as needed.

7 Apply the Tester Role to yourself or whoever is testing with you.
8 Open Server.cfg and add: start Badger_Discord_API

9 You should see the Guild ID and Name in the server startup log, this completes installation.

The fact you are simply accusing me of incompetence where there are no instructions and while claiming the above is only 4 steps? This arrogance you exhibit is factually palpable.

You are either being wilfully ignorant or just dishonest. You claim 4 steps total, yet there are in fact 7 steps to the Bot Creation part. 21 steps total, I’ll give you the last one for free, we’ll call it 20.

two of your “steps”

1.) Setup Bot
2.) Invite bot
3.) Configure Role ID’s
4.) Place in server
involve Bot creation.

Your guide does not explain anything at all and instead relies on other people to write these guides for your user, that is pretty embarrassing; Bot Creation URL? How to enable ID’s in discord? How to create a Bot on Discord develop site? How to invite the Bot to your server? What Token is required?

Having Written Guides Professionally, I find it amazing that you assume everyone knows everything about everything. Must be Nice, whatever planet you live on!

Standard practice is to actually give self contained guides and not to rely on “user research” to fill in the gaps where “too lazy to add simple instructions” apply.

So then “bucko” ? How about realising that not bothering to update things when they are changed after release is up to the maintainer/author and not the user.

Badger_Discord_Doorlock ← requires Discord_perms. This is the setup explained in Badger Video from 2018/ there is no 2020 version on his channel or linked anywhere with this release.

So please tell me more about the lackadaisical attitude on display here. Are we professionals or amateurs?

Badger_911 is listed as using Discord_perms, however seems to have been updated for Badgers API. If Ambiguous discrepancies exist, you cannot call foul when they are questioned.

TLDR try not to get clapped when you are called out on basics, finally after the snark you linked a PROPER TUTORIAL:
https://docs.rocketdev.zone/written-tutorials/badger_discord_api

This is not linked anywhere on the resource, the website, in a readme or github. I must be a mindreader to know links that are not on the release pages, I Suppose. Thankyou for proving my point “PROPER GUIDE NEEDED” and linking it here.

There are 35 steps in that professional grade install guide
You actually proved my point better than I could.

Congrats.

FYI I had no trouble installing this, but those I work for were both anguished & exhausted by this task and wasted hours on it. They wanted full discord Role integration & they have it. Why ask though, just assume everyone is an idiot?

EDIT: So Glad you actually wrote the 35 step guide and saw you updated it today. Thanks!
No Drama’s just glad you want to help others too. :smiling_face_with_three_hearts:

2 Likes

@MF_Tomino_Sama @Jordan2139

If anyone wants to update the documentation, they can feel free to do so. My documentation is on GitHub as are many of my scripts as well. Nothing is stopping anyone from adding onto and/or editing them.

I work a full-time job, so I don’t really have the time to be updating everything all the time, so most of the times things go unnoticed. Many scripts get updated by other users and then the documentation never actually gets changed for them either. It definitely should, but this just isn’t the case. Considering the amount of scripts I’ve contributed to this community, it would be nice to see others contribute to the documentation as well themselves instead of fighting on the thread itself.

Instead of bringing up fallacies on other scripts’ documentations in an effort to “win” an argument or what not, it probably would of just been wiser to make a pull request on the documentation pages to get it appropriate for another user seeking help in the future.

Whilst some of my remarks are snarky, they come within reason considering multiple people reach out with no clue how to do anything regardless if they are given a proper instruction or not. Giving people guides/instructions doesn’t cure all the problems also. Many people just want things done for them… Due to this, many of our remarks will probably come off as snarky, but they come within reason. Alas, it probably doesn’t help that the average age of people trying to start these new servers is ~ 14 and sometimes younger.

If anyone ever wants to append to the documentation, be my guest. GitHub - JaredScar/Badger-Docs-Gitbook: The Gitbook for Badger Docs

2 Likes

Hmm. Is the splash page working? Everything else is and has been working perfectly for months, but our marketing manager recommended turning this on. The script is completely up to date and the configuration is identical, but splash isn’t appearing. Thoughts? (We’re using Infinity if it matters)

Seems to be intermittent. Sample size of 15 connects, it showed up 11 times. Could be FiveM being FiveM, though.

1 Like

Can you show your config so which settings were changed can be seen?

1 Like

Any way to remove the Badger_Discord_API from splash screen?

1 Like

What do you mean?

1 Like

You can edit the server.lua

2 Likes

I Know this script works and when you get it working it’s decent but IF you need any support good fucking luck horrible support team who doesn’t care about the product just there to joke around. and talk bad about you when you request for help

2 Likes