2021-05-02 01:26:50 -07:00
## Alternode: Node Meta Manipulation
2021-04-29 18:24:31 -07:00
### Description:
2021-05-17 19:02:45 -07:00
A [Minetest ](http://minetest.net/ ) 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.
2021-04-29 18:24:31 -07:00
### Usage:
2021-05-16 09:25:19 -07:00
#### Chat commands:
2021-04-29 18:24:31 -07:00
2021-05-17 19:02:45 -07:00
- */getmeta < x> < y> < z> < key> *
2021-05-14 15:20:49 -07:00
- prints the value of `key` in meta data of node at `x,y,z` .
2021-05-17 19:02:45 -07:00
- */setmeta < x> < y> < z> < key> < new_value> *
2021-05-14 15:20:49 -07:00
- Sets the value of `key` in meta data of node at `x,y,z` .
2021-05-17 19:02:45 -07:00
- */unsetmeta < x> < y> < z> < key> *
2021-05-14 15:20:49 -07:00
- Unsets the value of `key` in meta data of node at `x,y,z` .
2021-04-29 18:27:45 -07:00
2021-05-16 09:25:19 -07:00
#### Tools:
2021-05-18 16:11:07 -07:00
**Wand:**
2021-05-16 08:47:40 -07:00
2021-05-18 16:11:07 -07:00
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
2021-05-16 08:47:40 -07:00
2021-05-17 16:10:13 -07:00
- *left-click (use):* Opens formspec to retrieve & set/unset meta attributes.
- *right-click (place):* Print node coordinates, name, & some select meta info.
2021-05-17 16:05:58 -07:00
2021-05-16 08:47:40 -07:00
**Pencil:**
The `alternode:pencil` is a tool for players to set/unset the `infotext` meta value of nodes within protected/owned areas.
2021-05-16 09:25:19 -07:00
- *left-click (use):* Opens formspec to set/unset infotext meta attribute.
2021-05-17 18:49:44 -07:00
**Key:**
2021-05-16 09:25:19 -07:00
2021-05-17 19:02:45 -07:00
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.
2021-05-16 09:25:19 -07:00
- *left-click (use):* Sets/Unsets user as owner.
2021-05-17 18:49:44 -07:00
- *right-click (place):* Prints owner status to chat log.
2021-05-16 09:25:19 -07:00
2021-05-16 09:13:05 -07:00
### Licensing:
- Code: [MIT ](LICENSE.txt )
- Textures: CC0
2021-05-18 16:11:07 -07:00
- alternode_pencil.png:` by AntumDeluge
- [`alternode_key.png` ](https://opengameart.org/node/120374 )
- [`alternode_wand.png` ](https://opengameart.org/node/40598 ) by rcorre
2021-05-16 09:13:05 -07:00
2021-04-29 18:27:45 -07:00
### Links:
2021-08-03 03:54:43 -07:00
- [![ContentDB ](https://content.minetest.net/packages/AntumDeluge/alternode/shields/title/ )](https://content.minetest.net/packages/AntumDeluge/alternode/)
2021-05-03 12:30:19 -07:00
- [Forum ](https://forum.minetest.net/viewtopic.php?t=26667 )
2021-05-02 01:26:50 -07:00
- [Git repo ](http://github.com/AntumMT/mod-alternode )
2021-08-16 01:26:05 -07:00
- [Reference ](https://antummt.github.io/mod-alternode/reference/latest/ )
2021-08-03 03:50:31 -07:00
- [Changelog ](changelog.txt )
2021-04-29 18:27:45 -07:00
- [TODO ](TODO.txt )