How to Install and Set Up DiscordSRV | Updated

The Aternos forums are now deprecated

Learn more about this change here.

For help regarding Aternos, we recommend you to visit our support center.

  • I saw someone else do this, but it was outdated.


    DiscordSRV is a plugin which links a discord text channel, and minecraft chat. Here is how to set it up.

    Official Website: https://www.spigotmc.org/resources/discordsrv.18494/



    1. File Installation:

    Firstly you want to install the Plugin. This is done by going to Software - Plugins - Paper or Spigot - DiscordSRV - Your Version - Install. Then you want to start your server to generate the files.


    2. Discord Bot:

    Now, you want to set up your bot. Head over to the Discord Developer Portal at https://discord.com/developers/applications

    Click:

    - 'Applications' (if your not already on it) -

    - 'New Application' - then insert a name for the bot.

    - Click the 3 Lines at the top left, and click 'Bot' - you should be redirected to the Build-a-Bot page.

    - Then click add bot, and then the confirmation 'Yes,Do It'

    - Now your new bot is born! Scroll down and select the permissions it has (Administrator if you want to keep it short)

    - Now, scroll up/down to the 'Server Members Intent' option, and enable it

    - Then click the 3 Lines again and head over to OAuth2.

    - Select the 'Bot' option under scopes. Now a link has been generated for your bot. At the bottom of the scopes tab, open the new link in a new tab to invite it to your server.

    - Once you have invited the bot, click the 3 lines in the discord Applications portal, and select bot.

    - Now under token, click 'Show' and copy that bot token.


    3. Configuration

    - Head back over to your server page. But now go to; Files - Plugins - DiscordSRV (folder) - config.yml

    - in the config.yml, remove the 0s between the 2 speech marks (") after 'Bot Token:' now paste your bot token, that you copied in an earlier instruction, there surrounded by the speech marks. Eg: BotToken: "FJAKDSHDFSEUI3ODFHNEUIOH734"

    - do the same for 'Channel' replacing the 0s between the speech Mark's with the channel id you want the chat to be in. Eg: Channels:

    {"global": "798501859144761384"}

    + To get the channel ID, Enable Developer Mode in appearance settings, then right click the channel and select copy ID.

    + If you have Developer mode OFF: type #general, then add \ before the message (\#general), send it and then you'll see the channel's ID. This also works when mentioning a user, to get the user's ID as well.



    Finally, restart your server and it should be working.

    You will know if it worked, if the bot is online and when the server starts the bot posts: "Server Started"

    If you need any more help, comment or dm me on discord Furious#0770.

    If you cant dm me, I'm in the official aternos server.


    NEW:

    Join

    https://discord.gg/BEdfYQTEHv

    For support on how to setup DiscordSRV and Discord Whitelister (click here for post)

    :aternos:

    (Thanks Henery)

    Edited 8 times, last by Furi0usX: Few typos, and made it a little easier to understand. Added Official Link Thanks Henery for the extra tips in the comments Added support discord ().

  • That tutorial is helpful for many players, but here are the things that you missed:

    - Channel/Username's ID must not contain letters.

    - In step 2, before you build a bot, you need to make sure you have "SERVER MEMBER INTENT" enabled. Otherwise, the log/console will throw an error when you start the server, telling you to enable it.

    - To get username/channel's ID (for new people):

    + Enable Developer mode in Appearance setting, go back, right-click a channel or profile, and copy ID.

    + If you have Developer mode OFF: type #general, then add \ before the message (\#general), send it and then you'll see the channel's ID. This also works when mentioning a user, to get the user's ID as well.

  • Thanks! I'll add that in now

  • Furi0usX

    Changed the title of the thread from “How to install DiscordSRV | Updated” to “How to Install and Set Up DiscordSRV | Updated”.
  • Roman

    Closed the thread.