Go to file
Starbeamrainbowlabs 44aaac5a6a
README: Document chat commands
2021-07-31 02:46:21 +01:00
screenshots Add screenshots 2018-09-14 23:17:14 +01:00
.luacheckrc Add luacheckrc file 2021-07-31 01:35:52 +01:00
FUNDING.yml Add FUNDING.yml 2020-05-01 23:48:52 +01:00
LICENSE Add LICENSE 2018-09-14 22:07:56 +00:00
README.md README: Document chat commands 2021-07-31 02:46:21 +01:00
commands.lua Add //hudoffset chat command to adjust vertical offset of HUD 2021-07-31 02:04:03 +01:00
common.lua Add //hud commad to toggle 2018-09-14 23:00:02 +01:00
hud.lua Persist per-player settings to disk. 2021-07-31 02:40:51 +01:00
hud_info.lua raycast_polyfill: ignore wielded_light:* nodes. 2020-05-02 00:02:42 +01:00
init.lua Persist per-player settings to disk. 2021-07-31 02:40:51 +01:00
io.lua Persist per-player settings to disk. 2021-07-31 02:40:51 +01:00
raycast_polyfill.lua Fix getpos deprecation warning 2021-05-31 12:11:26 +01:00
screenshot.png Add screenshot symlink 2018-09-14 23:37:36 +01:00

README.md

WorldEdit HUD Helper [worldedit_hud_helper]

A helpful HUD that shows the name of the node you're pointing at and the direction you're pointing in. Makes using WorldEdit that little bit easier :-)

Despite the name, it doesn't actually depend on worldedit at all!

Forum Link: https://forum.minetest.net/viewtopic.php?f=9&t=20804

Usage

After installing the mod and restarting your server, you should see it appear automagically above your hotbar.

To toggle its display, use the //hud command - it takes no arguments.

Changelog

  • v0.1: 14th September 2018
    • Initial release.
  • v0.2: 16th September 2018
    • Fix undeclared global variable access.
  • v0.3: 2nd May 2020
    • Fix potential bug in raycast
    • Ignore wielded_light:* nodes when raycasting
  • v0.4: 31st May 2021
    • Fix deprecation warning for getposget_pos (#2)
  • v0.5: 31st July 2021
    • Add //hudoffset [<offset_in_pixels>] chat command to adjust the vertical offset of the HUD (fixes #1)
    • Persist per-player settings to disk (per-world)

More Screenshots

Chat commands

worldedit_hud_helper provides 2 chat commands:

//hud

Toggles whether the HUD is shown or not.

//hudoffset <offset_in_pixels>

Adjusts the vertical height of the HUD. For example, to adjust it to be greater (higher up on the screen), do this:

//hudoffset 50

The default value is 0. You can reset to the default value like this:

//hudoffset

License

This mod is licensed under the Mozilla Public License 2.0, a copy of which (along with a helpful summary as to what you can and can't do with it) can be found in the LICENSE file in this repository.

If you'd like to do something that the license prohibits, please get in touch as it's possible we can negotiate something.