Remove Shutdown Option

Status
Not open for further replies.

MagicFool64

Villager
Member
Joined
Feb 9, 2019
Messages
14
Reaction score
2
First Language
Italian
Primarily Uses
RMMZ
I'using RPGMaker MZ, and I'm wondering how to remove the Shutdown option. Do I need Visustella's Core Engine?
 

Nolonar

Veteran
Veteran
Joined
Feb 18, 2018
Messages
164
Reaction score
246
First Language
French, German
Primarily Uses
RMMZ
If by "shutdown option" you mean a way to exit the game without clicking on the window's close (X) button, then MZ doesn't have that. One of your plugins added that in.
 

MagicFool64

Villager
Member
Joined
Feb 9, 2019
Messages
14
Reaction score
2
First Language
Italian
Primarily Uses
RMMZ
If by "shutdown option" you mean a way to exit the game without clicking on the window's close (X) button, then MZ doesn't have that. One of your plugins added that in.
I need to remove it because I want to publish my game on Newgrounds
 

Nolonar

Veteran
Veteran
Joined
Feb 18, 2018
Messages
164
Reaction score
246
First Language
French, German
Primarily Uses
RMMZ
Like I said, MZ doesn't have a shutdown option. It was added by one of your plugins. You'll have to find out which one did, see if the option can be disabled (it probably can't) or remove it if it can't be disabled.

To find out which plugin added the shutdown option, you'll need to search for "shutdown" in each plugin. The fastest way to do that is to use a text editor that supports searching through folders. For example, Notepad++ (Windows only) or Visual Studio Code (Windows, macOS, Linux).

I personally recommend Visual Studio Code.

For Notepad++ you'll need to use the "Find in Files" option and tell Notepad++ which folder you want to search.
For Visual Studio Code you'll need to open the folder with Visual Studio Code. You can do that from Visual Studio Code itself, or use the File Explorer, right click on the folder, and select "Open with Code". After that, you only need to search (there's a search icon on the right side of the window).

The folder you want to search is /js/plugins

To remove the shutdown option, you'll be looking for a line that says:
Code:
this.addCommand("Shutdown", "shutdown");
or similar. Simply delete that line. Make sure you delete the line that says "addCommand", and not another one that might say: "exitText = 'Shutdown';" or similar.

Also, pay attention to the Terms of Use for the plugin. Some plugins do not allow modifications. If that's the case with your plugin, you'll need to ask the plugin dev for permission, or write a plugin that specifically removes the option (but only as a last resort).
 
Last edited:

MagicFool64

Villager
Member
Joined
Feb 9, 2019
Messages
14
Reaction score
2
First Language
Italian
Primarily Uses
RMMZ
Like I said, MZ doesn't have a shutdown option. It was added by one of your plugins. You'll have to find out which one did, see if the option can be disabled (it probably can't) or remove it if it can't be disabled.

To find out which plugin added the shutdown option, you'll need to search for "shutdown" in each plugin. The fastest way to do that is to use a text editor that supports searching through folders. For example, Notepad++ (Windows only) or Visual Studio Code (Windows, macOS, Linux).

I personally recommend Visual Studio Code.

For Notepad++ you'll need to use the "Find in Files" option and tell Notepad++ which folder you want to search.
For Visual Studio Code you'll need to open the folder with Visual Studio Code. You can do that from Visual Studio Code itself, or use the File Explorer, right click on the folder, and select "Open with Code". After that, you only need to search (there's a search icon on the right side of the window).

The folder you want to search is /js/plugins

To remove the shutdown option, you'll be looking for a line that says:
Code:
this.addCommand("Shutdown", "shutdown");
or similar. Simply delete that line. Make sure you delete the line that says "addCommand", and not another one that might say: "exitText = 'Shutdown';" or similar.

Also, pay attention to the Terms of Use for the plugin. Some plugins do not allow modifications. If that's the case with your plugin, you'll need to ask the plugin dev for permission, or write a plugin that specifically removes the option (but only as a last resort).
I solved it, but thanks. How? I used Visustella core engine, and deleted the Game End option in the title command list.
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,033
Reaction score
5,334
First Language
Dutch
Primarily Uses
RMXP

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.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

I saw my new eye doctor today, he reminds me of Satoru Iwata for some reason
I've been using a modified version of a script called Multiple Messages. It makes my text boxes look like a Mario & Luigi game! There is something about it that bothers me a little bit, but I shouldn't worry about that now.

Side note, Mist's walking animation is almost perfectly in sync with Loose Yourself by Eminem.
Starting work on some stuff for the community. Hopefully it will be fun, and useful to somebody.
Searching what to play in my dead times, the nostalgia hit me hard and ended downloading the Patapon trilogy, hope I can avenge my child self and beating all the games hahaha
Finished the frontier and...I apologize to anyone who saw the trailer I posted and actually tried it. Technical marvel, crazy disjointed fetish story hidden inside a cheap milsim skin that has no idea what it's trying to be except sanctimonious and failing at even that. As much as I hate fallout 4's story, even it was better. I guess there just won't be another non-parody fallout after all.

Forum statistics

Threads
107,768
Messages
1,032,006
Members
139,913
Latest member
EpicLast
Top