Description:
The Rich Presence Module allows you to interact with Discord and Lunar Client's launcher rich presence.
Display various information about gamemodes and your server on player's rich presence.
Ability to display different gamemode related attributes;
Gamemode Name
Gamemode Variant
Current Game State
Current Player State
Map Name
Team Size Attributes
Further documentation can temporarily be found here.
Changes:
Added ServerRichPresence class builder
String gameName
String gameVariantName
String gameState
String playerState
String mapName
String subServerName
int teamCurrentSize
int teamMaxSize
Added RichPresenceModule#overrideServerRichPresence(Recipients, ServerRichPresence) API method
Added RichPresenceModule#resetServerRichPresence(Recipients) API method
Overview
Description: The Rich Presence Module allows you to interact with Discord and Lunar Client's launcher rich presence.
Further documentation can temporarily be found here.
Changes: Added
ServerRichPresence
class buildergameName
gameVariantName
gameState
playerState
mapName
subServerName
teamCurrentSize
teamMaxSize
Added
RichPresenceModule#overrideServerRichPresence(Recipients, ServerRichPresence)
API method AddedRichPresenceModule#resetServerRichPresence(Recipients)
API methodAdded OverrideServerRichPresenceMessage protobuf message Added ResetServerRichPresenceMessage protobuf message
Code Example:
Override the server rich presence for a player
Resetting the server rich presence for a player
Review Request Checklist
feature/add-module
&bugfix/fix-issue
)