RCON - SignatureBeef/Terraria-s-Dedicated-Server-Mod GitHub Wiki

RCON - Remote CONnection

You can use RCON to connect to the server remotely through a telnet client. You may issue commands just as if you were actually using the console window.

Adding Users

When the server is ran for the first time with RCON enabled, a rcon_logins.properties file will be created in the Data directory and it will contain a single entry for the user "owner". The password for it can be viewed in your server.log file also in the Data directory. It generates a random password for it. The line you will look for looks like this:
The rcon login database was empty, a new user "Owner" has been created with password: b1eb-40da-70ea-c43a

Note: You cannot view the password in the rcon_logins.properties file, the password is hashed in that file.

If you want to add your own user which may be easier than opening the server log file, the syntax is as follows.
rcon add <name> <password>
Replace <name> with the username and replace <password> with the user's password. For example:
rcon add JohnDoe JohnsWeakPassword

Users with RCON access have the same access as server operators! So be careful who you trust.

Connect

RCON is a Telnet server. You only need to use a telnet client.

Windows

You can use the telnet command or download and use a client like PuTTY. Read some guides on using PuTTY or the telnet command.

Linux

You can use the telnet command. There are also GUI telnet clients you can get. Read a guide on how to use the telnet command.

⚠️ **GitHub.com Fallback** ⚠️