Table of Contents

Namespace EchoHub.Server.Config

Classes

ServerLogsOptions

Live server-log room settings, bound from the "ServerLogs" config section (env override: ServerLogs__Enabled etc.). When enabled, a read-only system channel is auto-created and log events are streamed to it live — log lines are never stored as messages in the database; the rolling Serilog log files remain the only persistence.

SpamOptions

Anti-spam thresholds, bound from the "Spam" config section. Defaults are lenient enough that a fast typist never trips them; Mods and above are always exempt.

StatsOptions

Periodic server-stats report settings, bound from the "Stats" config section (env override: Stats__Enabled etc.). When enabled, a background job periodically snapshots server activity, logs it as pretty-printed JSON, and persists it to the database.

UploadLimits

Admin-configurable upload limits, bound from the Uploads configuration section. Sizes are expressed in megabytes in configuration; the *Bytes accessors convert them for enforcement. Every default mirrors HubConstants so an absent or partial Uploads section preserves the historical built-in limits.