TSW6 Discord RPC

Description

Train Sim World 6 Discord Rich Presence is a simple Node.js script that integrates your TSW6 game with Discord. It displays your current train (e.g., “BR 146”), service (e.g., “RE 04”), location (e.g., “near Hagen platform 10”) and more as a rich presence status in Discord – including emojis and timers.
Key features:

Automatic detection: Monitors TSW6 via Steam HTTPAPI, logs sessions in services.json (last 100 entries).
Customizable: Via .env (e.g., format, emojis on/off, update interval).
Easy to use: Start with node index.js or start.bat; requires Discord/Steam keys and TSW API.

I only have routes from Germany and the UK, which is why display errors may occur in other countries!
The language of the game is also linked to the display in Discord, which is why it says “Bahnsteig” (platform) for me! (At least I think thats the reason. Errors may still occur in the translation.)

Train Sim World 6 Discord Rich Presence ist ein einfaches Node.js-Skript, das dein TSW6-Spiel mit Discord integriert. Es zeigt in Echtzeit deinen aktuellen Zug (z.B. "BR 146"), Service (z.B. "RE 04"), Standort (z.B. "bei Hagen Bahnsteig 10") und mehr als Rich Presence-Status in Discord – inklusive Emojis und Timer.
Hauptfeatures:

Automatische Erkennung: Überwacht TSW6 via Steam HTTPAPI, loggt Sessions in services.json (letzte 100 Einträge).
Anpassbar: Via .env (z.B. Format, Emojis on/off, Update-Intervall).
Einfach zu nutzen: Starte mit node index.js oder start.bat; erfordert Discord/Steam-Keys und TSW-API.

Dependencies

Discord for Developers
Discord for Developers
Discord Developer Portal

Build games, experiences, and integrations for millions of users on Discord.

Node.js — Download Node.js®

Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

Sign In

Here you can get the Steam API (Mobile Authenticator needed)

Additional Comments

It is currently only available in English. Simply copy the “index.js” file from the new V1.2 file into the old folder. "start.bat" now installs "npm init -y" and "npm install discord-rpc node-fetch dotenv" automatic.

Files

Comments

Loading comments…

About this mod

Created
25 Oct 2025
Updated
26 Oct 2025
Game
Train Sim World
Type of content
Other
Train Sim World Version
Train Sim World 6