~Update to 2.0.2~
This is a hotfix for an issue introduced in 2.0.1 where saving/loading the game would not properly save/load the state of the mailbox (i.e. if you had a mailbox with 5 messages in it and you saved, then loaded the game, all 5 messages would disappear).
I only updated the plugin in the code tags in the original post - I will update the demo itself when I push out the next changes (mail deleting).
If anyone still notices this issue when using this update, please let me know!
JK Mail System
● ARCHIVED · READ-ONLY
-
-
I'm actually thinking of having that specific error pop up if the Mail Json is empty or improperly formatted for any reason. Thanks for reminding me :)
My current plan is to not only add this functionality, but make it optional, since in the game I'm currently working on I don't want the player to accidentally delete these messages and lose some key info.
I'm also thinking of the logistics. It would have to be a key event, like pressing D or something like that when the cursor is inside the message, followed by a prompt to delete, but I need to remind myself how to make sure these commands will be useable if a controller is being used - guess I gotta test that out too haha
It could get a little complicated but I would probably make a conditional branch where certain switches can allow the deleting of a message. That way important messages can't be deleted while they're still needed but once they're not useful any more you can delete them. I would add that functionality to the mail editor so it would stay simple for new users. I would also have a confirmation for deleting the message and only allow it after the attachment has been received.
I would stay away from the D button for people that use WASD controls. It should probably be user determined.
One small thing I noticed with the editor. It doesn't seem to track the ID of each mail. That's fine for 10 or less items but gets confusing above that.
Thank you once again! Loving the amount of progress. It's looking very promising. -
Ok so I do have a planned path forward regarding deleting messages. I won't disclose yet in case I end up changing it ^^
Also, please note that the mail editor has a bug where attachments will always be set to 'None' when a message is loaded. If you set it to the intended type it should still have your info saved, and saving should still produce a proper json. The bug is caused by me not setting the index of the comboBox when the attachment fields are populated. This fix will come out in 2.1 along with the message deletion feature. Thanks for your patience!
~EDIT~
The above bug has been fixed and both the Editor and Demo links have been updated! -
~Update to 2.1~
Fixes:
- Fixed resolution scaling...Actually, it looked like it should have been working. But, please let me know if you see any issues!
- Plugin optimizations and fixes
- Editor optimizations and fixes
- Most notably, Item and Armor attachment types were switched, so selecting one would actually get you the other.
- Added ability to delete mail from the mailbox scene
- Updated the mailbox UI to reflect this change.
- New UI look is attached to this post!
- Added command window with the options Read, Attachment, and Delete (Pretty self-explanatory)
- Removed the left and right commands to go between the mail list and the window, so this should make controls and interactions (e.g. claiming attachments) much more transparent and intuitive.
- Added Message Flags to prevent certain messages from being deleted
- See the OP for more details
- Added new plugin parameter to override Message Flags if desired
- The editor doesn't resize to help with different resolutions. Looking into it!
- Before anyone even asks, yes I will consider making the command text based on plugin parameters!
- The mailbox does NOT prompt you when you want to delete the mail. Blame incremental development :p
- When I designed flags, I wanted to be able to use a script eval, as well as variable eval, but I cut them from this version due to complexity. This may be my first priority moving forward since I got the flag system working!
-
@Pirobi Thanks you!
A great plugin and you still support it! Awesome work :)
EDIT: And i found a bug :D If the mailbox has no letters and you try to read than i get an error. In your demo, too.
The error says:
-
@Pirobi Wow, this has all the functionality that I could possibly hope for. Now that the menu is looking so slick, one of the minor annoyances is becoming more apparent. The message scrolling is still a little clunky. It would be nice to scroll the entire message at once, instead of line-by-line.
Again, totally love this plugin! -
@Pirobi Thanks you!
A great plugin and you still support it! Awesome work :)
EDIT: And i found a bug :D If the mailbox has no letters and you try to read than i get an error. In your demo, too.
The error says:
Spoiler
Looking into the 0 messages thing.
@Pirobi Wow, this has all the functionality that I could possibly hope for. Now that the menu is looking so slick, one of the minor annoyances is becoming more apparent. The message scrolling is still a little clunky. It would be nice to scroll the entire message at once, instead of line-by-line.
Again, totally love this plugin!
So I've been fighting with myself ever since I first thought of this plugin for the ability to scroll whole chunks instead of going line-by-line, kind of like "flipping through pages". I kept it as it is because I used Yanfly's profile plugin as an example, deciding to take the easy way out. However, it might be finally time to tackle that beast haha. Not to go into detail, but during the very first stages I had the message as one whole block of text (so word wrapping would be handled), but I didn't know how to determine a good spot to chunk the message and create a second page, but as I type this, I think I just figured it out...back to work!
As a general heads up, I am currently testing through another round of optimizations for the editor, including new flag options - now you should soon be able to delete a message based on a variable, or based on a script evaluation. How useful this will be would be up to the developer I guess, but it'll be there :D -
~Update to 2.2~
Fixes:
- Fixed issue where an empty mailbox would result in the game crashing.
- Added new flag options
- Script - Message can be deleted if the expression evaluates to true
- Variable - Check the OP/Plugin for the expanation here. Basically, you specify the ID, an operator, and a value.
- Added ability to create multiple pages
- Insert a page break <pg> into the message. Any text after this will appear in the next page.
- Pages can be seen within the scene by pressing left/right while inside the mail window (when you select the READ button)
- Note that mail will only be counted as read if ALL pages have been seen
- Added ability to toggle scrolling
- Default value is enabled
- When enabled:
- Word wrapping is not supported since each line is broken up into its own string of text
- Must manually insert line breaks to get the text to fit the window, but you can have as many lines as possible in a single page
- When disabled
- Cursor will STILL appear, but only 1 row (on first page there are 3 rows for the Subject and Sender)
- Message text will be appended as a single block, allowing for word wrapping on that text
- Note that if you have to insert a <wrap> (a la Yanfly's word wrapping plugin), you MUST insert this for each page (do a <pg><wrap>)
- If you do not use word wrapping, you will still need to manually insert line breaks to get the text to fit the window.
- Updated plugin parameters to use MV 1.5 notation
- You MUST update your parameters because they will most likely be broken!
- Editor has been updated to work with all applicable functionality
- The editor doesn't resize to help with different resolutions.
- Will consider making the command text based on plugin parameters!
- The mailbox does NOT prompt you when you want to delete the mail.
- A more visual indication that a message has multiple pages?
- What to do with the cursor when scrolling is disabled
- I'll probably notate scrolling enabled/disabled as something more fitting
- Will update the messages in the demo because some of them are getting chopped off.
-
~Update to 2.2~
Fixes:
- Fixed issue where an empty mailbox would result in the game crashing.
- Added new flag options
- Script - Message can be deleted if the expression evaluates to true
- Variable - Check the OP/Plugin for the expanation here. Basically, you specify the ID, an operator, and a value.
- Added ability to create multiple pages
- Insert a page break <pg> into the message. Any text after this will appear in the next page.
- Pages can be seen within the scene by pressing left/right while inside the mail window (when you select the READ button)
- Note that mail will only be counted as read if ALL pages have been seen
- Added ability to toggle scrolling
- Default value is enabled
- When enabled:
- Word wrapping is not supported since each line is broken up into its own string of text
- Must manually insert line breaks to get the text to fit the window, but you can have as many lines as possible in a single page
- When disabled
- Cursor will STILL appear, but only 1 row (on first page there are 3 rows for the Subject and Sender)
- Message text will be appended as a single block, allowing for word wrapping on that text
- Note that if you have to insert a <wrap> (a la Yanfly's word wrapping plugin), you MUST insert this for each page (do a <pg><wrap>)
- If you do not use word wrapping, you will still need to manually insert line breaks to get the text to fit the window.
- Updated plugin parameters to use MV 1.5 notation
- You MUST update your parameters because they will most likely be broken!
- Editor has been updated to work with all applicable functionality
- The editor doesn't resize to help with different resolutions.
- Will consider making the command text based on plugin parameters!
- The mailbox does NOT prompt you when you want to delete the mail.
- A more visual indication that a message has multiple pages?
- What to do with the cursor when scrolling is disabled
- I'll probably notate scrolling enabled/disabled as something more fitting
- Will update the messages in the demo because some of them are getting chopped off.
Awesome!!! I love your support for these great plugin! Thanks! -
Any chances of mac release for the program please?
-
I'd like to point out an error. In the demo, when I tried to delete the first mail at the mailbox on the right, an error message popped up: "Cannot read property 'replace' of undefined"
-
Any chances of mac release for the program please?
We're looking into compatibility for Mac.
I'd like to point out an error. In the demo, when I tried to delete the first mail at the mailbox on the right, an error message popped up: "Cannot read property 'replace' of undefined"
Looking into the issue! The entire demo as a whole will be updated/cleaned up, so bear with us! -
~Update to 2.21~
- Fixed issue where deleting mail while on a different page could cause outOfBounds issue if next mail has less pages.
- QoL change - exiting out of the message window will reset the view back to the first page.
- Fixed issue where exiting mail and then pressing left/right would still cause the mail pages to change.
Future considerations:
- Looking into Mac Support for the editor! This is probably going to turn into a summer project based on my schedule.
-
Can you please upload a video tutorial explaining that how to install this plugin as I am new to MVmaker.
-
Just out of curiosity, is there a system in place to respond to e-mails like you would other player choice prompts during dialogue?
-
ohhhhhhhh! its not working :( when i tries to delete a mail then it reports an error and if i tries to add an id to the mail then it doesnt adds so if no id then no mail so it s useless right now.
creator please reply if you can fix this bug or can give be a bug free version -
Just out of curiosity, is there a system in place to respond to e-mails like you would other player choice prompts during dialogue?
The way I would handle this is to create a trigger that calls a common event, and in there you set the choices, though this does bring up a good point - Triggers only activate when you exit the mailbox because of how the game is "paused" when opening scenes, so I'm not too sure what happens when multiple Triggers have been lined up from reading multiple messages...
ohhhhhhhh! its not working :( when i tries to delete a mail then it reports an error and if i tries to add an id to the mail then it doesnt adds so if no id then no mail so it s useless right now.
creator please reply if you can fix this bug or can give be a bug free version
Could you please send me a picture of the exact error you're getting? I will take a look at this as soon as possible! Also, please send me the exact command you're using to add to the mailbox. -
Here https://drive.google.com/open?id=1ApPwTEtO2TgrPxc4HplhjWND6i0whATG is the problem video fully describedThe way I would handle this is to create a trigger that calls a common event, and in there you set the choices, though this does bring up a good point - Triggers only activate when you exit the mailbox because of how the game is "paused" when opening scenes, so I'm not too sure what happens when multiple Triggers have been lined up from reading multiple messages...
Could you please send me a picture of the exact error you're getting? I will take a look at this as soon as possible! Also, please send me the exact command you're using to add to the mailbox. -
Here https://drive.google.com/open?id=1ApPwTEtO2TgrPxc4HplhjWND6i0whATG is the problem video fully described
Oh ok I understand your problem. I will work on it as soon as possible! -
@suryaansh actually, did you get the editor from the demo? I believe that one might be outdated since I'm still working on updating the demo in general. Try replacing it with the one provided in the original post (the link to the editor itself) and let me know if you experience the same issues.