StaffLink Pro

Discord Bridge

StaffLink Pro mirrors staff chat to a Discord channel both ways: in-game staff chat appears in Discord, and messages typed in that Discord channel come back into in-game staff chat. You can connect it in one of two ways.

Choose a mode

ModeUse whenNeeds
discordsrvYou already run DiscordSRVDiscordSRV installed; no extra bot or token
botYou don't use DiscordSRVA Discord bot token of your own (StaffLink Pro connects directly)

Set the mode with discord.mode. Both modes support the same two-way sync and the same formatting options — only the connection differs.

Enable on ONE server only

Whichever mode you pick, 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.

Mode 1 — DiscordSRV

Reuses DiscordSRV's existing bot, so there's no extra token, webhook or bot process to run.

  1. Install and configure DiscordSRV so its bot is online in your server.
  2. In DiscordSRV's channels config, add a channel entry — for example a staff key pointing at your staff Discord channel's ID.
  3. In StaffLink Pro's config.yml, enable the bridge and point it at that channel:
discord:
  enabled: true
  mode: "discordsrv"
  # Use either channel-key (recommended) or channel-id
  channel-key: "staff"
  channel-id: ""

  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}"

Mode 2 — Standalone bot (no DiscordSRV)

StaffLink Pro connects to Discord directly with its own bot token. Nothing else to install.

  1. Go to the Discord Developer Portal and create a New Application.
  2. Open the Bot tab, add a bot, and under Privileged Gateway Intents turn on the Message Content Intent. (Without it, Discord sends empty message text and the Discord→game direction won't work.)
  3. Copy the bot token (Reset Token if you've never seen it).
  4. Invite the bot to your server: on the OAuth2 → URL Generator tab tick bot, give it the View Channel, Send Messages and Read Message History permissions, open the generated URL and add it to your server.
  5. In Discord, enable Developer Mode (User Settings → Advanced), then right-click your staff channel → Copy Channel ID.
  6. Fill in config.yml:
discord:
  enabled: true
  mode: "bot"
  bot-token: "YOUR_BOT_TOKEN_HERE"
  channel-id: "000000000000000000"   # required in bot mode

  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}"
Keep your token secret

Your bot token is a password for the bot — anyone with it can control it. Don't share your config.yml or paste the token anywhere public. If it leaks, reset it in the Developer Portal.

Role colours in bot mode

%role% renders Discord's role-coloured tag ([D-Admin], etc.) in discordsrv mode only. In bot mode the author is shown with a plain [Discord] tag; the other name placeholders (%nickname%, %sender%, %discord_tag%, %discord_id%) work in both modes.

What it looks like

staff-chat
StaffLinkAPP

Survival Nova: discord bridge is live

kayla

getting it over here 👍

StaffLinkAPP

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:

In-game staff chat
[Discord] Staffchat: kayla: getting it over here

Options explained

KeyWhat it does
modediscordsrv (hook DiscordSRV) or bot (StaffLink Pro's own bot).
bot-tokenBot mode only. Your Discord bot token. Keep it secret.
channel-keyDiscordSRV mode only. The channel key from DiscordSRV's config.
channel-idThe Discord channel ID. Required in bot mode, optional in DiscordSRV mode.
allow-minecraft-to-discordSend in-game staff chat to Discord.
allow-discord-to-minecraftBring Discord messages into in-game staff chat.
ignore-botsIgnore messages from other bots in the Discord channel.
strip-markdownRemove Discord markdown (**bold**, etc.) before showing in-game.
username-formatHow a Discord author's name is shown: %nickname%, %sender%, %discord_tag%, %discord_id%, %role%.
messages.to-discord-formatLayout 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}).