MV Anyway to disable the Maximize window button and Fullscreen Hotkey?

It's a simple question and I can't seem to find anything online about it and everything I try conflicts with the Window Resolution Script I'm using.

Capture.PNG
I dunno about "can't find anything" - I just did a quick search for "disable maximize":




As far as everything you trying conflicting with something else, no one can really help you with that if you don't say what you've tried.

(side note: MV uses plugins, not scripts)

However, note that the maximize button and resizing the window during gameplay is doing the same thing that the resolution-changing plugin does.

So, logically, I would expect that preventing the user from stretching the window would also prevent a plugin from stretching the window.
This should remove the maximize button. If you try to go fullscreen it only removes the window frame but leaves the size unchanged.
nw.Window.get().setResizable(false);
Where do I put this?

Where do I put this in my game?
This should remove the maximize button. If you try to go fullscreen it only removes the window frame but leaves the size unchanged.
nw.Window.get().setResizable(false);
Where do I put this in my game?
You can make a plugin file and paste the code in.

Original thread: https://forums.rpgmakerweb.com/threads/anyway-to-disable-the-maximize-window-button-and-fullscreen-hotkey.172649/