Cuno-DiscordRichPresence icon

DiscordRichPresence

Adds Discord Rich Presence functionality to Risk of Rain 2

Last updated a month ago
Total downloads 6089
Total rating 4 
Categories Client-side
Dependency string Cuno-DiscordRichPresence-1.2.0
Dependants 4 other mods depend on this mod

This mod requires the following mods to function

tristanmcpherson-R2API-4.4.1 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 4.4.1

README

Adds Discord Rich Presence functionality to Risk of Rain 2.

Features

  • Displays the current stage's icon, name, and subtitle, the currently selected difficulty, the currently selected character, and the current run time.
  • Has a unique presence for different menu states (currently idling in the menu, choosing a character, and reading the logbook).
  • Allows invitation of users via Discord (requires both the sender and receiver to have the mod for this to work).
  • Other unique presences depending on the game status.

A plethora of options are provided to fine-tune the presence settings, such as whether or not to show the currently fought boss, the teleporter charge status, include a custom menu idle message, and more. Risk of Options provides a nice UI for interacting with this! (Otherwise, it can be found at BepInEx/config/com.cuno.discord.cfg)

Mod creators: if you would like to add your map or character's image to the presence, contact me at the user found below.

If you experience any issues or have any suggestions, please contact me! I can be found on the RoR2 Modding Discord server, at Cuno#9958.

Images

Selecting a character

Selecting a character

Playing in a stage

Playing in a stage

Idling in a lobby

Idling in a lobby

Invitation via Discord

Invitation via Discord

Changelog

1.2.0

  • Added Epic Online Services (EOS) support
    • Ensures lobby presence will work if crossplay is ON
    • May have issues, please let me know if you encounter any!
    • Discord invites and joins may not work while crossplay is enabled
  • Added new, higher-resolution images for stages, as well as 7 modded character images (thanks Zan!)
  • Fixed display images for Scorched Acres, Abyssal Depths, Void Locus, Planetarium, and Simulacrum
    • Simulacrum runs will now display the image of the current environment being simulated
  • Fixed presence not updating from lobby to in-game if the user is a multiplayer client
    • By extension, this streamlines the character selection process for the small image and fixes it entirely on multiplayer clients
  • Added a unique presence for the lunar detonation sequence on Commencement
  • Unknown/custom characters will now display a question mark and the name of the character (if the character does not have an image in the rich presence database)
  • Unknown/custom difficulties will now display the name of the difficulty instead of "Unknown"
  • Fixed an issue where bosses would only update on the presence after pausing after the boss is spawned
  • Fixed an issue where dying while a boss was alive and starting a new run would not update the presence
  • Fixed an issue where exiting to the menu from a multiplayer game would cause the main menu presence to display, rather than the lobby presence
  • Fixed an issue where the presence would reset to lobby when another player leaves in a multiplayer game
  • Fixed an issue where the user could still receive join requests and send game invites after the run has started

1.1.0

  • Added Risk of Options support, as a soft dependency
  • Added Discord join support (BOTH the host and the person joining need the mod for this to work, this is very finnicky and only works some of the time)
  • Updated Teleporter Charge to use enums instead of bytes

1.0.1

  • (Re)Release

Credits

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-7-6 1.2.0 4791 Version 1.2.0 Install
2022-7-3 1.1.0 800 Version 1.1.0 Install
2022-7-2 1.0.1 498 Version 1.0.1 Install