Basic Ownership provides an abstraction layer for node-based protection schemes in Minetest Game.
It was originally released in 2017 in conjunction with my GiftBox mod. Since several of my other mods now depend on this API, I decided it would be worthwhile to create a forum topic to post announcements and bug fixes.
The API of Default is extended to simplify the process of checking ownership of individual nodes, with support for anonymous and non-existent owners as well. It also permits players to dig nodes that rightfully belong to them, even in protected areas (where normally, this would not be allowed).
The following API functions are provided:
The new 'superuser' privilege, when granted to a player, will give the player access to any owned nodes while also bypassing prorection.