Skip to content

Discord errors in Minecraft chat

denisnumb edited this page May 30, 2026 · 2 revisions

ℹ️ If necessary, you can enable a feature in the configuration that will display mod interaction errors with Discord in Minecraft chat.

This is useful, for example, in cases where you forgot to configure the bot correctly or accidentally revoked some permission while it was running.

If errors occur, you will see a notification about the error and its cause in the game chat, and you won't have to guess why, for example, a message from the game didn't reach the Discord channel.


ℹ️ To enable this feature, simply set the configuration parameter (It's already enabled by default):

# Notify about internal Discord interaction errors in the server's in-game chat
logDiscordErrorsToServerChat = true

ℹ️ Now, when connecting to Discord, you will receive errors and warnings not only in the server console, but also in the game chat:

  • Missing Manage Webhooks permission warn

image

  • Missing Send Messages permission error when trying to send a message to the #main channel

image

  • Missing Pin Messages permission error when connecting to the server

To connect to the server, a primary channel must be specified. If the channel is specified incorrectly or the bot does not have sufficient permissions to operate on it, the server will not connect.

image

About player selectors

Note

By default, Discord interaction error messages are visible to all players on the server.

ℹ️ If you want to show error and warning messages to all players, you don't have to disable them completely - instead, configure the discordErrorsChatPlayerSelector setting.

# If logDiscordErrorsToServerChat=true, then the errors in the chat will be seen by players with the specified selector
# By default, "@a" — all players. You can specify a specific nickname or attribute, for example, "@a[tag=admin]"
discordErrorsChatPlayerSelector = "@a"

ℹ️ This parameter determines which players will see error messages in chat. By default, this selector is @a — all players.

ℹ️ You can read more about how selectors work here: https://minecraft.wiki/w/Target_selectors

For example, you can simply specify the nickname of a specific player who will receive error messages:

discordErrorsChatPlayerSelector = "denisnumb"

If you want these messages to be visible only to server administrators, assign a special tag to all eligible players using the vanilla command /tag

For example /tag denisnumb add admin:

image

Now you can specify a selector for all players that have the admin tag:

discordErrorsChatPlayerSelector = "@a[tag=admin]"

Done! Now only players with the 'admin' tag will receive error messages.

Clone this wiki locally