Process Types
McDis-RCON distinguishes between two types of processes:Servers
Minecraft server instances (Vanilla, Paper, Fabric, Spigot, etc.)
Networks
Proxy networks (Velocity, Waterfall, Bungeecord)
The distinction is organizational. Both types function identically in McDis-RCON; the separation helps you organize your infrastructure logically.
Basic Process Configuration
Processes are defined in theProcesses section of md_config.yml:
Process Naming
Process names must follow these rules:Allowed Characters
Allowed Characters
- Letters (a-z, A-Z)
- Numbers (0-9)
- Periods (.)
- Hyphens (-)
- Underscores (_)
- Spaces
Length Limit
Length Limit
Maximum length: 40 characters
Reserved Names
Reserved Names
Cannot use these names:
.mdbackups.mdaddonsFlask
Case Sensitivity
Case Sensitivity
Process names are case-insensitive for commands:All of these commands work:
Uniqueness
Uniqueness
Each process must have a unique name (case-insensitive):
Start Command Configuration
Thestart_cmd defines how to launch the process:
Command Structure
McDis splits the command by spaces and executes it:Example Start Commands
JVM Memory Flags
-Xms (Initial Heap)
-Xms (Initial Heap)
Sets initial Java heap size:
-Xmx (Maximum Heap)
-Xmx (Maximum Heap)
Sets maximum Java heap size:
Recommended Allocations
Recommended Allocations
Vanilla/Small servers:
- 1-10 players: 2-4GB
- 10-20 players: 4-6GB
- 20-50 players: 6-8GB
- Light mods: 4-6GB
- Medium mods: 6-10GB
- Heavy mods: 10-16GB+
- Velocity/Waterfall: 512MB-2GB
Performance Flags
Optional JVM flags for better performance:These are Aikar’s flags, commonly used for Minecraft servers. Research flags before using them.
Stop Command Configuration
Thestop_cmd defines how to gracefully shut down the process:
Common Stop Commands
Minecraft Servers
Velocity
Waterfall/Bungee
MCDReforged Special Case
For MCDReforged:Blacklist Configuration
Theblacklist filters console output from Discord:
Common Blacklist Patterns
Performance Warnings
Performance Warnings
Player Join/Leave (High Traffic)
Player Join/Leave (High Traffic)
Debug Messages
Debug Messages
Plugin Spam
Plugin Spam
Proxy Connection Messages
Proxy Connection Messages
Blacklist Behavior
- Case-sensitive:
'debug'won’t match'[Debug]' - Substring matching:
'keep up'matches"Can't keep up! Is the server overloaded?" - Empty blacklist: Use
[]orblacklist: []for no filtering - Null/None: If blacklist is missing or null, it’s treated as empty
Multi-Server Configuration Example
Here’s a complete example with multiple servers and a proxy:Process Directory Structure
When you define a process, McDis creates directories:Working Directory
When a process starts, its working directory is set to its folder:- Relative paths in server configs work correctly
- Server files are read from the process folder
- Logs are written to the process folder
Empty Process Sections
If you don’t have networks or servers, use empty sections:Process Configuration Validation
McDis validates all process configurations on startup:Troubleshooting
Server won't start
Server won't start
Check:
- Is
start_cmdcorrect? - Does the JAR file exist in the process folder?
- Is Java installed and in PATH?
- Are there enough system resources?
Server won't stop gracefully
Server won't stop gracefully
Check:
- Is
stop_cmdcorrect for your server type? - Is the server responding to commands?
- Verify stop command in server documentation
- Use
killcommand if necessary
Process name validation fails
Process name validation fails
Error:Solution:
Rename process to use only allowed characters:
Duplicate process name error
Duplicate process name error
Error:Solution:
Ensure all process names are unique (case-insensitive):
Best Practices
Descriptive Names
Use clear, descriptive process names:
survival_smp instead of server1Memory Allocation
Test and tune memory allocation based on actual usage
Blacklist Wisely
Filter spam but keep important warnings visible
Document Config
Add comments explaining non-obvious configuration choices
Related Configuration
Configuration Overview
Complete configuration reference
Discord Setup
Configure bot and panel
Advanced Options
Flask and backup configuration
Process Control
Managing configured processes
