# --------------------------------------------------- # ItzDiscord Plugin Configuration # Cross-Chat Plugin between Minecraft & Discord # --------------------------------------------------- # # This file contains the settings required to connect # your Minecraft server to a Discord server using: # 1. Discord Webhooks to send messages from Minecraft to Discord # 2. A Discord Bot to send messages from Discord to Minecraft # # Make sure to follow the instructions below to set it up. # # Need help? Visit the documentation or contact support! # --------------------------------------------------- discord: # --------------------------------------------------- # WEBHOOK URL CONFIGURATION # --------------------------------------------------- # Webhook URL for sending messages from Minecraft to Discord. # Set this to your Discord Webhook URL, which can be created # from Discord in Server Settings -> Integrations -> Webhooks. # Example: "https://discord.com/api/webhooks/1234567890/yourWebhookKey" # # Ensure you only add the full URL in quotation marks. webhook-url: "https://discord.com/api/webhooks/your_webhook_url"
# --------------------------------------------------- # DISCORD BOT CONFIGURATION # --------------------------------------------------- # Bot Token: Your Discord bot token required for connecting # the plugin to Discord. Create a bot via the Discord Developer # Portal (https://discord.com/developers/applications), then copy # the Bot Token here. # # Make sure your bot has the necessary permissions to read and send # messages in your desired channel. # # Example: "OTYwNjU4NzEwNDA1MzIxMjk5.YjeXyA.yourBotToken" bot-token: "your_bot_token"
# --------------------------------------------------- # CHANNEL CONFIGURATION # --------------------------------------------------- # Channel ID: The Discord channel ID where the bot will listen # for messages and send Minecraft chat messages to. You can get # the Channel ID by enabling Developer Mode in Discord, right-clicking # on the channel, and clicking "Copy ID." # # Example: "123456789012345678" channel-id: "your_channel_id"
# --------------------------------------------------- # MESSAGE FORMATTING # --------------------------------------------------- # You can customize the formatting of messages sent from Minecraft # to Discord and vice versa. You can add placeholders like {player} # for Minecraft player names and {message} for the message content. # # Default message format from Minecraft to Discord: mc-to-dc-format: "**{player}:** {message}"
# Default message format from Discord to Minecraft: dc-to-mc-format: "[Discord] {username}: {message}"