Source · Free plugin

Discord relay for Team Fortress 2

Two-way chat between your Team Fortress 2 server and Discord, with kills, joins and round state. A free SourceMod plugin, whether you run one community server or several.

HomeTeam Fortress 2

What gets relayed

What Tunnelcast carries for Team Fortress 2

Everything below goes to your Discord channel and the live Portal. Team chat stays in the game.

Chat in both directions

Public chat goes to Discord. Team chat is never relayed. Messages from Discord show up in game chat tagged with where they came from, like [Discord] Bjorn: hi.

Kills

Kills with headshots, suicides and first blood. A Dead Ringer fake death is not reported as a kill.

Joins, leaves and teams

Players joining and leaving, name changes, team switches and spectators, with the teams named RED and BLU.

Rounds and objectives

Map, game mode, round start and win, game over and control point captures. The mode is worked out per map, so King of the Hill, Payload, Capture the Flag and the rest are named correctly.

Remote admin

Kick, ban, switch map, restart the map or restart the server from Discord or the Portal.

Live status and the Portal

One Discord message that keeps itself up to date with the server, and a live view of the server in the Tunnelcast Portal.

Setup

What your server needs

A SourceMod plugin and one config file. Tunnelcast is in closed beta, so start by requesting access.

Requirements

  • SourceMod 1.12 and Metamod:Source.
  • The socket extension build we pin. The plugin refuses to load without it.
  • The 32-bit dedicated server (srcds).
  • sv_lan 0. On a LAN server players have no SteamID, and bans do nothing.
  • Nothing to set for hibernation: the plugin keeps an empty server awake itself, so the relay stays connected.

Install in short

  1. Request beta access, then link your Discord server and register the game server in the Portal.
  2. Put tunnelcast.smx in addons/sourcemod/plugins/ and install the socket extension.
  3. Set tc_token in cfg/sourcemod/tunnelcast.cfg. Set it there and nowhere else: that file is read after server.cfg and overrides it.
  4. Restart the server. It shows as online in the Portal and chat starts flowing.

Good to know

What it doesn't do

We'd rather you hear it here than find out on your server.

  • Long lines from Discord are split into several chat lines.
Coming from Source Chat Relay?

Source Chat Relay is archived on GitHub

Its repository is a public archive on GitHub, which makes it read-only. Tunnelcast is actively maintained. The Team Fortress 2 plugin connects to Tunnelcast's relay, and you link your Discord server from the Portal, so there is no relay server of your own to run.

On top of chat in both directions you get kills, joins and leaves, round state and a live status message, and the server shows up live in the Portal.

Next step

Connect your Team Fortress 2 server

Tunnelcast is in closed beta. Request access and connect your server when your invite arrives.

Tunnelcast is not affiliated with or endorsed by Valve. Game names are trademarks of their respective owners.