The “RCON Adapter” is a self-hosted application that connects your Tebex webstore and your server together through RCON.
It is an alternative to Direct RCON that enables more reliable command execution, player online/offline checking, and command success/failure checking.
When using the RCON Adapter, it will query Tebex for commands (just like a Tebex game server plugin would) and execute them on your server via an RCON connection.
It may be used in cases where a game server implements the RCON protocol but does not have a Tebex plugin available.
It’s recommended to use the RCON Adapter for these games in order to receive the most reliable integration experience:
Please note that while the RCON Adapter can connect to any game server that implements RCON, we cannot guarantee full support for all games unless they are listed above.
Our one-click Droplet through DigitalOcean allows for easy setup of the RCON Adapter.
./configure.sh
to prepare the app for starting. You will enter your webstore’s secret key and RCON connection information../start.sh
. This runs a systemd service created for the RCON Adapater../stop.sh
If RCON connection is lost, the Adapter will attempt to reconnect once per minute. Each restart of the Adapter will attempt to connect to the same server again unless re-configured.
The RCON adapter will pass any non-Tebex commands to the game server’s RCON, if connected. A Tebex command is always prefixed with tebex.
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the Tebex RCON Adapter 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Tebex RCON Adapter Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "tebex-tebexrconadapter"}' \
"https://api.digitalocean.com/v2/droplets"
ssh root@your_droplet_public_ipv4
./configure.sh
. You will be asked for your secret key, which you can get by logging in at https://creator.tebex.io/game-servers and choosing Connect Game Server../start.sh
to start the RCON Adapter service.