Patch 185.0 introduced the RCON-Feature. It allows you to execute commands on your server without having to be in-game. That is a huge improvement over the previous mechanic, because it allows you to automate commands, and generally do stuff on machines where you can’t simply start up the game.
Setup
To enable RCON you will have to add the following to your server startup command line
Software for game server operators. CFTools Cloud is the next evolution in game server administration. Cloud powered, highly flexible and easily adaptable. CFTools Cloud is here to save you valuable time in your day to day admin operations and enable you to fully take control of your game server. Supported games How it works. DaRT (DayZ RCon Tool) is a graphical interface for the BattlEye RCon protocol. It utilizes the BattleNET library by marceldev89. If DaRT should crash the first time you build it just build it once more - looking into the problem. I do not actively develop DaRT anymore. Feel free to fork DaRT though.
?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=YOURPASSWORD
Replace “YOURASSWORD” with the password of your choice. Specifying the password in the command line is only neccessary if you haven’t already set an admin-password for your server in the configuration.
Usage
Windows
To receive text and enter commands you will need a client software on your computer.
EDIT: There now is a graphical RCON client for ARK. Check out our Mod-Spotlight to learn more.
For Windows, you could use mcrcon, though that’s only a suggestion. Execute the launch.bat
and enter the connection data (server IP, port and password) there and you should be able to connect. Once you’re in there you can use the commands like you would in the ingame console. To exit your console simply type exit
Linux
Finding a good linux client is quite another matter. For use on your server, we can recommend this code. Download it, use
gcc -o rcon rcon.c
to compile it (if you haven’t installed gcc already, you’ll have to install that too, or any other C compiler). You can then use
./rcon -PYOURPASSWORD -a127.0.0.1 -p32330 listplayers
to execute the command of your choice (in this example listplayers). It will automatically exit after it sent the command. To connect to a remote server you’ll have to fill in the correct information for IP (-a) and port (-p), and make sure that your firewall permits the connection.
Rcon | |
---|---|
Levels: | Rcon, Modding Rcon |
Author: | Jens Erik Vaaler, Scooper_nr, SixxGunz |
- See also: Server Configuration.
Remote Control (RCON) for Conan Exiles.
- 2Configuring your server
- 3Using Rcon
Resources[edit | edit source]
- Conan Exiles uses the same network protocol as Minecraft for its remote control functionality, so you should be able to use any Minecraft-compatible rcon tool to manage your server. The one suggested in this guide is mcrcon by Tiiffi.
- Valve Developer Community: Source RCON Protocol.
Configuring your server[edit | edit source]
You have two options to configure your server to use rcon, and you can mix and match the different options between the two if you want to.
Game.ini method[edit | edit source]
Add the following section (with your modifications) to your servers Game.ini file.
Your dedicated server's Game.ini file's location is dependent on how you host it. If you are using a hosting company you can ask them for assistance, or they might already support RCON through their control panel.
If you are hosting your own, a typical location for the Game.ini could be:
Commandline method[edit | edit source]
You can also configure rcon through commandline options.
Basically all the options under the Game.ini section also function as commandline arguments, with the same type of formatting as in the Game.ini
Using Rcon[edit | edit source]
Assuming that you're using the mcrcon tool, you can connect to your server with the following command in a terminal window:
Once connected, the first command you should try is 'help':
All rcon commands used on your server will be logged to a log file in your servers Logs folder. The file will be named RconCommandLog.log
All connections will be logged in the regular ConanSandbox.log file.
Commands[edit | edit source]
Updated documentation for Rcon commands is planned.[1] |
This article is a stub. You can help Conan Exiles Wiki by expanding it. |
Rcon Tool
con 0 setstat level 60
should set the player in slot 0 to level 60.
Server Settings[edit | edit source]
This article is a stub. You can help Conan Exiles Wiki by expanding it. |
- Note: Not every setting can be changed and see the effects live. Some settings will revert back to default or last load up if not done at the correct time (like having the server offline for it to actually work correctly). When you make your ServerSettings.ini read-only, you also miss out on updates because the server will always pull in new settings (does not always work 100% - verifying files works for this and then new settings are entered in on next restart as they are loaded from default configurations - some custom edits to these files will actually hinder them from updating correctly)
Modding Rcon[edit | edit source]
Modders can add their own Rcon commands in the DevKit.
Notes[edit | edit source]
Rcon Tool Ark
- Rcon commands introduced with Balancing Pass and Exploit Fixes (15.06.2018):
whitelistplayer <steamid>
unwhitelistplayer <steamid>
Media[edit | edit source]
References[edit | edit source]
Rcon Tool Rust
- ↑Updated Documentation for Admin Settings and Rcon commands, Natascha Röösli - Trello, November 23, 2018