Skip to main content

Keep a DiscordSRV console channel read-only for observers

Applies to: DiscordSRV; match the linked maintainer documentation to your installed platform and release.
Documentation checked .

A Discord console channel can expose logs and permit command input. Decide who needs each capability before inviting observers; read access should not silently become the ability to operate your Minecraft server.

Prepare the test

Use a private test channel and two test identities before changing the public bridge. Keep bot tokens, linking codes and staff console output out of screenshots and public support messages.

Make the change

  1. Review whether you actually need Discord console forwarding. Identify its configured channel ID and compare the installed DiscordSRV console options with the official reference before changing any public chat mapping.
  2. Keep the channel private to the smallest staff audience. Check its history for player addresses, private chat or plugin output before adding new readers, since restricting future messages does not remove old sensitive content.
  3. Deny message sending to the observer role while preserving the bot’s required access. Review other roles and individual overrides on the same observer account; a second allow rule can defeat your intended restriction.
  4. Test with a separate observer identity and a separate authorised operator. The observer should be able to inspect permitted output without submitting console commands; use only a harmless status command for the operator’s test.

Check the result

The observer should have the intended read access and no writable command path. Confirm the normal player chat bridge still routes separately and that console output has not appeared in a public channel.

If the test fails

Remove the observer’s channel access if the policy cannot be proven, then inspect effective Discord permissions and DiscordSRV’s console command restrictions. Do not test protection by executing destructive commands or by exposing the console channel publicly.

Console output can include secrets from other plugins. Keep the audience limited even when command execution is blocked, and redact captured lines before sharing a screenshot or support report.

References and related help

Check the official DiscordSRV documentation against your installed release before using a command or setting from another version.