Sueta
DI

DiscordConnection

1.0.3

Connect your Discord TextChannel to Minecraft

·Plugin

DiscordConnection

# Features
* Chat between Discord and Minecraft
* Reply Discord message from Minecraft
* Broadcast death message + death count
* Broadcast advancement message
* Execute Minecraft command from Discord channel
* Get server ip by command in Discord channel
* Display playercount on activity status

How to Use
Create a Discord Bot and Add it to Your Discord Server

  1. Go to https://discord.com/developers/applications

  2. Click New Application to create a new application

  3. Go to Bot tab and click Add Bot

  4. Copy the Bot's Token and save it for later use

  5. Go to OAuth2/URL Generator tab and check SCOPES/bot and BOT PERMISSIONS/Administrator and copy the url

  6. paste the url in your browser and add the bot to your server

Minecraft Server Set Up

  1. Go in to your minecraft server
  2. use /discord token <token> put in the token you just copied
  3. Go to your Discord Server and right click the channel you want to connect and copy the id (If you don't see copy id in your menu, go to User Settings/Advanced and turn on Developer Mode)
  4. Go back to Minecraft server and use /discord channel chat set <id>
  5. Beside chat channel,you can also set other channel by useing /discord channel <channel> set <id>
    • available channels are:
    • chat:use for chat between Minecraft and Discord
    • death:use for broadcast death message
    • achievement:use for broadcast advancement
    • console:use for execute minecraft command from discord
    • all:set all the channels
  6. if you want to clear any channel just use /discord channel <channel> clear

Commands
minecraft
for everyone:

  • /reply <messageid> <text> -- reply to the message

op required:

  • /discord token <token> -- set the bot's token
  • /discord channel <channel> <method> (<id>) -- set the Discord channel connected to the bot
  • /discord activitytext <text> -- set the text you want to display on the bot's activity status
  • /discord deathcounttext <text> -- set the DeathCount display text that shows when a player died

Discord

  • -ip -- get Minecraft server's public ip

Similar projects

Plugin →