Add Exit Game to Main Menu + Remove Options

Hey everybody, I'm looking for a plugin that will add the 'Exit Game' Command to the main menu. I also want to remove the Options selection completely.

I've found a script on here that does the former, however the Options setting remains.

Thanks in advance for any help 🙂
Code:
Scene_Title.prototype.createCommandWindow = function() {
    this._commandWindow = new Window_TitleCommand();
    this._commandWindow.setHandler('newGame',  this.commandNewGame.bind(this));
    this._commandWindow.setHandler('continue', this.commandContinue.bind(this));
    this._commandWindow.setHandler('gameEnd',()=>{
        this._commandWindow.close();
        this.fadeOutAll();
        SceneManager.exit();
    });
    this.addWindow(this._commandWindow);
};

Window_TitleCommand.prototype.makeCommandList = function() {
    this.addCommand(TextManager.newGame, 'newGame');
    this.addCommand(TextManager.continue_,'continue', this.isContinueEnabled());
    this.addCommand(TextManager.gameEnd, 'gameEnd');
};

This should do what you want I think.
If you want to change the end game button to say something other than "Game End," then you can either change the term in the database, or change the third line of the second function like shown below:
Code:
    this.addCommand("Exit Game", 'gameEnd');

In the createCommandWindow function we define the behavior for each of the commands, and in makeCommandList we define the order and names of the commands.

First off thank you for taking the time to reply!

Unfortunately this plugin seems to be doing nothing. I tried making a fresh New Project and testing in that, just in case, and the results are still the same (nothing.) The Options Command Persists and the Exit Command is not added.

I only have 1 other plugin added and it's to do with player movement so I don't think they'd be clashing either.

EDIT: I ended up being able to solve this! Thank you!

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/add-exit-game-to-main-menu-remove-options.114984/