-
-
Notifications
You must be signed in to change notification settings - Fork 5
Initial Setup
sciwhiz12 edited this page Feb 3, 2023
·
3 revisions
The following are the complete steps to install Concord on your server.
-
Download and install the mod to your server. This step is the same as installing a regular mod.
-
Create a Discord bot and configure it with the correct permissions.
- Go to the Discord Developer Portal, then Applications.
- Click
New Application
at the top-right, near your avatar. - Type a name for your new discord bot, tick the checkbox signifying your agreement to the Developer Terms of Service and Developer Policy, and then click
Create
. - Go to the
Bot
menu on the left, then clickAdd Bot
, then clickYes, do it!
. - Copy the bot user's token by clicking
Copy
, and save this temporarily for the next step.- If you need to view the token again, click
Reset Token
to reset the token and view the newly generated token.
- If you need to view the token again, click
- Scroll down and activate the
Presence Intent
,Server Members Intent
, andMessage Content Intent
switches, then clickSave Changes
. - Go to the
OAuth2
menu on the left and click on theURL Generator
sub-menu. - Select the
bot
scope, then scroll down and select the following bot permissions:- Under the
General Permissions
column:Read Messages/View Channels
- Under the
Text Permissions
column:Send Messages
.
- Under the
- Copy the link using the
Copy
button, then paste into your browser's address bar. - Select your server from the dropdown menu, then click Continue and follow the shown steps to add your bot to the server! (You must have the
Manage Server
permission in a server to see and select it from the dropdown menu.)
-
Start up your server (there will be a message in the console/log about Discord integration being disabled) and then nagivate to the config folder.
-
Paste your bot user's token into the
discord.token
setting, your server's ID into thediscord.guild_id
setting, and the ID of the chat channel you wish to use into thediscord.chat_channel_id
setting.- To get the IDs, open the channel in the server using the Discord web client, then look in the URL; the first number is the server ID, and the second number is the channel ID.
- Alternatively, if you have
Developer Mode
enabled in your Discord client, right-click on the server avatar in the server list and clickCopy ID
. - Alternatively, if you have the
Manage Server
permission, open theServer Settings
screen, click theWidget
menu, then click theCopy
button next to theServer ID
field.
-
In your server console (or in-game as a server operator), run the
/concord enable
or/concord reload
command to enable the Discord integration.