Discord Integration
This feature requires Universal Chat 15.0 or later
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: trueThen fill in your Discord Bot Token, and channel id, an example looks like this:
Enabled: true
DiscordBotToken: Nzk5MjgxNDk0NDc2NDU1OTg3.YABS5g.2lmzECVlZv3vv6miVnUaKPQi2wI
ChatChannelID: 1395107357364584678
Commands:
ChatSummary: true
ServerInfo: false
OnlinePlayers: true
Other:
cfg-version: 3Commands
Commands require Universal Chat 16.0 Beta 3 or later
There are 3 Built in commands that can be turned on or off in the configuration
Chat Summary
Generate a summary of the last 150 in-game chat messages
Use /chatsummary on discord (slash command)
Server Info
Show technical information such as server TPS
Use /serverinfo on discord (slash command)
Online Players
Show online players in the server
Use /onlineplayers on discord (slash command)
Last updated
