Discord Rich Presence

Jonathan Verbeek - 6月 25, 2019

Show your Discord friends what you're playing with a few Blueprint nodes!

  • 支持的平台
  • 支持的引擎版本
    4.23 - 4.26
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

You're german? Check out the german tutorial of my plugin here!


Always wondered how games can display info like the current map, player count and game mode on Discord? Using Rich Presence!


And now you can too! This plugin supplies an extremely easy to use Blueprint interface for setting the Discord Presence!


Make sure to create your Discord Developer App here (it's just filling out a form!). Then on your newly created app's settings, go to OAuth2 and enter http://127.0.0.1 as a Redirect. After this is set up, you're good to go!


In Unreal, just call Initialize Discord with your Client ID on game startup! Then you can always update the presence using the Set Activity or Clear Activity node.


Happy developing! If there are questions, you can see me on my Discord Server!

技术细节

Features:

  •  Easy, comprehensive Blueprint API to integrate Discord Rich Presence in the game
  •  Set text, images, round time, party/lobby sizes to show at Discord's user panel
  •  Hook up the "Join" and "Spectate" button in Discord to notify your game

Code Modules: DiscordRichPresence (Runtime)

Number of Blueprints: 0

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: Here!

Example Project: Here!

Important Notes: Make sure to create a Discord Developer App here, and set the OAuth Redirect to http://127.0.0.1. Uses the Discord Game SDK.