MV Toggle Player Movement [YM]

Toggle Player Movement (0.8)
Your Majesty Studio [YM]
​

Introduction
Have you ever found yourself in a situation where you wanted the player to be unable to move, but still allow other events to proceed?
Or maybe you were in a situation where you needed to create the autorun event just to prevent the player from moving?
Ever wanted just to restrict player movement for some time without using unnecessary events or additional steps?
Well, now it IS possible!

Features
Easy turning on/off the player movement on the map by plugin commands!

ATTENTION: The functionality of this plugin has LESS priority than other movement-restricting events!
This means that, for example, you WON'T be able to allow movement while the message is being shown,
because the message restriction has MORE priority!

Compatability
This plugin should also be compatible with other plugins.

Installation
Put the plugin in the 'plugins' folder inside your project.
Then enable the plugin via the RPG Maker MV editor.

How to Use
All you need to do is use the desired plugin command listed below.

Plugin Commands
DisablePlayerMovement
It will prevent the player from moving on the map.


EnablePlayerMovement
It will allow player movements on the map.

Terms and Credits
Mention of "YourMajestyStudio" in credits is needed for commercial use.
Plugin is allowed to be used in all kind of projects.
Thank you! Very helpful for keeping players from moving around during cutscenes. I'd like to report an issue: this plugin seems to disable the event comment functionality (some plugins rely on the comment feature).
Thank you for the comment!
Thank you! Very helpful for keeping players from moving around during cutscenes. I'd like to report an issue: this plugin seems to disable the event comment functionality (some plugins rely on the comment feature).
Hmm, strange - it shouldn't do anything to event comments...
Can you please provide more info about what plugins aren't working and when?

That would be a huge help for me, thanks!
sure!The function of this plugin is to automatically pop up a message box (a non-pausing message box) when a player is detected within a certain distance from a specific location. To use it, enter the following command into the event comment: <ActiveMessage: this this this>. It triggers 100% of the time when Toggle Player Movement is not activated, regardless of the method used. However, once player movement is disabled, the plugin can no longer be triggered.

Original thread: https://forums.rpgmakerweb.com/threads/toggle-player-movement-ym.179878/