- Joined
- Aug 7, 2023
- Messages
- 10
- Reaction score
- 8
- First Language
- Finnish
- Primarily Uses
- RMMZ
ODUE_discord
A plug-in for integrating your game with Discord Rich Presence (A.K.A Game SDK)
Please check the Github readme for an updated guide:
https://github.com/00due/Discord-RPC-for-RMMZ/
It's easier for me to just update one page for both MV and MZ than editing the two posts on RPG Maker forums.
Issues should be primarily submitted to Github too! It makes them easier for me to fix that way. If you don't have a Github account, then you can submit them here too.
FEATURES:
- The only Discord RPC plugin for MV/MZ available currently
- Highly customizable
- Edit the details in-game
TODO:
- Allow replacing text temporarily while in battle
GUIDE:
Requirements:
You have to use nwjs 0.49.2 or higher for this to work!
If you don't know how to update nwjs, check this awesome guide!
Download:
https://github.com/00due/Discord-RPC-for-RMMZ/ (Yes, the link is the same for MV version)
After downloading, extract the `ODUE_discord_MV.js` file into `<your project's folder>/js/plugins`
Initial setup:
0.If you don't have Node.js installed, install it from https://nodejs.org/en/download
1.Open the folder of your game (where you have your game.rpgproject in) and open CMD or powershell there.
2.Run the command `npm install discord-rpc`
---If you're getting an error Command not found or something like that, make sure you have Node.js installed!---
3.Go to https://discord.com/developers/applications and create your application. Click 'New application' and give it your game's name.
After creating it, open the Rich Presence --> Art assets tab, and upload the large and small images.
---Recommendation: The large image is typically the logo of your game.---
---WARNING: The art assets have about 10-15 minutes delay until they become visible.---
4.Copy the Application ID from the 'General information' tab, and paste it into the 'Discord application ID on this plugin.
5.Fill the other plugin parameters with anything you want.
REQUIRED TO FILL:
Application ID, Large picture, Large picture text, Row 1
Plugin commands for MV:
Code:
rpc_replaceRow1 <text to replace with>
Code:
rpc_replaceRow2 <text to replace with>
Code:
rpc_saveRows
Code:
rpc_restore <row1 / row2>
Code:
rpc_enable row2
Code:
rpc_disable row2
Examples:
Code:
// On battle start
rpc_saveRows
rpc_replaceRow1 Fighting a monster
rpc_disable row2
// On battle end
rpc_restore row1
rpc_enable row2
WARNING: After exporting for MV:
Move the folder node_modules from www/ folder to the folder where the executable is. Otherwise it can't find the node module.Terms of use:
1. You must give credit to ODUE
2. You can freely edit this plugin to your needs. However, you must still credit me.
3. This plugin is free for commercial and non-commercial projects.
4. This plugin is provided as is. I'm not responsible for anything you make with this plugin.
5. You can send feature requests to me on platforms such as Reddit (to u/SanttuPOIKA----).
However, I have no obligation to fulfill your requests.
Last edited: