Overview
Themcdis init command creates a new McDis-RCON project by copying the default configuration template to your current directory.
Usage
What It Does
- Locates the templates directory in the McDis-RCON package
- Copies
md_config.ymlto your current working directory - Skips files that already exist (won’t overwrite)
Generated Files
The main configuration file for McDis-RCON. Contains:
- Bot token
- Panel channel ID
- Language settings
- Backup configuration
- Flask settings
- Process definitions (servers and networks)
Example Output
When you runmcdis init, you’ll get a new md_config.yml file:
md_config.yml
Source Code
From/home/daytona/workspace/source/mcdis_rcon/scripts/cli.py:7-14:
Next Steps
Run Command
Start McDis-RCON after configuration
Configuration Guide
Learn how to configure md_config.yml
If
md_config.yml already exists, the init command will skip copying to prevent overwriting your existing configuration.