[YEP Save Core] Disable "Load" option in the Save Scene

Hi

I'm using YEP Save Core Plugin .

As you can see in the demo video, when you enter the Save window, you can select a file and either Save on it, or Load it again.

But when I'm making, I'm doing a lot of loads and saves, and sometimes I mistake myself and reload a file instead of saving on it, losing all unsaved progression. I begin to think that if it happens to me, it may happen to the player.

I didn't see any option in the config to disable the "Load" button in the Save scene. So I took a peek at the plugin to look for which line I have to edit.

But I'm breaking the plugin when i'm trying to do so. Anyone to lend me a hand ?
yes that happen to me when I play some game too
And...I so piss...
so... I don't use yep save core in my project
why you specifically want to use it then?
if you want the auto save feature
there are other plugin about it too
and other about visually
in fact the original save is not that bad either
Yea, I am using the Auto Save.

I tried to do an auto save plugin myself (which was basically saving in a file named "Autosave") but i'm not that good ad scripting and that broke the original save system.

Any good alternative to Yanfly's Auto Save plugin ?
maybe try this one
I plan to use it
but never try it
just thinking to make my owns script instead
because I want something alternative

-----------------
edit
if you interest to learn script call
and know how to use it
there are save command in here
I plan to use it so I can custom what I want to do
script command master list
Hello! If you want to edit Yanfly Save_core to disable the ingame Load, find that function in the js file:
Code:
Window_SaveAction.prototype.makeCommandList = function() {
    var id = this.savefileId();
    var enabled = DataManager.isThisGameFile(id);
    var valid = DataManager.loadSavefileInfo(id);
    this.addCommand(this.getCommandName('load'), 'load', valid);
    this.addCommand(this.getCommandName('save'), 'save', this.isSaveEnabled());
    this.addCommand(this.getCommandName('delete'), 'delete', enabled);
};

And change it to something like this:
Code:
Window_SaveAction.prototype.makeCommandList = function() {
    var id = this.savefileId();
    var enabled = DataManager.isThisGameFile(id);
    var valid = DataManager.loadSavefileInfo(id);
    let loadEnable = SceneManager.isPreviousScene(Scene_Title) && valid;
    this.addCommand(this.getCommandName('load'), 'load', loadEnable);
    this.addCommand(this.getCommandName('save'), 'save', this.isSaveEnabled());
    this.addCommand(this.getCommandName('delete'), 'delete', enabled);
};

The last argument of addCommand method is a boolean that enable/disable the command. The change I made is to disable the Load command when accessed from inside the game, but not in the Title Screen cause otherwise, you'll never be able to load a game... You could also add a Switches if you want to control the Load command from in the game like:
Code:
let loadEnable = $gameSwitches.value(X) == true && SceneManager.isPreviousScene(Scene_Title) && valid

Hope that help! 😉
*using another Plugin like @pasunna suggestion would also do the trick!

Original thread: https://forums.rpgmakerweb.com/threads/yep-save-core-disable-load-option-in-the-save-scene.119328/