Skip to content

Console streaming

Cyrusbye720 edited this page Jun 6, 2026 · 3 revisions

Console streaming

Streams server log output to a Discord channel, batched every two seconds to stay within Discord's rate limit.

Configuration

channels:
  console: "123456789012345678"

Behaviour

  • Only the server's root logger is hooked. ZDiscord's own logger is filtered out to avoid double-reporting.
  • Lines longer than 200 characters are truncated.
  • Batches longer than 1900 characters are split across multiple messages.

Limitations

This streams server log lines, not in-game chat. For chat, see Chat bridge.

Security

The console bridge is one-way (log → Discord). For running commands from Discord, see misc.console-role in the main config.yml. The console-command bridge requires the configured role and rejects op, deop, stop, restart, reload confirm, and whitelist remove.


ZDiscord v1.1.0 · Home · Issues · Source

Clone this wiki locally