# Setting up RCON



RCON stands for Remote Console, it’s a protocol that allows server administrators to remotely execute Minecraft commands.

To setup RCON, edit your server.properties file, you can find this in the root of your server files. In server properties, we need to look at three things which is rcon, rcon port, and the rcon password. First we must change enable-rcon from false to true, setup a password for rcon, and then restart your server.

To connect to our server using rcon, you’re required to use a rcon client. MCRCON is a popular choice, you can download that [here](https://github.com/Tiiffi/mcrcon/releases/tag/v0.7.1).

**Using MCRON on Windows**

Using MCRON requires you to use either the command prompt or Powershell, which is already included in Windows. Once you’ve extracted the folder from Github, hold shift and right click on the MCRCON folder and then click on **Open in Command Prompt** or **Open in Powershell**.

Then use a command like this to connect:

```
mcrcon -H YourIPAddressHere -P PortNumber -p 5uper5ecureP@ssw0rd
```

**Using MCRCON on Linux**

Once downloaded and extacted, open your Linux termial into the mcron folder. Then use a command like this to connect:

```
./mcrcon -H YourIPAddressHere -P PortNumber -p 5uper5ecureP@ssw0rd
```
