Discord Bridge
StaffLink Pro bridges staff chat to a Discord channel using DiscordSRV. Because it reuses DiscordSRV's bot, there's no extra token, webhook or bot process to run.
StaffLink Pro hooks DiscordSRV as a soft dependency. When DiscordSRV is installed and online, staff chat flows to your chosen Discord channel and messages typed in that channel come back into in-game staff chat.
Setup
- Install and configure DiscordSRV so its bot is online in your server.
- In DiscordSRV's
channelsconfig, add a channel entry — for example astaffkey pointing at your staff Discord channel's ID. - In StaffLink Pro's
config.yml, enable the bridge and point it at that channel:
discord:
enabled: true
# Use either channel-key (recommended) or channel-id
channel-key: "staff"
channel-id: "000000000000000000"
allow-minecraft-to-discord: true
allow-discord-to-minecraft: true
ignore-bots: true
strip-markdown: false
username-format: "%nickname%"
messages:
to-discord-format: "**{server}** {player}: {message}"To avoid duplicate messages, enable discord.enabled on only one backend server. That server
becomes the bridge for the whole network; every other server relays its staff chat to it over the
proxy, and it forwards to Discord.
What it looks like
Survival Nova: discord bridge is live
getting it over here 👍
Lobby Pike: replies come back in-game too
A message typed in the Discord channel appears in-game using the discord-format from
staff-chat:
Options explained
| Key | What it does |
|---|---|
allow-minecraft-to-discord | Send in-game staff chat to Discord. |
allow-discord-to-minecraft | Bring Discord messages into in-game staff chat. |
ignore-bots | Ignore messages from other bots in the Discord channel. |
strip-markdown | Remove Discord markdown (**bold**, etc.) before showing in-game. |
username-format | How a Discord author's name is shown — %nickname%, %sender%, %discord_tag%, %discord_id%, %role%. |
messages.to-discord-format | Layout of messages sent to Discord. Placeholders: {server}, {player}, {message}. |
The in-game appearance of Discord messages is set by staff-chat.discord-format
(placeholders {user}, {message}).