Files
DiscordRPC/README.md
2021-12-30 18:17:00 +01:00

32 lines
1.3 KiB
Markdown

# Discord plugin for Unreal Engine 5
This plugin is designed for users of unreal engine 5. It will help you to create a discord presence for your game like this :
![ExampleFeed](https://user-images.githubusercontent.com/47295080/147773806-fbaae57b-51e7-400f-a1a4-88a92bd77bd4.png)
# Installation
1) Dowload this repostory
2) Extract the repo
3) Copy all content to your plugin project (YourProject/Plugins)
4) Make sure you are register on [Discord developer website](https://discord.com/developers/applications "Discord Developer Website")
5) Create your application and copy your Application ID
6) Open your project and enable the plugin
# Initialization
In order to establish a connection with the application you have created before and the discord app
You need to create something like this in your **Game Instance** :
![InitDiscord](https://user-images.githubusercontent.com/47295080/147773538-c4ac76cd-2199-4a1a-af90-cc695d8c0386.png)
# Nodes
For edit your presence in your game use this code (read the image next to it to understand the fields of the node) :
![SetPresenceDiscord](https://user-images.githubusercontent.com/47295080/147773549-6f106fda-835d-4cff-97f8-c220627b2dbf.png)
> **Note :** For use image in rich presence you need to upload them on your Discord developer game page (Rich Presence -> Art Assets)