{"id":1442,"date":"2026-02-02T22:38:57","date_gmt":"2026-02-02T22:38:57","guid":{"rendered":"https:\/\/www.academy-hosting.com\/hosting\/?post_type=docs&#038;p=1442"},"modified":"2026-02-03T01:26:16","modified_gmt":"2026-02-03T01:26:16","password":"","slug":"schweppes-mordhau-rcon-bot-configuration-guide","status":"publish","type":"docs","link":"https:\/\/www.academy-hosting.com\/hosting\/guides\/discord-bot-guides\/schweppes-mordhau-rcon-bot-configuration-guide\/","title":{"rendered":"Schweppe\u2019s Mordhau RCON Bot Configuration Guide"},"content":{"rendered":"\n<p>This guide explains how to properly configure <strong>Mordhau RCON bot configuration<\/strong> for Schweppe\u2019s Mordhau RCON Discord Bot. This bot is designed for larger Mordhau servers that require advanced moderation tools, automated utilities, and detailed logging directly inside Discord.<\/p>\n\n\n\n<p>The Mordhau RCON bot allows server owners and administrators to securely manage <strong>Mordhau server administration through Discord<\/strong>, including player moderation, RCON command execution, and persistent data tracking.<\/p>\n\n\n\n<p><strong>Security is critical.<\/strong> Treat all bot credentials with the same care as root server access. Never grant access to your bot or its tokens to anyone you would not fully trust with your infrastructure.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What Is the Mordhau RCON Discord Bot?<\/h2>\n\n\n\n<p>Schweppe\u2019s Mordhau RCON Discord Bot is a specialized tool that connects your Mordhau server to Discord using RCON and the Discord API. It is commonly used by high-population or competitive servers that need:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Centralized moderation through Discord<\/li>\n\n\n\n<li>Automated logging and audit trails<\/li>\n\n\n\n<li>Player lookup and identity linking<\/li>\n\n\n\n<li>Persistent data storage<\/li>\n\n\n\n<li>Secure remote server control<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Preparing the Mordhau RCON Bot<\/h2>\n\n\n\n<p>The Mordhau RCON Discord Bot is pre-installed and ready for configuration upon order. Your primary task is to gather the required credentials and correctly populate the <code>config.json<\/code> file.<\/p>\n\n\n\n<p>No bot functionality will work until all required credentials are configured.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Setting Up MongoDB (Required)<\/h2>\n\n\n\n<p>MongoDB is used by the Mordhau RCON bot for persistent data storage, including player data, logs, and internal state tracking.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">MongoDB Setup Steps<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit the MongoDB Getting Started guide<\/li>\n\n\n\n<li>Create a MongoDB account<\/li>\n\n\n\n<li>Create a new MongoDB cluster<\/li>\n\n\n\n<li>Select <strong>AWS<\/strong> as the provider<\/li>\n\n\n\n<li>Choose the region closest to your Mordhau server<\/li>\n\n\n\n<li>Record the MongoDB connection string<\/li>\n<\/ol>\n\n\n\n<p>The connection string will be required when editing the bot\u2019s configuration file.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Obtaining a Steam API Key<\/h2>\n\n\n\n<p>A Steam API key is required for player lookups and for linking Steam accounts to Playfab identities within Mordhau.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steam API Key Setup<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Register at the Steam API Key registration page<\/li>\n\n\n\n<li>Use your Mordhau server name as the domain<\/li>\n\n\n\n<li>Generate and save the API key<\/li>\n<\/ol>\n\n\n\n<p>This key is sensitive and should never be shared publicly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Configuring the Discord Bot Application<\/h2>\n\n\n\n<p>The Mordhau RCON bot requires a Discord application to communicate with Discord\u2019s API.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Discord Developer Portal Setup<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit the Discord Developer Portal<\/li>\n\n\n\n<li>Create a new application<\/li>\n\n\n\n<li>Navigate to the <strong>Bot<\/strong> tab<\/li>\n\n\n\n<li>Copy the following credentials:\n<ul class=\"wp-block-list\">\n<li>Bot Token<\/li>\n\n\n\n<li>Public Key<\/li>\n\n\n\n<li>Client ID<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p><strong>Important:<\/strong> These credentials grant full control of the bot. Store them securely and never expose them in screenshots, logs, or repositories.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Editing the Config.json File<\/h2>\n\n\n\n<p>Once all credentials are collected, you can configure the Mordhau RCON bot.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configuration Steps<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Locate and open the <code>config.json<\/code> file<\/li>\n\n\n\n<li>Enter your MongoDB connection details near the bottom of that file.<\/li>\n\n\n\n<li>Add your Steam API key in the proper field.<\/li>\n\n\n\n<li>Insert the Discord bot token, public key, and client ID<\/li>\n\n\n\n<li>Double-check all values for accuracy<\/li>\n<\/ol>\n\n\n\n<p>Incorrect or missing values in <code>config.json<\/code> will prevent the bot from starting or functioning correctly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Finalizing the Mordhau RCON Bot Setup<\/h2>\n\n\n\n<p>After completing the configuration:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the <code>config.json<\/code> file<\/li>\n\n\n\n<li>Restart the RCON bot service<\/li>\n\n\n\n<li>Monitor startup logs for errors<\/li>\n<\/ul>\n\n\n\n<p>If the bot starts successfully, it will connect to Discord and begin interacting with your Mordhau server using RCON.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Security Best Practices for Mordhau RCON Bots<\/h2>\n\n\n\n<p>Because this bot has administrative access to your server, security must be _toggle non-negotiable_.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Never share bot tokens or API keys<\/li>\n\n\n\n<li>Restrict Discord permissions to trusted roles only<\/li>\n\n\n\n<li>Rotate credentials if exposure is suspected<\/li>\n\n\n\n<li>Limit bot access to essential Discord channels<\/li>\n<\/ul>\n\n\n\n<p>Treat your bot credentials with the same importance as SSH keys or root passwords.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Proper <strong>Mordhau RCON bot configuration<\/strong> enables powerful server moderation, automation, and logging through Discord. When configured correctly and secured properly, this bot becomes an essential tool for large or competitive Mordhau communities.<\/p>\n\n\n\n<p>Taking the time to follow best practices during setup will ensure stability, security, and long-term reliability.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Need Help or Support?<\/h2>\n\n\n\n<p>For support, troubleshooting, or additional guidance with Schweppe\u2019s Mordhau RCON Discord Bot, join the Academy Hosting support community:<\/p>\n\n\n\n<p>\ud83d\udd17 <a href=\"https:\/\/discord.gg\/28bkbRAMEE\" target=\"_blank\" rel=\"noreferrer noopener\">Academy Hosting Support Discord<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to properly configure Mordhau RCON bot configuration for Schweppe\u2019s Mordhau RCON Discord Bot. This bot is designed for larger Mordhau servers that require advanced moderation tools, automated utilities, and detailed logging directly inside Discord. The Mordhau RCON bot allows server owners and administrators to securely manage Mordhau server administration through Discord, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[20],"doc_tag":[],"class_list":["post-1442","docs","type-docs","status-publish","hentry","doc_category-discord-bot-guides"],"acf":[],"year_month":"2026-05","word_count":672,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"assaultline","author_url":"https:\/\/www.academy-hosting.com\/hosting\/author\/assaultline\/"},"doc_category_info":[{"term_name":"Discord Bot Guides","term_url":"https:\/\/www.academy-hosting.com\/hosting\/guides-category\/discord-bot-guides\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/docs\/1442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/comments?post=1442"}],"version-history":[{"count":1,"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/docs\/1442\/revisions"}],"predecessor-version":[{"id":1443,"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/docs\/1442\/revisions\/1443"}],"wp:attachment":[{"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/media?parent=1442"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/doc_category?post=1442"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.academy-hosting.com\/hosting\/wp-json\/wp\/v2\/doc_tag?post=1442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}