1
0
Fork 0
TheDarkProject/mods/HUD/hudbars
Wuzzy 1c192f4fbb Do not send useless HUDCHANGE packets
Several mods set or unset the visibility of a HUD bar way too often (e.g.
in a globalstep handler), causing the server to send a lot of superfluous
HUDCHANGE packets to each client. Returning from hb.hide_hudbar() early
if HUD bar visibility would not change prevents sending these packets.
2021-09-15 17:47:35 +02:00
..
locale Add polish translation of mcl_hudbars 2021-05-26 08:49:40 +02:00
textures Replace most textures with Pixel Perfection 2017-07-20 20:20:45 +02:00
API.md Add right-to-left statbars, for hunger and air. 2021-04-07 22:26:42 +08:00
README.md Upgrade hudbars to 2.3.2 2020-07-23 23:06:10 +02:00
default_settings.lua fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
init.lua Do not send useless HUDCHANGE packets 2021-09-15 17:47:35 +02:00
mod.conf Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
settingtypes.txt Update hudbars mod to 2.1.0 2020-02-04 22:06:31 +01:00

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 2.3.2. It works for Minetest 5.3.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.

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
  • Russian: Imk
  • Spanish: wuniversales

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