How to Set Up RCON on Your Minecraft Server

How to Set Up RCON on Your Minecraft Server at MCServerHost

How to Set Up RCON on Your Minecraft Server at MCServerHost

RCON (Remote Console) is a built-in protocol that allows you to remotely execute console commands on your Minecraft server without having to log into the game or use the web dashboard.

Setting up RCON at MCServerHost is quick and easy. Follow the step-by-step guide below to get started.


Allocating an Additional Port

To allow RCON to work on your server, you have to allocate it a separate port due to the sole reason that it operates independently from Minecraft's built-in networking system. To allocate an additional port to your server, follow the steps below:

  1. Log in to your MCServerHost dashboard and select your server.
  2. Go to the Network tab in your dashboard sidebar.
  3. Click the Create Allocation button.

Creating Allocation in Network Tab

  1. Copy the complete IP and port string from the newly created allocation (e.g., 162.55.241.186:12260). You will need both the numerical IP and the secondary port number for the next steps.

Configuring RCON in server.properties

After allocating your secondary port, you can start configuring RCON on your server by editing the server.properties file. To do that, follow the steps given below:

  1. Go to your server's File Manager (Files) in your MCServerHost dashboard.
  2. Locate and open the server.properties file in the root directory.

Locating server.properties in File Manager

  1. Inside the server.properties file, edit or add the following fields:
    • Set enable-rcon= to true
    • Set rcon.password= to a secure password of your choice (e.g., rcon.password=MySecurePassword123)
    • Set rcon.port= to your secondary server port (e.g., 12260)

Editing server.properties configuration

  1. Save the changes, and restart your server in order to let the changes take effect.

Connecting to Your RCON Server

Once RCON is enabled and your server has restarted, you can connect using any standard RCON client application, web tool, or bot.

When configuring your client, use the direct numerical IP and the secondary port you created (e.g., IP: 162.55.241.186, Port: 12260), along with the password you set in your server.properties file.


Conclusion

After following all the steps highlighted in this guide, you will be able to set up and use RCON on your Minecraft server without any type of error. Just make sure to keep your RCON password secure, as it grants full console-level administrative access to your server.

Similarly, if you are having any type of issue or problem with your server at MCServerHost, you can always get in touch with us by joining our Discord server or writing us at support@MCServerHost.com.

Related guides

All community guides