# ============================================================ # MailboxGUI-DiscBridge Configuration # ============================================================ # # This plugin connects MailboxGUI delivery events to DiscordSRV notifications. # # Single-server setup: # - Install MailboxGUI, DiscordSRV, and MailboxGUI-DiscBridge on the same server. # # ============================================================ # Configuration file version. # Do not change this unless a future update specifically tells you to. config-version: 4 # In-game command locale. # # This controls /mbdiscord command messages only. # # Supported languages: # en, de, es, fr, it, ja, ko, nl, pl, ru, sv, uk, zh_cn, zh_hk, zh_tw locale: # If true, players receive /mbdiscord command messages in their Minecraft client language # when a matching language file exists. use-client-locale: true # Default language for /mbdiscord command messages when client locale detection # is disabled, unavailable, or unsupported. default-language: "en" # Discord message language defaults. # # Discord message templates are stored in /plugins/MailboxGUI-DiscBridge/disclanguage/. # # Individual Discord DMs use the recipient's selected Discord message language # from /mbdiscord language . If a player has not selected a language, # individual DMs use this default language. # # Admin/API mass-mail channel notices always use this default language. # Player-selected Discord message languages do not affect channel notices. # # Supported values: # en, de, es, fr, it, ja, ko, nl, pl, ru, sv, uk, zh_cn, zh_hk, zh_tw discord-messages: default-language: "en" # Server display name used in Discord messages. # Placeholder: {server} # # Generic default to avoid branding a specific server into the plugin. # Server owners can customize this. server-name: "Minecraft Server" # Individual Discord direct-message notifications. # # These are used for one-recipient mail deliveries. # # DMs are based on local MailboxGUI delivery events. direct-messages: # If true, DiscBridge may send Discord DMs for individual mail. # If false, individual Discord DMs are disabled globally. enabled: true # If false, online players will not receive Discord DMs unless they personally enable: # /mbdiscord online on # # Recommended default: false # Reason: online players already receive in-game MailboxGUI notifications. send-to-online-players-by-default: false # Duplicate protection. # # DiscBridge remembers recent MailboxGUI event IDs so the same Discord # notification is not sent twice. # # Protects against duplicate local delivery events. duplicate-protection: # If true, DiscBridge remembers recent MailboxGUI delivery event IDs. # # Recommended: true enabled: true # How long event IDs are remembered. # # This prevents duplicate Discord notifications if the same event is observed twice. remember-event-ids-minutes: 30 # Discord channel notification for admin/API mail sent to multiple recipients. # # Mass mail means 2 or more recipients. # # Recommended behavior: # - Send one channel message for mass mail. # - Do not send one immediate DM per recipient. # # This works in LOCAL mode. admin-mass-mail-channel: # If true, DiscBridge may post one Discord channel message for mass mail. enabled: true # Discord channel ID where mass mail notices should be posted. # To get a channel ID: # 1. Enable Discord Developer Mode. # 2. Right-click the Discord channel. # 3. Click "Copy Channel ID". channel-id: "" # If true, {mention} becomes @everyone in the mass mail channel message. # If false, {mention} becomes blank. # # Your Discord bot role must have permission to mention everyone if this is true. mention-everyone: false # Optional Discord direct-message notifications for admin/API mass mail. # # Default: disabled. # # Reason: # Mass mail can target many players. The safer default is one Discord channel # post only. # # If enabled: # - DiscBridge checks actual DM eligibility before counting a recipient. # - Unlinked players do not count. # - Players who disabled DMs do not count. # - Players ignoring admin mail do not count. # - Online players do not count unless online DMs are allowed. # # DMs are queued and delayed to avoid sending too many Discord messages at once. admin-mass-mail-direct-messages: # If true, eligible recipients may receive individual Discord DMs # for admin/API mass mail. enabled: false # Maximum number of eligible DM recipients for one mass mail event. # # This counts only players who passed all DM eligibility checks. max-eligible-recipients: 10 # What happens when eligible recipients exceed max-eligible-recipients. # # channel_only: # - Send no mass DMs. # - Rely on the admin mass mail channel post. # # send_first_max: # - Send DMs only to the first max-eligible-recipients eligible players. over-limit-behavior: channel_only queue: # If true, DMs are spaced out instead of sent all at once. enabled: true # Delay between queued DMs. delay-between-dms-seconds: 3 # Number of retry attempts after a failed DM. max-retries: 1 # Delay before retrying a failed DM. retry-delay-seconds: 30 # Update checker. # # The website update endpoint is built into the plugin and is not shown here. # Only the update channel is configurable. # # This prevents server configs from depending on public URLs while still letting # admins choose release, beta, or alpha update channels. updates: # Enables or disables update checks. enabled: true # Release channel to check. # # Common values: # - release # - beta # - alpha channel: release # If true, checks for updates when the plugin starts. check-on-startup: true # If true, admins are notified when they join and an update is available. notify-admins-on-join: true # Permission required to receive join update notices. notify-permission: "mailboxguidiscbridge.admin"