Skip to main content
The Tools panel provides access to three powerful utilities for managing your McDis-RCON environment: the Uploader for file transfers, Flask for large downloads, and the Process Manager for system monitoring.

Accessing the Tools Panel

1

Open the main panel

Navigate to your Discord panel channel
2

Click Tools

Press the Tools button to expand the tools menu
3

Select a tool

Choose from Processes, Uploader, or Flask
Tools Panel

Uploader Tool

The Uploader allows you to upload files to your McDis folder directly through Discord. Uploader Interface

Uploader Controls

🔄 Reload

Refresh the uploader interface

📌 Pin Path

Set the target directory for uploads

Run/Close

Enable or disable the uploader

Overwrite Toggle

Choose whether to overwrite existing files

Using the Uploader

1

Set upload path

Click 📌 and enter the target directory:
McDis/server 1/plugins
McDis/network 1/config
2

Enable the uploader

Toggle the status to Run
3

Choose overwrite mode

  • Do Not Overwrite: Preserves existing files with the same name
  • Overwrite: Replaces existing files
4

Upload files

Drag and drop files into the panel channel, or use Discord’s attachment feature
5

Monitor progress

McDis-RCON will display upload status:
Saving files...
[1/3] Uploaded files.
[2/3] Uploaded files.
[3/3] Uploaded files.
✔ Files have been uploaded.

Uploader Behavior

With Overwrite Enabled:
  • All files are saved immediately
  • Existing files are replaced
  • No prompts or warnings
With Overwrite Disabled:
  • Checks if file already exists
  • Skips existing files
  • Shows skip messages:
    Processing files...
     • plugin.jar uploaded.
     • McDis will not overwrite the file McDis/server 1/plugins/existing.jar.
     ✔ Files have been processed.
    
Be careful with overwrite mode when uploading configuration files. Always back up before overwriting critical files.

Uploader Use Cases

Plugin Installation:
# Set path to plugins folder
📌 McDis/server 1/plugins
# Upload .jar files
# Restart server to load plugins
!!restart server 1
Configuration Updates:
# Set path to config folder
📌 McDis/server 1/config
# Disable overwrite to preserve existing configs
# Upload new configs
Resource Packs:
# Set path to server folder
📌 McDis/server 1
# Upload server-resource-pack.zip
Disable the Uploader when not in use to prevent accidental file uploads.

Flask Server Tool

Flask enables downloading files larger than Discord’s 5MB attachment limit. Flask Interface

Flask Controls

🔄 Reload

Refresh the Flask interface

Run/Close

Start or stop the Flask web server

Single/Multi-Use

Configure link usage limits

Temporary/Persistent

Configure link expiration

Flask Configuration

Before using Flask, configure it in md_config.yml:
md_config.yml
Flask:
  Allow: true
  IP: "203.0.113.42"  # Your public IP address
  Port: 5000          # Web server port
The IP must be a public IP address, not an internal network address like 192.168.x.x. Ensure port 5000 (or your chosen port) is open in your firewall.

Using Flask Downloads

1

Enable Flask

Toggle Flask to Run in the Tools panel
2

Configure link settings

Choose link behavior:
  • Single-Use: Link expires after one download
  • Multi-Use: Link can be used multiple times
  • Temporary: Link expires after a time period
  • Persistent: Link never expires
3

Request a file

Navigate to the file in File Manager and click Request
4

Receive download link

If the file exceeds 5MB and Flask is enabled, you’ll receive a download URL:
http://203.0.113.42:5000/download/abc123xyz
5

Download the file

Click the link to download via your web browser

Flask Logging

All Flask activity is logged in the Console Flask thread:
[2025-03-13 14:30:22] User#1234 requested: world.zip
[2025-03-13 14:30:45] Link abc123xyz used by IP 198.51.100.42
[2025-03-13 14:31:00] Link abc123xyz expired (single-use)
Use this log to:
  • Monitor download activity
  • Track link usage
  • Identify unauthorized access attempts
  • Debug Flask issues
Flask exposes files over HTTP (not HTTPS). Do not use Flask for sensitive data unless you implement HTTPS separately.
Single-Use + Temporary:
  • Link expires after first download OR after time limit
  • Most secure option
  • Ideal for one-time transfers
Multi-Use + Temporary:
  • Link can be used multiple times within time window
  • Good for sharing with team members
  • Link expires after time limit
Multi-Use + Persistent:
  • Link never expires
  • Can be used unlimited times
  • Use with caution (security risk)
Single-Use + Persistent:
  • Link expires after first download
  • No time limit before first use
  • Useful for asynchronous transfers
Use Single-Use + Temporary for maximum security when sharing large backups.

Process Manager Tool

The Process Manager displays all Java processes running in your McDis folder. Process Manager See the dedicated Process Manager guide for complete details.

Quick Overview

  • View all processes: See every Java process in McDis
  • Check memory usage: Monitor RAM consumption
  • Terminate processes: Force-kill stuck processes
  • Filter by path: Focus on specific directories
For detailed information on using the Process Manager, refer to the Process Manager guide.

Tools Panel Best Practices

Security Considerations

Uploader:
  • Disable when not actively uploading
  • Use “Do Not Overwrite” mode by default
  • Verify file destinations before enabling
Flask:
  • Only enable when downloading large files
  • Use Single-Use links when possible
  • Monitor Flask logs for suspicious activity
  • Keep Flask port closed in firewall when not in use
  • Consider implementing HTTPS for sensitive data
Process Manager:
  • Only terminate processes you recognize
  • Use panel commands for configured servers
  • Check memory before terminating (avoid accidents)

Workflow Integration

Plugin Update Workflow:
1. !!stop server 1
2. Enable Uploader Set path to plugins folder
3. Upload new plugin JAR files
4. Disable Uploader
5. !!start server 1
Large Backup Download:
1. Create backup via File Manager
2. Enable Flask (Single-Use + Temporary)
3. Request backup file
4. Download via Flask link
5. Disable Flask
Troubleshooting Stuck Server:
1. !!stop server 1
2. Wait 60 seconds
3. Open Process Manager
4. Check if server process still running
5. Terminate via Process Manager if needed
6. !!start server 1

Troubleshooting

Checklist:
  • Uploader status is set to “Run”
  • Upload path is valid McDis path
  • Files are attached to messages in panel channel
  • Bot has write permissions to target directory
Solution:
1. Click 🔄 to reload uploader
2. Verify path with 📌
3. Toggle Run/Close to restart
Problem: Seeing processes outside McDis folderExplanation: This shouldn’t happen due to path filteringSolution:
  1. Click 🔄 to refresh
  2. Use 📌 to filter by specific McDis subfolder
  3. Check process working directory in details

Advanced Tips

Combining Tools

Batch Plugin Installation:
  1. Download plugins to local machine
  2. Enable Uploader with path set to McDis/server 1/plugins
  3. Upload all plugins at once (drag multiple files)
  4. Verify uploads via File Manager
  5. Restart server
Secure Large File Sharing:
  1. Create backup with sensitive data
  2. Enable Flask with Single-Use + Temporary (10 min)
  3. Generate download link
  4. Share link privately
  5. Monitor Flask logs for download completion
  6. Disable Flask immediately after download

Automation Ideas

While McDis-RCON doesn’t have built-in scheduling, you can:
  • Use Discord bots to send reminder messages for enabling/disabling tools
  • Document your upload procedures as slash commands
  • Create checklists for common tool workflows
Pin common upload paths in your personal notes to quickly configure the Uploader for frequent operations.

Build docs developers (and LLMs) love