Making random encounters unrunnable

Hi, I began working on making a game, and for balancing purposes I'm making the (intentionally) bad choice of not allowing the player to run without an item of some sort.

However, I can't find how to make random encounters unrunnable, I figured out how to make it so with the battle processing function in events, but I'd prefer using the default encounter system.

So does someone know of a plugin or a way to make random encounters unrunnable ?
there are some plugins to enable/disable battle commands,

that can seal (escape/run) render useless, unless you unseal it.
so when you have an item, you can unseal it when they have it in their
inventory and seal it if they have none of it.

this require that plugin + YEP itemCore plugin I think or battleCore plugin(s)
for the lunatic code to make this work nicely.

there might be other plugins similair that can achieve this as well.
@ShadowDragon I don't know if he is talking about gear enabling the run command. To me it sounded like a consumable item you'd use in battle to escape it.
In which case, I'm preeeetty sure there is an "abort battle" event command you could just tack onto a common event and tack the common event onto an item's function.

As far as the OP is concerned, unfortunately I don't have any advice pertaining to this issue since I don't use random battles.
A quick Google search turned up this plugin:
Which would allow you to build your own custom random encounters for the map instead of using the built-in random encounter system. This would allow you to use the battle processing command and therefore disable the ability to run from battle.
Coelacanth's plugin works well for what I'm doing ! Thanks a lot
You can also use any of the multitude of threads that remove the Party Command window (the Fight/Escape menu).

Or, if for some reason you want to have that and you just don't want the Escape option on it (so you have to click "Fight" every turn), you can paste this into a *.js:
Code:
Scene_Battle.prototype.createPartyCommandWindow = function() {
    this._partyCommandWindow = new Window_PartyCommand();
    this._partyCommandWindow.setHandler('fight',  this.commandFight.bind(this));
//    this._partyCommandWindow.setHandler('escape', this.commandEscape.bind(this));
    this._partyCommandWindow.deselect();
    this.addWindow(this._partyCommandWindow);
};

Original thread: https://forums.rpgmakerweb.com/threads/making-random-encounters-unrunnable.161962/