Discord Integration

Step 1: Setting up a discord bot

Navigate to Discord's Developer Portal here.

Click "New Application" at the top right

Give it a name, Agree to the TOS and click "Create"

Navigate to the Bot section in the sidebar.

Uncheck "PUBLIC BOT" and make sure presence intent, server members intent and message content intent are all enabled, then click save changes

Click reset token and keep the token safe. (DO NOT SHARE THIS ANYWHERE)

Next, go to your Discord client, then go to settings > Advanced and enable developer mode.

Right click on the channel you want your chat to be in, then click copy channel id.

Turning on the bot

In your Minecraft server files, go to plugins/UniversalChat/Discord.yml

Set enabled to true, like below

Enabled: true

Then fill in your Discord Bot Token, and channel id, an example looks like this:

Enabled: true
DiscordBotToken: Nzk5MjgxNDk0NDc2NDU1OTg3.YABS5g.2lmzECVlZv3vv6miVnUaKPQi2wI
ChatChannelID: 1395107357364584678

Other:
    cfg-version: 2

Last updated