Distancer is a Client-Side Mod, which should help you to build in Minetest.
This Mod measures distances or show's you the current Mapblock of your Position.
Commands:
- .marker | Shows you the current stored Marker.
- .marker -s | Set's the Marker to your current Position.
- .marker -m | Shows you the Distance between your current Position and the (valid) Marker.
- .marker -p | Shows you a vector of the Distance between your current Position and the (valid) Marker.
- .marker -w X,Y,Z | Writes a manual given Position to the Marker. Example: .marker -w 50,-10,100 - Set's the Marker to the Position 50,-10,100.
Other Commands:
- .show_mapblock | Shows you the Mapblocknumber of your current Position.
- .who_is_online | Lists the Names of the (online) Player.
- .distancer_version | Shows you the Version of the Mod.
nothing
License:
GPL 3.0
How to install:
Move the folder to your clientmods directory of your minetest-folder.
Then activate the mod in your mod.conf.
Download:
Release for >= 0.4.15:
https://github.com/acmgit/distancer/archive/1.0.zip
=======================================================================
Only for Version 5.x.x.

Additional Commands:
- .dhud on|off | Turns all HUD's of Distancer on or off.
- .dhud_mapblock on|off | Turns the HUD for the current Mapblock on or off.
- .dhud_measure on|off | Turns the HUD to measure distances on or off.
- .dhud_waypoint on|off | Turns the HUD for the Waypoint on or off.
- .dhud_waypoint -c <color> | Changes the Color of the Waypoint to <color> (like green) or shows the available colors.
- .dhud_change | Shows you the current Position of the HUD.
- .dhud_change -r | Resets the Position of the HUD to default.
- .dhud_change -w .x,.y | Set's the Position of the HUD to the given Values. A Value of 0 left the Position unchanged.
- .dhud_speed | Shows you the current Refreshspeed of the HUD in Seconds.
- .dhud_speed Number | Changes the Refreshspeed of the HUD in Seconds. 0 turns the HUD off.
for Modwriter
With the Version 2.7 or higher, the Distancer has a API for other mods.
Var:
- dst.ver | Version Number of the loaded Distancer.
- dst.rev | Revision Number of the loaded Distancer.
- dst.name | Name of the Mod.
API:
- dst.send_pos(name, position) | name = playername, position = string like "0,0,0". Set's the Marker to the Position "x,y,z".
Source:
https://github.com/acmgit/distancer
Release for 5.x.x:
https://github.com/acmgit/distancer/archive/2.6.zip
Have Fun with it.
Greetings, Clyde.