A Minetest mod which replaces the default health and breath bar by nice-looking HUD bars and provides a powerful API for modders to add custom HUD bars.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sys4-fr 67ca481f7c Ajoute message de chargement du mod dans le journal "action" 10 months ago
locale Add Malay locale by muhdnurhidayat 1 year ago
textures Tweak breath bgicon 3 years ago
API.md Add hb.get_hudbar_identifiers() 2 years ago
README.md Version 1.11.0 1 year ago
changelog.txt Version 1.5.1 3 years ago
default_settings.lua Move default settings into new Lua file 2 years ago
depends.txt Add intllib support 3 years ago
description.txt Add description.txt and screenshot.png 3 years ago
init.lua Ajoute message de chargement du mod dans le journal "action" 10 months ago
mod.conf Add mod.conf 3 years ago
screenshot.png Use new screenshot with 3:2 aspect ratio 3 years ago
settingtypes.txt Move statbars 2 pixels up 2 years ago

README.md

HUD bars

Description

This mod changes the HUD of Minetest. It replaces the default health and breath symbols by horizontal colored bars with text showing the number.

Furthermore, it enables other mods to add their own custom bars to the HUD, this mod will place them accordingly.

Important: Keep in mind if running a server with this mod, that the custom position should be displayed correctly on every screen size.

Current version

The current version is 1.11.0.

This software uses semantic versioning, as defined by version 2.0.0 of the SemVer standard.

Settings

This mod can be configured quite a bit. You can change HUD bar appearance, offsets, ordering, and more. Use the advanced settings menu in Minetest for detailed configuration.

API

The API is used to add your own custom HUD bars. Documentation for the API of this mod can be found in API.md.

Legal

License of source code

Author: Wuzzy (2015)

Also: This mod was forked from the “Better HUD” [hud] mod by BlockMen.

Translations:

  • German: Wuzzy
  • Portuguese: BrunoMine
  • Turkish: admicos
  • Dutch: kingoscargames
  • Italian: Hamlet
  • Malay: muhdnurhidayat

This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the MIT License.

Licenses of textures

  • hudbars_icon_health.png—celeron55 (CC BY-SA 3.0), modified by BlockMen
  • hudbars_bgicon_health.png—celeron55 (CC BY-SA 3.0), modified by BlockMen
  • hudbars_icon_breath.png—kaeza (MIT License), modified by BlockMen, modified again by Wuzzy
  • hudbars_bgicon_breath.png—based on previous image, edited by Wuzzy (MIT License)
  • hudbars_bar_health.png—Wuzzy (MIT License)
  • hudbars_bar_breath.png—Wuzzy (MIT License)
  • hudbars_bar_background.png—Wuzzy (MIT License)

License references