Skip to content
Lukiiy edited this page Aug 18, 2024 · 3 revisions

A simple guide for a simple setup!

Note

If you already have a discord bot, skip to step 3.

  1. Create a Discord Bot
    Visit Discord Developer Portal and click on "New Application"
    Go to the "Bot" section and click on "Add Bot"
    Scroll down to the "Privileged Gateway Intents" section
    Enable both the SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT

  2. Copy the Bot Token
    In the "Bot" section, copy the bot's token

  3. Setting up Config.yml
    If the config folder has not been generated yet, start your server with the plugin to create it
    Open the config.yml file in the plugin's folder
    Locate the discord: token field and paste the token you copied earlier

  4. Invite the Bot to your Discord Server
    To invite the bot to your server, go to the "OAuth2" section in the Discord Developer Portal
    Under "OAuth2 URL Generator", select the bot and applications.commands scopes
    Choose the permissions your bot needs, then copy and paste the generated URL into your browser to invite the bot

  5. Enable Developer Mode in Discord

    1. Open Discord settings.
    2. Navigate to the "Advanced" section.
    3. Toggle on Developer Mode.
  6. Configure the Channel ID
    In the Discord server, right-click the channel you want to sync with your Minecraft chat and select "Copy ID" Open the config.yml file again Locate the discord: channelId field and paste the ID

  7. Restart the Server

  8. Success!
    Your bot should now be linked with your Discord server and Minecraft chat. 🎉

Caution

DO NOT SHARE YOUR BOT'S TOKEN.

Clone this wiki locally