Skip to main content

Bridge Plugin

Live two-way Minecraft ↔ Discord bridge — relay chat, joins, deaths, and console.

How it works

The bridge plugin runs on your Minecraft server and opens a persistent WebSocket connection to raze. Once connected, messages and events flow in real time between Minecraft and Discord in both directions.

Setup

1

Generate your token

Run this in Discord — raze DMs you the plugin file and config:
Requires Administrator in Discord.
2

Install the plugin

Drop raze-bridge.jar into your Minecraft server’s plugins/ folder and start the server once to generate the config file.
3

Configure the plugin

Stop the server, then edit plugins/SlugBridge/config.yml:
The token and URL are included in the DM from step 1.
4

Start the server

Start your Minecraft server. Run ;mc bridge in Discord to verify the plugin is connected.
Keep your token secret — anyone with it can send commands as your server. Use ;mc bridge rotate to generate a new one if it’s ever exposed.

Check connection

Shows whether the plugin is connected and which channels are configured.

Route events to channels

Forward Minecraft events to Discord channels.
chat | joins | deaths | console
required
The Minecraft event to forward.

Send messages & commands

Sends a message into in-game chat as yourself. Requires Manage Messages.

Rotate token

Invalidates the current plugin token and generates a new one. Use this if your token is ever leaked.
After rotating, you must update config.yml on your Minecraft server with the new token and restart it.