es we have all been there. You have made a server and started wondering how Do you set up discord ace perms.
After plenty of looking following tutorials you still seem to get issues such as " Deferring connection " or the perms are not working at all?
So here i am going to post a text/img Guide on how to do this and heads up i may Get a little Wordy at times Because as much information that i give you the more that you can use that information to help yourself!
This will only go over how to setup Discord Ace perms and Discord API
RESOURCES IN THIS TOPIC
Badgers_Discord_API - github
Discord_ace_Perms - github
Lets start of First With Badgers Discord API
First off you will need to download it.
Create a new Directory in you Server Files called something Like [Discord]
Once you have created this folder you are going to open up the Winrar containing Discord_API and put it inside of the [DISCORD] Folder.
EDIT SECTION.
Add this to your server.cfg File
add_ace resource.DiscordAcePerms command.add_principal allow
add_ace resource.DiscordAcePerms command.remove_principal allow
Now open Discord_API And open the Config.lua
Now that it is open you may think this looks a little confusing but that is A-OKAY!
Lets Get started with you Guild ID.
First you are going to want to go to your DISCORD SETTINGS and then Click ADVANCED.
Once You are there make sure you have Developer Mode Enabled as seen bellow.
Now Go over to your discord server Right click on the server icon and Look for Copy Server ID
Now that you have copied the Server ID Go back to the config.Lua and paste your Guild_ID in the 2 Highlighted boxes seen bellow.
Now where it says
Guilds = {
["NAME"]
You want to type in your server name.
Now if you have never done a discord bot then dont be scared. They are easy for discord API!!
So first of all you want to go to the DISCORD DEVELOPER PORTAL
And from there you want to make a new Application.
Now you are going to name you bot to what ever your heart Desires.
And now press CREATE
Now Copy the Bots Application ID.
now you are going to go to the DISCORD BOT CALCULATOR And paste in your Application id
Now when you are there you want to Paste your Application ID Where it says Client ID, And you want to Click the bot invite link at the bottom
Now you want to invite it into your discord. To do this Choose the server and press Authorize.
Remember and make sure the bot is in the discord!
Now you want to go back to the Discord Dev Portal
Now you are going to want to get your Discord Bot token. So you are going to click on the page that says BOT and then you are going to press reset Token
Now you want to Copy your bot token and paste it where it says BOT in the Config.lua
Now Lets get started on the Role list.
So you want to paste in the following format bellow into the Config.lua so that it looks the same as seen in the photo
['OWNER'] = 1267941396958937139, -- This will be your highest rank Owner
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID,
['ROLE_NAME'] = ROLE_ID, -- This will be your lowest rank Civilian
You are now going to go to your Discord Servers settings. Go to roles and right click the role you want to copy the id For. Then you will paste the Rold ID where it says ROLE_ID in the config as seen above. and you will also change the ROLE_NAME To match the role or you can name it what you want.
Now at to bottom you will see a little config on there.
So lets start with how to change the banner.
You will want to use FiveManage or Ipostimg
I would strongly recommend using FiveManage as it is also used in other scripts.
You will then upload your Desired banner to the image host and then copy the link for it.
Now for Heading1 and 2 that is on you what you would like to put there and then replace the website/discord link with your own links.
Now that you have done it should look a little like this. IF IT DOSE NOT THEN CROSS REFRANCE THE IMAGE AND MAKE SURE
Now we are officially done with Discord_API
SECTION 2 : DISCORD ACE PERMS
Now you are going to want to install DISCORD_ACE_PERMS
And once again open the winrar and drag the files from the Winrar and put them in [DISCORD]
Remember and remove -master from the end of the FILE.
Now you want to open up The config.Lua in discord ace perms
It should look like that, If you are missing the format then use the following bellow.
{778070857964716033, "group.member"}, -- Lowest ranking role
{778084605198204948, "group.booster"},
{778078566726369360, "group.certified"},
{778076976345907250, "group.subscriber"},
{778074943824592916, "group.moderator"},
{778075273065136149, "group.owner"}, -- Highest ranking role
So now that we have that sorted you are going to want to go to your Discord server, go to settings and copy the role ID’s
Now that you have coppied the ID Of the role you are going to want to paste it in the Correct group.
I will highlight where this will be done.
For this one it will go from Lowest group to highest group.
PLEASE REMEMBER YOU CANNOT HAVE A SPACE IN YOUR GROUPS
{1267941396958937139, "GROUP.SENIOR ADMIN"}, - This will not work
{1267941396958937139, "GROUP.SeniorAdmin"}, - This will work
Now Fill out the rest of the role list with all your hearts concents.
Remember you need to have the role setup on both the
DISCORD_ACE_PERMS & BADGER_DISCORD_API
Now when you have finished them they will look like this
Once again you can now change the
server name, discord link and website link
Now all that is left is to test this and make sure it is working.
So first you want to start your server ( If it is already started then restart it )
and at the bottom of the console you are looking for this.
Now you are going to join the server and make sure that everything worked that you have changed.
As you can see there is no constant DEFERRING CONNECTION ERROR.
And just like that YOU HAVE SET UP DISCORD ACE PERMS & DISCORD API!!
Congratulations, Good luck on your server If this helped leave a like and mby follow
---------------------------------------------------------------------------PAGE 2 : vMenu ---------------------------------------------------------------------