Source · Free plugin

Discord relay for Left 4 Dead 2

Two-way chat between your Left 4 Dead 2 server and Discord, with kills, joins and round state. A free SourceMod plugin, for one server with friends or many.

HomeLeft 4 Dead 2

What gets relayed

What Tunnelcast carries for Left 4 Dead 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 when a real player draws it.

Joins, leaves and teams

Players joining and leaving, name changes, team switches and spectators, with Survivors and Infected named as such.

Round and campaign state

Map, game mode and round state for co-op, realism, versus, scavenge and survival. Co-op reports whether the survivors made it.

Remote admin

Kick, ban, switch map, restart the map or restart the server from Discord or the Portal. Bans are by SteamID, so you can ban a player who already left.

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.

  • No team score in co-op, and versus and scavenge scores aren't reported yet.
  • The roster doesn't mark spectators.
  • 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 Left 4 Dead 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 Left 4 Dead 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.