Skip to content

Latest commit

 

History

History
70 lines (39 loc) · 3.09 KB

Installation.md

File metadata and controls

70 lines (39 loc) · 3.09 KB

How to install the DiscordLink plugin on your Eco Server.

Note: If you do not have access to the server GUI, copy the config file from the "ExampleConfig" folder and fill in the values directly in the file. Documentation for doing this can be found in the configuration guide.

1. Download the latest DiscordLink release .zip file from https://github.com/Spoffy/EcoDiscordPlugin/releases

Download page

2. Go to your server's mods folder (Eco Server/Mods/) and extract the .zip there and start your server.

Unzip dialog

3. When the server has loaded, navigate to the DiscordLink configuration tab. You'll see a configuration box labelled "BotToken". We need to go create one.

Config box

4. Navigate to https://discordapp.com/developers/applications/me. Login to Discord and click "New App".

Discord app page

5. Name your bot appropriately (this will be the bot's name on your Discord server).

Discord new app page

6. Click the section labelled "Bot". Click "Create a Bot User".

Create bot user

7. Click "Add Bot"

Add bot

8. This section will now contain the token we need. Click the copy button to get the token into your clipboard.

Discord token

9. Paste the token into the "BotToken" section of the server GUI. If you check the server's console, you should see "Connected to Discord". If you don't, double check your token.

Token installation message

10. Navigate back to the bot's page on the Discord website (see above). Copy the "Client ID" that appears at the top - you will need it in the next section.

Discord client id

11. Go to https://discordapi.com/permissions.html#216064. Paste the Client ID in the bottom left field labelled "Client ID", and add any extra permissions you want the bot to have. Click the link at the bottom.

Setting permissions

12. Set the server you want to invite the bot to, then click "Continue".

Invite to server

13. Check your Discord server to see that the bot is online when the server is running.

Offline Invite to server Online Invite to server

14 Run the "Echo" command in a Discord channel where the bot has permissions, to see that it is working properly.

Echo command Invite to server

Discord server GUI chat display showing that the message reached the Eco server Invite to server

Discord bot crosspost if a Channel Link has been set up Invite to server

15. You're done! Configure any other options you want in server GUI, or change the Bot's permissions as if they're any other user in Discord.