Minetest mod by Shara RedCat which adds two commands:
- '/hidenames' hides the nametags of all currently connected players.
- '/shownames' shows the name tags of all currently connected players.
to use these commands, you need to have the 'hidenames' privilege, which you can grant with:
/grant <player> hidenames
server admins and single players automatically have this privilege.
Code for this mod is released under MIT (https://opensource.org/licenses/MIT).