A downloadable plugin

Buy Now$5.00 USD or more

Hi all,

The Mailbox plugin adds a mailbox system to your game. With it, you can send the player mail via plugin commands, and the player can check the mailbox scene to read the mail. Mail can have images mixed in between the text similar to how a custom entry works in my Encyclopedia plugin.

Attachments

Mail can have attachments which the player can take, which can be either items, weapons, armor, or currency (including support for CGMZ Currency System currencies). Attachments can be collected only once, and then they will no longer display on the mail.

Mailbox Scene

In the mailbox scene, players can mark mail as read which can display a separate mail icon next to the list window. Each mail can have its own separate mail icon(s) for read/unread mail. You can use this to coordinate mail types, such as maybe romantic letters in your game are colored red while some other type of letter is colored a more standard brown color. Mail is also sorted by order received, with the most recent pieces of mail being shown first in the list. When opening a letter, you can play a sound effect.


Deleting Letters

The player can delete letters they have already read to keep a clean mailbox. This can be especially important if your game includes a lot of mail that they player may no longer need to care about after so long. It can also just be nice for some players who don't want to keep read letters around. See below for a gif of how it can look:


Integrations

[CGMZ] Toast Manager - You can show toast windows when mail is received, and when the player collects an attachment. Each toast window is customizable.

[CGMZ] Scene Backgrounds - Show a custom scene background in the mailbox, including a scrolling parallax image or weather.

Want additional features not already present/listed above? Make suggestions on the Patreon Post, this Itch.io page, or in my discord under the #suggestions channel!

PLEASE READ BEFORE PURCHASING:

Please be aware that you can access this as well as all of my other Alpha plugins for $5 on my Patreon: https://www.patreon.com/CasperGamingRPGM

This is posted to Itch.io since some people only use Itch and are not aware my Patreon and all of my beta/alpha plugins exist, or want to have everything in one convenient location (itch.io), or do not want to do a monthly subscription.

Casper Gaming's Beta/Alpha plugins are treated as an "early access" and will eventually be free for everyone once they are fully released, though this process can take months/years. By purchasing in beta/alpha, you are able to provide early feedback/suggestions which are more likely to make it into the final fully released plugin.

Please see terms of use here: Terms of Use

Requires CGMZ Core plugin: CGMZ Core

Happy RPG Making!

Updated 21 days ago
StatusIn development
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorCasper Gaming
Made withRPG Maker
TagsRPG Maker
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse, Gamepad (any), Touchscreen
LinksHomepage, Community, Patreon, YouTube

Purchase

Buy Now$5.00 USD or more

In order to download this plugin you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:

letter-brown.zip 11 kB
CGMZ_Mailbox.zip 11 kB

Development log

Comments

Log in with itch.io to leave a comment.

Hello, I'm getting the following error since switching over to R4:

TypeError
this.CGMZ_calcMixedHeight is not a function

Hi, make sure [CGMZ] Core is at least version 1.23.0 or higher.

如何删除已阅读的电子邮件

Hi, deleting mail from the mailbox is not yet in the plugin, it will be in a future update

(1 edit)

Hi! I've just purchased this plugin and love it very much. I know it is still in early stages but I wondered if there was any way a switch or a variable could be activated when a letter is read? Thank you!


Also, where can I get the image you have used for the envelope? Thank you!

Hi, you could run the script command to set a switch to ON/OFF depending on if the letter was opened:

const letterId = "your_id";
const switchId = 1;
$gameSwitches.setValue(switchId, $cgmz.getMailboxLetter(letterId)._isRead);

I can attach the envelope images later to the downloads.

Deleted 351 days ago

Thank you so much for this! In your code I noticed it records how many letters have been received and how many in total are read, is it also possible to put these into switches/variables as a script?

Hi, I have added the envelope images to the downloads for this.

You can get the total amount received with the following script

$cgmz.getMailboxReceivedLetters().length

And the read with the following script:

$cgmz.getMailboxReadLetters().length

You would put these in the Control Variables -> script box

Again, thank you so much for this!