Skip to main content
McDis-RCON provides several commands to manage your server processes. These commands can be executed from the Discord panel channel or directly in process console threads.

Available Commands

The following commands are available for process management:

start

Executes the start_cmd configured in md_config.yml to start the process

stop

Executes the stop_cmd configured in md_config.yml to gracefully stop the process

restart

Stops the process with stop_cmd, then starts it again with start_cmd

kill

Forcefully terminates the process immediately

mdreload

Reloads all mdplugins in the process’s .mdplugins folder

adreload

Reloads all McDis-RCON addons from the .mdaddons folder

Using Commands in Discord

1

Identify the command prefix

In the Discord panel channel, all commands must be preceded by !!
2

Specify the target process

Add the process name after the command. Process names are case-insensitive.
!!start SMP
!!stop cmp
!!restart velocity
3

Apply to all processes

Use the -all suffix to execute a command on all configured processes.
!!start-all
!!stop-all
!!restart-all
!!mdreload-all

Using Commands in Console Threads

Within individual process console threads, you can execute commands directly without the !! prefix or process name:
start
stop
restart
kill
mdreload
Commands typed in console threads only affect that specific process.

Command Examples

Starting a Specific Server

!!start SMP
This starts the process named “SMP” (case-insensitive matching).

Stopping All Servers

!!stop-all
This executes the stop command for every configured process.

Reloading Plugins

!!mdreload SMP
This reloads all .mdplugins for the SMP server without restarting the process.

Reloading Addons

!!adreload
This reloads all .mdaddons globally. No process name is needed.
The kill command forcefully terminates processes and may cause data loss. Use stop for graceful shutdowns whenever possible.

Command Behavior

Start Command

  • Executes the start_cmd from your configuration
  • Initializes the process console relay
  • Loads all mdplugins from .mdplugins
  • Creates console thread in Discord

Stop Command

  • Sends the stop_cmd to 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 .py files 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
Use mdreload during plugin development to test changes without restarting your Minecraft server.

Console Commands

When McDis-RCON is running from the terminal, you can also use these commands directly:
Commands: start, stop, restart, kill, mdreload, adreload, status, exit
>>
  • status - Displays the current panel status
  • exit - Gracefully shuts down McDis-RCON and all processes
Console commands accept process names (e.g., start SMP) or -all suffix for bulk operations.

Build docs developers (and LLMs) love