- Setup a Discord Application and a App Bot user (http://discordapp.com/developers/applications/me)
- Allow the bot to access the channels you will use (https://discordapp.com/developers/docs/topics/oauth2#adding-bots-to-guilds)
- Setup a Minecraft server with compatible SpongeVanilla or SpongeForge
- Download Discord Bridge latest release and put it in your server's mod folder
- Start the server to create a default config file at
configs/discordbridge/config.json
- Set compulsory values in the newly created config file
botToken
: token of your App Bot User of your Bot in http://discordapp.com/developers/applications/mediscordId
of each channel: the ID of your Discord channel. Check our README.md if you don't know how to obtain it.
- Restart the server or run
/discord reload
- You can chat in Discord in the any channel that has
minecraft
section set up. Your messages will be broadcast to all players if the server owners has set up a default/bot account. - You can chat in Minecraft:
- Your messages will show up in the Discord channel under your Discord name if you have authenticated.
- Otherwise, your messages will show up in the Discord channel under the bot name if you have not authenticated.
- To authenticate, run this command in Minecraft
/discord login <your_Discord_username> <your_Discord_password>
- WARNING: the server may log all commands, so be careful not to leak your Discord credentials on untrusted servers.
- NOTE: when authenticated for the first time on a server, Discord will block the login attempt and send a notification email. You have to check your email for a link to unblock server's IP address.