[abandoned] [Mod] Set/Unset Node Owner [ownit] (v1.0)

Post Reply
User avatar
AntumDeluge
Member
Posts: 213
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

[abandoned] [Mod] Set/Unset Node Owner [ownit] (v1.0)

by AntumDeluge » Post

Ownit: Set/Unset Node Owner

Abandoned: this has been merged into alternode

Description:

Image

A tool for setting or removing "ownership" of a node. Not to be confused with an area protection mod. Ownership is determined by the "owner" attribute in the node's meta data. In order for this to actually be effective, other mods must respect that attribute. Otherwise, setting the owner does nothing.
  • Player can own a node if the node is unowned & in an area protected/owned by the player. A protection mod is required as vanilla minetest.is_protected method always returns false.
  • Player can unown a node if they are the current owner.
Unsetting ownership can be useful for mods that set ownership automatically when a node is placed (some doors for instance).

This mod has been tested to be working with the following protection mods: Usage:
  • left-click (use): Sets/Unsets user as owner.
  • right-click (place): Checks owner status & outputs to chat log.
Licensing:
  • Code: MIT
  • Textures:
    • ownit_wand.png: CC0 (by rcorre)
Links:

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests