Installation & Setup Issues
McDis-RCON won't start
McDis-RCON won't start
Symptoms:Reinstall dependencies:Validate configuration:Check for error messages:
- Error when running
mcdis run - Python crashes or shows import errors
- Missing dependencies
- Invalid
md_config.yml - Wrong Python version
Bot doesn't connect to Discord
Bot doesn't connect to Discord
Symptoms:Check bot invite:
- “Error while running discord client” message
- Bot shows offline in Discord
- Invalid bot token
- Bot not invited to server
- Network/firewall issues
md_config.yml
- Go to Discord Developer Portal
- Select your application
- OAuth2 → URL Generator
- Select
botscope - Select
Administratorpermissions - Use generated URL to invite bot
Panel channel not found
Panel channel not found
Error message:
Error: Channel with id XXXXX not found.Causes:- Wrong channel ID in config
- Bot doesn’t have channel access
- Channel was deleted
- Enable Developer Mode in Discord (Settings → Advanced)
- Right-click the channel → Copy ID
- Update
md_config.yml:
- Bot needs Read/Send Messages in the channel
- Grant Administrator role for simplicity
- Ensure the channel hasn’t been deleted
- Create a new channel if needed
Process Management Issues
Server won't start
Server won't start
Symptoms:Check for required files:Check port availability:Verify memory:Check error reports:
!!start SMPshows “Initializing” but nothing happens- Console thread shows “[Initializing Process…]”
- Process immediately stops
- Incorrect
start_cmd - Missing server files
- Port already in use
- Insufficient memory
- Look in “Error Reports” Discord thread
- Check terminal output
Server won't stop gracefully
Server won't stop gracefully
Symptoms:Try manual stop:Check plugins:
!!stop SMPdoesn’t stop the server- Process runs for 60 seconds then force-kills
- Incorrect
stop_cmd - Server not responding to stop command
- Plugin preventing shutdown
md_config.yml
- Go to Console SMP thread
- Type
stopdirectly - Does it work?
- Some plugins intercept shutdown
- Disable problematic plugins
Processes keep crashing
Processes keep crashing
Symptoms:
- Server starts then immediately stops
- Console shows crash errors
- Repeated restart loops
- Read the Console thread for errors
- Look for Java exceptions
- Note any “FATAL” or “ERROR” messages
-
Out of memory:
Solution: Increase
-Xmxvalue -
Corrupted world:
Solution: Restore from backup
-
Plugin conflicts:
Solution: Remove/update the plugin
-
Wrong Java version:
Solution: Install correct Java version
- Rename
plugins/toplugins.backup/ - Start server
- If it works, add plugins back one by one
Plugin & Addon Issues
Plugins not loading
Plugins not loading
Symptoms:Check class name:Check for syntax errors:Look for import errors:
!!mdreload SMPcompletes but plugin doesn’t work- No “Plugin imported” message
- Check Error Reports thread
- Terminal may show import failures
Addons not working
Addons not working
Symptoms:Event names:File location:Folder-based addons:Reload:
!!adreloadruns but addon doesn’t respond- No events being triggered
Plugin errors in Error Reports
Plugin errors in Error Reports
What to check:
-
Read the traceback:
- Error Reports thread shows full stack trace
- Look for line numbers
- Identify which function failed
-
Common errors:
AttributeError:
Cause: Accessing object that doesn’t exist
Fix: Add null checksTypeError:Cause: Missingasync/await
Fix: Make function asyncImportError:Cause: Missing dependency
Fix: Install the module -
Debug with print statements:
File Manager Issues
File Manager not showing files
File Manager not showing files
Symptoms:
- Dropdown is empty
- Can’t navigate folders
- Press 🔄 button
- Use 📌 to navigate to a known path
- Ensure you’re in a valid McDis folder
- Dropdown only shows first 25 items
- Use Terminal for folders with many files
- Ensure McDis-RCON can read the folder
- Check file permissions on Linux
Can't upload files
Can't upload files
Symptoms:Discord upload limit:
- Uploader enabled but files not saving
- “Saving files…” message but nothing happens
- Tools → Uploader → Status: Run
- Path must start with
McDis/ - Path must exist
- Example:
McDis/SMP/plugins
- Files must be under Discord’s upload limit (8MB for free, 100MB for Nitro)
- For larger files, use File Manager upload or manual methods
- If file exists and overwrite is disabled, upload is skipped
- Enable overwrite or rename file
Can't download large files
Can't download large files
Problem: Files over 5MB won’t downloadSolution: Use Flask integration
See Flask Integration for details.
Backup Issues
Backup creation fails
Backup creation fails
Symptoms:
- “Create backup” option doesn’t work
- Backup process hangs
- Backups require the process to be stopped
- Solution:
- Backups compress but still need space
- Free up disk space if needed
- Very large worlds (10GB+) take time to compress
- Be patient, check progress in terminal
Can't restore from backup
Can't restore from backup
Performance Issues
High memory usage
High memory usage
Symptoms:Optimize JVM:Reduce view distance:Remove unused plugins:
- Server sluggish
- System running out of RAM
- Tools → Processes → Check RAM per process
md_config.yml
server.properties
- Disable plugins you don’t need
Console lag / delayed messages
Console lag / delayed messages
Symptoms:Reduce server verbosity:
- Console messages appear slowly in Discord
- Backlog of messages
- Server producing logs faster than Discord can send
- McDis-RCON queues messages
md_config.yml
- Configure server logging levels
- Disable debug plugins
- Clears message queue
- Resets relay
Discord Integration Issues
Bot not responding to commands
Bot not responding to commands
Symptoms:Bot permissions:
!!start SMPdoes nothing- Commands don’t work
- Commands only work in the panel channel
- Or in process console threads
- Discord:
!!start SMP(with!!) - Console thread:
start(no prefix)
- Ensure bot can read messages
- Grant Administrator for simplicity
Error Reports thread missing
Error Reports thread missing
Problem: Can’t find “Error Reports” threadSolutions:Check thread list:
- Click “Threads” in Discord
- Look for archived threads
- McDis-RCON creates it automatically
- Should appear when first error occurs
- Restart McDis-RCON
- Threads are recreated on startup
Getting Help
If you can’t resolve your issue:Gather information
- McDis-RCON version:
pip show mcdis-rcon - Python version:
python --version - Operating system
- Error messages from:
- Terminal output
- Error Reports thread
- Console threads
Check existing issues
Visit the GitHub Issues page to see if your problem is already reported
Useful Commands for Debugging
Common Error Messages
| Error | Meaning | Solution |
|---|---|---|
KeyError: 'Bot Token' | Missing config key | Regenerate config with mcdis init |
discord.errors.LoginFailure | Invalid bot token | Check token in Discord Developer Portal |
Channel with id X not found | Wrong channel ID | Update Panel ID in config |
Address already in use | Port conflict | Change port or stop conflicting service |
Permission denied | Insufficient permissions | Check file/folder permissions |
Module not found | Missing dependency | Run pip install mcdis-rcon |
For more detailed troubleshooting, enable debug logging in your plugins/addons with
print() statements.