找回密码
 立即注册
搜索

[代码插件] Discord Rich Presence 虚幻UE5.0

[复制链接]
188 |0
发表于 2023-3-15 11:26:18 | 显示全部楼层 |阅读模式
支持的引擎版本UE5.0






Attention! With the 2.0 update of this plugin, you need to download the Discord SDK binaries for yourself!
Check the documention here to learn how to do that - it's easy, I promise!

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.



注意!随着这个插件的2.0更新,你需要为自己下载Discord SDK二进制文件!
查看这里的文档来学习如何做到这一点——这很简单,我保证!

你是德国的吗?在这里查看我的插件的德语教程!
总是想知道游戏如何在Discord上显示当前地图、玩家数量和游戏模式等信息?使用Rich Presence!

现在你也可以了!这个插件提供了一个非常容易使用的蓝图界面来设置不和谐的存在!

请确保在这里创建您的Discord开发者应用程序(它只是填写一个表格!)。然后在新创建的应用程序的设置中,转到OAuth2并输入http://127.0.0.1作为重定向。设置好之后,就可以开始了!

在虚幻中,只需在游戏启动时调用你的客户端ID初始化Discord !然后,您始终可以使用“设置活动”或“清除活动”节点更新状态。

发展中快乐!如果有问题,你可以在我的Discord服务器上看到我!

特点:
简单,全面的蓝图API集成在游戏中的不和丰富的存在
设置文本,图像,回合时间,派对/大厅大小,以显示在Discord的用户面板
连接Discord中的“加入”和“观看”按钮来通知你的游戏
代码模块iscordRichPresence (Runtime)
蓝图数量:0
c++类的数量:2
网络复制:否
支持的开发平台:Win64
支持的目标构建平台:Win64
文档:这里!
示例项目:这里!
重要提示:请确保在这里创建一个Discord开发者应用程序,并将OAuth重定向设置为http://127.0.0.1。使用Discord游戏SDK。



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表