Available Commands
The following commands are available for process management:start
Executes the
start_cmd configured in md_config.yml to start the processstop
Executes the
stop_cmd configured in md_config.yml to gracefully stop the processrestart
Stops the process with
stop_cmd, then starts it again with start_cmdkill
Forcefully terminates the process immediately
mdreload
Reloads all mdplugins in the process’s
.mdplugins folderadreload
Reloads all McDis-RCON addons from the
.mdaddons folderUsing Commands in Discord
Specify the target process
Add the process name after the command. Process names are case-insensitive.
Using Commands in Console Threads
Within individual process console threads, you can execute commands directly without the!! prefix or process name:
Commands typed in console threads only affect that specific process.
Command Examples
Starting a Specific Server
Stopping All Servers
Reloading Plugins
.mdplugins for the SMP server without restarting the process.
Reloading Addons
.mdaddons globally. No process name is needed.
Command Behavior
Start Command
- Executes the
start_cmdfrom your configuration - Initializes the process console relay
- Loads all mdplugins from
.mdplugins - Creates console thread in Discord
Stop Command
- Sends the
stop_cmdto the process - Waits up to 60 seconds for graceful shutdown
- If timeout is exceeded, the process is forcefully killed
- Unloads all mdplugins
Restart Command
- Executes stop command
- Waits for process to fully terminate
- Executes start command
- Reloads plugins automatically
Kill Command
- Immediately terminates the process
- No graceful shutdown period
- Use only when a process is unresponsive
MDReload Command
- Calls
unload()method on existing plugins - Clears plugin registry
- Re-imports all
.pyfiles from.mdplugins - Instantiates new plugin instances
- Process must be running for reload to work
ADReload Command
- Calls
unload()method on existing addons - Clears addon registry
- Re-imports all files/folders from
.mdaddons - Instantiates new addon instances
- Works while McDis-RCON is connected to Discord
Console Commands
When McDis-RCON is running from the terminal, you can also use these commands directly:status- Displays the current panel statusexit- Gracefully shuts down McDis-RCON and all processes
Console commands accept process names (e.g.,
start SMP) or -all suffix for bulk operations.