Panel Components
The panel consists of several elements:- Custom Banner (optional) - Personalized image
- Status Embed - Server information and statistics
- Control Buttons - Quick access to features
- Console Threads - Real-time server console output
- Utility Threads - Error reports and Flask logs
Setting Up the Panel
Create Panel Channel
Create a dedicated text channel in your Discord server for the McDis panel.Recommended channel name:
mcdis-panel or server-controlGet Channel ID
Enable Developer Mode in Discord:
- User Settings → Advanced → Developer Mode: ON
The panel channel should be clean (empty) when first starting McDis-RCON. If it contains messages, McDis will purge them and create a fresh panel.
Custom Banner
Personalize your panel with a custom banner image:
Main Panel Buttons
The panel provides five main action buttons:Processes
Expand process control interface with start/stop/restart/kill buttons
Files
Open the file manager to browse and manage server files
Tools
Access additional tools: Process Manager, Uploader, Flask server
Guide
Display the McDis-RCON guide (not yet implemented)
Restart
Restart the entire McDis-RCON application
Processes Button
Click Processes to expand the process control interface:
Controls:
- ⬅️ - Return to main panel
- Dropdown - Select which server to control
- ▶️ Start - Start the selected server
- ⏹️ Stop - Stop the selected server gracefully
- 🔄 Restart - Restart the selected server
- ⚠️ Kill - Force kill the selected server
The dropdown cycles through all configured processes (both servers and networks). Click it multiple times to select different servers.
Files Button
Click Files to open the file manager:
See File Manager for detailed documentation.
Tools Button
Click Tools to access additional utilities:
Available tools:
- Processes - View and manage all Java processes
- Uploader - Enable file upload mode
- Flask - Configure Flask download server
Process Manager
View all Java processes running in the McDis directory:
- 🔄 - Refresh process list
- 📌 - Enter specific path to scan
- Dropdown - Select and force kill processes
Uploader
Enable file upload mode:
- 🔄 - Reload interface
- 📌 - Set upload destination path
- Run/Close - Toggle uploader on/off
- Do Not Overwrite/Overwrite - Toggle overwrite mode
Flask Server
Manage the Flask download server:
- 🔄 - Reload interface
- Run/Close - Start/stop Flask server
- Single Use/Multi-Use - Download link usage policy
- Temporary/Persistent - Download link expiration policy
Restart Button
Click Restart to restart the entire McDis-RCON application:Panel Commands
You can also control McDis via text commands in the panel channel:Server Control Commands
Batch Commands
Plugin Management
Commands are case-insensitive:
!!start SMP and !!start smp work the same.Console Threads
Each configured process automatically gets a console thread:Console Threads Features
Real-Time Output
View live server console output as it happens
Command Execution
Send commands directly to the server
Process Control
Use
start, stop, restart, kill commandsPlugin Management
Use
mdreload to reload server pluginsError Reports Thread
All errors and exceptions are reported here:
Error reports include:
- Error title and context
- Full stack trace
- Timestamp
- Link from console threads
Console Flask Thread
When Flask server is enabled, download activity is logged here:Panel Status Information
The panel embed displays real-time status:Server Status
For each configured process:- Name
- State (Running/Stopped)
- RAM Usage (if running)
- Disk Usage
System Information
- Total Processes
- Running Processes
- McDis Version
- Uptime
The panel updates every 15 seconds to show current status.
Panel Permissions
Recommended Discord bot permissions:Required Permissions
- Read Messages
- Send Messages
- Embed Links
- Attach Files
- Read Message History
- Manage Messages
- Manage Threads
- Create Public Threads
Recommended
- Administrator (simplest)
Customization
Language
Change panel language inmd_config.yml:
en- Englishes- Spanish (Español)
Panel Location
The panel must be in a dedicated channel, but you can:- Use any channel name
- Place it in any category
- Set custom channel permissions
- Use channel topic for documentation link
Mobile Experience
The panel is designed to work well on Discord mobile:- Buttons are large and touch-friendly
- Dropdowns work on mobile Discord
- Console threads are accessible
- Commands can be typed on mobile keyboard
For the best mobile experience, use the button interface instead of typing commands.
Troubleshooting
Panel not appearing
Panel not appearing
Possible causes:
- Incorrect Panel ID
- Bot lacks permissions
- Bot not in server
- Channel deleted
- Verify Panel ID in
md_config.yml - Grant Administrator permissions to bot
- Ensure bot is invited and has access to channel
- Recreate channel and update Panel ID
Buttons don't work
Buttons don't work
Panel keeps getting duplicated
Panel keeps getting duplicated
Cause:
Multiple McDis instances running with same Panel IDSolution:
Ensure only one McDis instance is running:
Console threads disappeared
Console threads disappeared
Possible causes:
- Threads archived automatically
- Threads deleted manually
- Discord thread limit reached
- Check archived threads in channel
- Restart McDis to recreate threads
- Clean up old unused threads
Best Practices
Dedicated Channel
Use a dedicated channel only for the McDis panel, not mixed with other messages
Permission Management
Restrict channel access to trusted administrators only
Monitor Error Reports
Regularly check the Error Reports thread for issues
Archive Old Threads
Periodically archive old console threads to keep the channel organized
Advanced: Panel Customization via Code
For advanced users, you can customize the panel embed by modifying:Related Features
Process Control
Use panel buttons to control servers
Console Relay
Interact with console threads
File Manager
Access files through the panel
Discord Setup
Configure bot token and permissions
