Skip to content

AntumMT/mod-alternode

Repository files navigation

Alternode: Node Meta Manipulation

Description:

A Minetest mod that allows administrators with server privilege to examine & alter node meta data. Additionally, a pencil & key tools are provided with limited use for players to alter infotext & owner meta value.

Usage:

Chat commands:

  • /getmeta <x> <y> <z> <key>
    • prints the value of key in meta data of node at x,y,z.
  • /setmeta <x> <y> <z> <key> <new_value>
    • Sets the value of key in meta data of node at x,y,z.
  • /unsetmeta <x> <y> <z> <key>
    • Unsets the value of key in meta data of node at x,y,z.

Tools:

Wand:

Use the alternode:wand on a node to receive node coordinates, name, & some select meta info. Only players with the server privilege can use this item

  • left-click (use): Opens formspec to retrieve & set/unset meta attributes.
  • right-click (place): Print node coordinates, name, & some select meta info.

Pencil:

The alternode:pencil is a tool for players to set/unset the infotext meta value of nodes within protected/owned areas.

  • left-click (use): Opens formspec to set/unset infotext meta attribute.

Key:

The alternode:key is a tool that will set/unset the player wielding it as owner of a node (e.g. owner meta attribute will be set to player's name or cleared). Only nodes within an area owned/protected by the player can owned. Any node can be unowned.

  • left-click (use): Sets/Unsets user as owner.
  • right-click (place): Prints owner status to chat log.

Licensing:

Links: