Limit Max Save Files?

I am rather new to messing with core settings like this, is there anyway to change the max amount of save files allowed? I.E. Only allow one save file at a time. I tried searching through the forums and couldn't find anything for MV to help.
You'd need a plugin, albeit a simple one. E.g.
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Set max save files to 1.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/172944/
 * @help Free to use and/or modify for any project, no credit required.
 */
DataManager.maxSavefiles = function() { return 1; };
Plaintext-to-plugin instructions:
  1. Copy + paste the code into a text editor (e.g. Notepad).
  2. File > Save As:
    • File Type: All Files
    • Filename: whatever.js
      (This works because .js files are plaintext.)
  3. Import that file as a plugin.
  4. Save your project to apply Plugin Manager changes.
  5. Test!

Original thread: https://forums.rpgmakerweb.com/threads/limit-max-save-files.172944/