Protector Redux offers an efficient and flexible node-based protection scheme for players on survival and creative servers. The mod was inspired by TenPlus1's "Protector Redo", which continues the legacy of Zeg9 and glomie's original protection mods.
This mod is intended to act as a drop-in replacement for Protector Redo. The only dependencies are Default (from Minetest Game) and ActiveFormspecs.
Here's a quick rundown of the two types of protectors:
-
Shared Protector
Restricts building and mining within an 11m cubic area except by the owner or designated members. Digging and mining by members can be further restricted according to the bitmap mask of the area (see below). Shared Protectors can be useful for creating apartments and shared tree farms. -
Public Protector Restricts building and mining within an 11m cubic area according to the bitmap mask of the area (see below). Public Protectors can be useful for creating public tree farms and sandbox playgrounds.
The bitmap mask of shared protectors can be manually engaged or disengaged by right-clicking the protector and clicking "Lock Area" or "Unlock Area" respectively. Locking the area stores a "snapshot" of all non-air and non-liquid nodes as a bitmap into the metadata of the protector (compressed for space efficiency) . For public protectors, the bitmap mask is automatically engaged at all times.
Tip: If there are overlapping protected areas owned by the same player, then the most restrictive bitmap mask is used to determine whether any given node is protected from mining or building.
Tip: When engaging a bitmap mask, only air and liquid nodes are unmasked and all other nodes are masked. To protect an open area (like a hallway), it should be filled temporarily beforehand.
The craftable Protection Mask adds support for copying and pasting of bitmap masks across multiple protectors. So if you are creating very large tree farms, public mines, etc. then you can construct a template of the region that you want to protect in a staging area, and then apply a snapshot of that region to any number of other protectors, either shared or public.
Also the shared protector has options to prevent unwanted griefing of public areas with undiggable nodes (locked chests or steel doors).