This plugin allows you to restrict player movement temporarily using events.
By default, they can move in all four, or eight, directions. By using certain
plugin commands, you can "lock" certain directions if you didn't want to allow
them to move in those directions.
== Terms of Use ==
- Free for use in non-commercial projects with credits
- Contact me for commercial use
== Change Log ==
Dec 31, 2015 - initial release
== Usage ==
Here are some direction names that you can use:
UP
DOWN
LEFT
RIGHT
UPLEFT
UPRIGHT
DOWNLEFT
DOWNRIGHT
To lock a movement direction, use the plugin command
lock_move_dir DIR1 DIR2 DIR3 ...
To unlock a movement direction, use the plugin command
unlock_move_dir DIR1 DIR2 DIR3
For convenience, you can lock multiple directions in one command.
So for example, if you wanted to prevent players from moving up or down,
you can write
lock_move_dir UP DOWN
And afterwards, you can unlock those directions with