Minetest mod that adds health and breath gauges above players https://content.minetest.net/packages/Calinou/gauges/
Go to file
savilli b08db516d5 Don't lose hp_bar when teleporting
If a player teleports far away, their hp_bar can become deactivated and disappear. The mod installs the gauge only when a player joins, so it will be forever missing. `static_save = false` prevents the item from deactivating https://github.com/minetest/minetest/blob/master/src/serverenvironment.cpp#L2028 .
Also, it doesn't make sense to save `gauges:hp_bar` to map meta since it's not a standalone item.
2021-11-02 00:20:07 +01:00
textures Remove unused entities on settings change (#8) 2020-09-27 19:14:49 +02:00
.editorconfig Set EditorConfig to use tabs in .luacheckrc 2019-02-22 00:49:27 +01:00
.luacheckrc Make health bars show rough percentage of max hp (#9) 2021-10-18 18:22:03 +02:00
.pre-commit-config.yaml Update pre-commit hooks to 2.3.0 2019-09-25 23:19:13 +02:00
.travis.yml Travis CI: Use the bionic distribution 2019-07-29 00:52:08 +02:00
CHANGELOG.md Bump to version 1.0.4 2020-09-27 22:56:26 +02:00
init.lua Don't lose hp_bar when teleporting 2021-11-02 00:20:07 +01:00
LICENSE.assets.md Add a README 2019-03-02 18:59:59 +01:00
LICENSE.md Update copyright statements to 2020 2020-01-01 04:11:04 +01:00
mod.conf Declare the minimum supported Minetest version to 0.4.17 2020-06-03 18:56:14 +02:00
README.md Tweak grammar in various files 2020-02-15 16:19:33 +01:00

Gauges

Preview

Gauges for Minetest, a free and open source infinite world block sandbox game.

Forum topic

Installation

Download the mod

To install Gauges, clone this Git repository into your Minetest's mods/ directory:

git clone https://github.com/minetest-mods/gauges.git

You can also download a ZIP archive of Gauges.

Enable the mod

Once you have installed Gauges, you need to enable it in Minetest. The procedure is as follows:

Using the client's main menu

This is the easiest way to enable Gauges when playing in singleplayer (or on a server hosted from a client).

  1. Start Minetest and switch to the Local Game tab.
  2. Select the world you want to enable Gauges in.
  3. Click Configure, then enable gauges by double-clicking it (or ticking the Enabled checkbox).
  4. Save the changes, then start a game on the world you enabled Gauges on.
  5. Gauges should now be running on your world.

Using a text editor

This is the recommended way to enable the mod on a server without using a GUI.

  1. Make sure Minetest is not currently running (otherwise, it will overwrite the changes when exiting).
  2. Open the world's world.mt file using a text editor.
  3. Add the following line at the end of the file:
load_mod_gauges = true

If the line is already present in the file, then replace false with true on that line.

  1. Save the file, then start a game on the world you enabled Gauges on.
  2. Gauges should now be running on your world.

Version compatibility

Gauges currently supports Minetest 5.0 and later, as well as 0.4.17. Issues arising in versions older than 5.0 will generally not be fixed.

License

Copyright © 2014-2020 4aiman, Hugo Locurcio and contributors

  • Code is licensed under the MIT license, see LICENSE.md for details.
  • Textures are licensed under CC0 1.0 Universal, see LICENSE.assets.md for details.