YuRaNnNzZZ / gmcl_steamrichpresencer

Simple Steam Rich Presence module for Garry's Mod

Home Page:https://partner.steamgames.com/doc/api/ISteamFriends#SetRichPresence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steam Rich Presencer

A simple Garry's Mod module that adds ability to change your Rich Presence from Lua.

It wraps this function as steamworks.SetRichPresence(String presenceKey, String presenceValue)

Installation

  • Download the build for your OS (and game branch/version) from releases
  • Unpack the dll file to steamapps/common/GarrysMod/garrysmod/lua/bin

Example Usage

if not util.IsBinaryModuleInstalled("steamrichpresencer") then return end -- check if module is correctly installed

require("steamrichpresencer") -- module adds steamworks.SetRichPresence function on load

steamworks.SetRichPresence("generic", "Destiny 2") -- GMod only makes use of "generic" presence key

Your status would like like this:

About

Simple Steam Rich Presence module for Garry's Mod

https://partner.steamgames.com/doc/api/ISteamFriends#SetRichPresence


Languages

Language:Lua 59.8%Language:C++ 40.2%