External Publication
Visit Post

Feature Discussion • Re: New Feature Hype Thread

Luanti Forums - Index page [Unofficial] May 24, 2026
Source

In the next version, you will be able to force certain HUD elements to be displayed always, i.e. they cannot be hidden with the "Toggle HUD" key.

This can be useful for some full-screen effects.

https://github.com/luanti-org/luanti/pull/17165

Um, understand Freedom of Choice, if somebody doesn't want that HUD element, they should have the right to turn it off.

This can be useful for some full-screen effects.

But it will also make clean screenshots impossible.

The very pull request that adds it also adds commands to devtest to toggle hideability, maybe someone could release it as a standalone mod?

Code:

core.register_chatcommand("hudtogglehideable", {description = "Makes all HUD elements (un)hideable",func = function(name)local player = core.get_player_by_name(name)if not player thenreturn false, "No player."end-- Toggle un/hideablelocal to_set = not player_hud_all_hideable[name]for id, _ in pairs(player:hud_get_all()) doplayer:hud_change(id, "hideable", to_set)endplayer_hud_all_hideable[name] = to_setreturn true, "All HUD elements are " .. (to_set and "hideable" or "unhideable") .. " now."end})

Statistics: Posted by Blockhead — Sun May 24, 2026 22:58


Discussion in the ATmosphere

Loading comments...