Open
Conversation
Generalisk
added a commit
to Generalisk/SourceSDK-Generalisk
that referenced
this pull request
Feb 14, 2026
Valve SDK PR Mirror: ValveSoftware/source-sdk-2013#1803
|
For TF2 is there any way you can also include what gamemode is currently being played? |
Author
Right now, the RPC just parses the raw map name (i.e. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
This hasn't been tested on Linux yet, so it is recommended that this gets fully tested before merging.
This PR adds official Discord Rich Presence (Discord RPC) integration for the Source Engine. This PR supports both HL2MP & TF2, with barebones support for other projects as well.
This PR was adapted and based off of this Valve Developer Wiki page.
Note
This PR utilizes third-party apps that I have set up myself. Should you choose to merge it, you are welcome to use the ones I’ve provided or set up your own; either way is completely fine by me.
Important
In order for the PR to work properly, you need to add the Discord RPC binaries into your mods folder, you can download the files here.
While there is no invite support just yet, it is definitely something that I plan on implementing in the future.