oasis-b

Docs / Map and world

LW_RegionRules

Map and world
RPG Maker MV and MZ region restrictions plugin

Regions that block or open tiles for the player, for events or for both.

Free World Pack (free)Story & World Essentials ($9.99)Full Collection ($19.99)

Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.

LW_RegionRules in a test project

Paint a region, and it decides who may walk there.

Highlights

Ideas for your game

Works well with

LW_PathfindingLW_StarTiles

Introduction

Requires LW_Core.

Paint a region to keep the shopkeeper behind the counter, the villagers in their part of town, or the player out of a backdrop that only events walk through. An "allowed" region opens a tile even if its tile is not passable, for example a hidden path through a hedge.

Allowed wins over blocked. Characters set to "Through" ignore both. Followers count as the player.

Map Notetags

They add to the parameters on this map.

<LW Player Blocked: 5>
<LW Event Blocked: 5, 6, 7>
<LW All Blocked: 10 to 15>
<LW Player Allowed: 20>
<LW Event Allowed: 21, 22>
<LW All Allowed: 30 to 32>

Script Call

LW.regionRule(character, regionId)   'blocked', 'allowed' or ''

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - 2026-11-21 - First release.

Introduction

Requires LWZ_Core.

Paint a region to keep the shopkeeper behind the counter, the villagers in their part of town, or the player out of a backdrop that only events walk through. An "allowed" region opens a tile even if its tile is not passable, for example a hidden path through a hedge.

Allowed wins over blocked. Characters set to "Through" ignore both. Followers count as the player.

Map Notetags

They add to the parameters on this map.

<LW Player Blocked: 5>
<LW Event Blocked: 5, 6, 7>
<LW All Blocked: 10 to 15>
<LW Player Allowed: 20>
<LW Event Allowed: 21, 22>
<LW All Allowed: 30 to 32>

Script Call

LW.regionRule(character, regionId)   'blocked', 'allowed' or ''

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - First release for MZ.

Get it

LW_RegionRules is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.

Free World Pack (free)Story & World Essentials ($9.99)Full Collection ($19.99)
← LW_StarTilesLW_EventGlow →