MZ Exit to Desktop for MZ (Request Filled!)

I feel like this should of been included with the engine and that someone already made such a plugin but...

I am looking for a plugin that adds a "Exit to desktop" option to the menu screen.
Yeah I wish there was a plugin for a quit button on the main menu at the start like how MV had.
Yeah I wish there was a plugin for a quit button on the main menu at the start like how MV had.

There was one, however in both cases it's just "Exit to Title" by default.
if you don't like the "exit to title" function at all add this as a plugin or find the section in rmmz_scenes.js and edit to match this.

Code:
Scene_Menu.prototype.commandGameEnd = function() {
    this.fadeOutAll()
    SceneManager.exit()
}

That changes the option from going back to the menu to exiting the game. warning: it doesn't ask for a confirmation, so no 2nd chances if you accidentally chose it
if you don't like the "exit to title" function at all add this as a plugin or find the section in rmmz_scenes.js and edit to match this.

Code:
Scene_Menu.prototype.commandGameEnd = function() {
    this.fadeOutAll()
    SceneManager.exit()
}

That changes the option from going back to the menu to exiting the game. warning: it doesn't ask for a confirmation, so no 2nd chances if you accidentally chose it


This won't do at all I am afraid. I want to add a "quit to desktop" option to the menu, not replace the existing option.

A confirmation message is preferred.
oh, that came in good time haha.
I didn't even look at this request before doing it, since I looked at it just now XD

You can add my plugin and use the script call like this:

SceneManager.exit()

If you need the confirmation, I can make a small snippet for it also to use together with the plugin I released
oh, that came in good time haha.
I didn't even look at this request before doing it, since I looked at it just now XD

You can add my plugin and use the script call like this:

SceneManager.exit()

If you need the confirmation, I can make a small snippet for it also to use together with the plugin I released

I am not sure this will do me any good.

I want it to be added as its own separate option in the End Game command on the menu, not part of the main menu itself.

That said, yes I absolutely must have a confirmation!
I definitely want to watch this for a possible made for MZ title exit plugin. At the moment I'm using Atreyo Ray's MV TitleCommandExit and it works without any errors if you'd want to look into that, but there's no confirmation.
Hey everyone, we actually have a solution for that issue here in our plugin thread:

We added a quit to the desktop option that works across MV/MZ.
Please check it out and see if it works for you!
Hey everyone, we actually have a solution for that issue here in our plugin thread:

We added a quit to the desktop option that works across MV/MZ.
Please check it out and see if it works for you!

Oh cool! Gotta check it out.
Hey everyone, we actually have a solution for that issue here in our plugin thread:

We added a quit to the desktop option that works across MV/MZ.
Please check it out and see if it works for you!


Hello, thanks for this!

I tested out the plugin and it works!

The only problem is that now, the "To Title" command no longer works. Like at all.
This should be fixed in the latest version, so please check it out. If it's still an issue, let us know.

Do you have VisuStella plugins installed, because that may have caused the To Title button not to work.
This should be fixed in the latest version, so please check it out. If it's still an issue, let us know.

Do you have VisuStella plugins installed, because that may have caused the To Title button not to work.


I do have such plugins installed and because they content most if not all the features I need, removal isn't an option.

EDIT: I swapped the plugin for the updated version and it works even with Visustella! :yhappy:

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/exit-to-desktop-for-mz-request-filled.127420/