Documentation
Quick InfoVersion: Beta
Made for RPG Maker MZ 1.10.0
REQUIRED: All [CGMZ] Plugins require [CGMZ] Core placed above them in the Plugin Manager.
The BasicsUse the plugin command to start the share process. For example, if you want to share to BlueSky, use the plugin command Share To BlueSky.
Note: Please be careful of any platform-specific sharing limits, such as character limits for websites like X (Twitter), BlueSky, etc.
Within the plugin command, you can set text that will be pre-filled in the share process. The plugin handles the rest.
You could use this in your eventing, for example you may have a Show Choices event command asking the player if they want to share their achievement, which if they say yes starts the BlueSky share process.
Custom SitesDo you have a social media website you want to allow players to post to, but don't see it listed here? You can use the Share To Custom Plugin Command for that. This plugin command takes a base URL which would be something like https://bsky.app/intent/compose which is the BlueSky url to post something, sometimes called an intent link.
After this, you can add as many custom parameters to the end of the url, for example BlueSky expects a variable called text on the end of the url to autofill the post text. You just need to tell the plugin what the variable name is, and any prefilled value you want to be in the variable. Your preferred social media website should have documentation that tells you the variable and valid values that can be prefilled for it.
Plugin CommandsThis plugin supports the following plugin commands:
Get Share Data
Check how many times each social media sites share process has been started from within the game
Share To Bluesky
Start the BlueSky share process
Share To Twitter
Start the Twitter share process
Share To Facebook
Start the Facebook share process
Share To Reddit
Start the Reddit share process
Share To Threads
Start the Threads share process
Share To Custom
Start the process to share something to a custom website. It opens the URL with any variables and prefilled values sent to the website. These are not tracked by the statistics portion of this plugin
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_SocialMedia.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.
Version HistoryVersion AlphaR2
- Add Threads support
- Added statistic tracking for amount of times share started
- Add Custom website support