Page 1 of 1
Hide nicknames

Posted:
Fri Dec 20, 2013 17:05
by Sullome
I think many would like not to see other players' nicknames through walls and other objects.
Probably every server, where stealth is important, would welcome the opportunity to hide nickname of certain player from another player, with a simple mod on Lua. But now you only can hide all objects on a given distance. Both nicknames and players.
I start to work on this, so I decided to make a topic on this forum. Perhaps someone has already done something in this direction? Or doing? I'm ready to help.

Posted:
Fri Dec 20, 2013 23:46
by Dopium
The Gameboom server had this feature about 2 years ago, well it would not show names until the player is really close. Bad_Command and i think it was Darkrose that were the moderators, both used to add/create and edit mods for the server.
Although i have not seen Bad_Command around for a long time, i am fairly sure BC added that feature along with the bones mod.

Posted:
Sat Dec 21, 2013 09:18
by Calinou
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
unlimited_player_transfer_distance = false
in minetest.conf.

Posted:
Sat Dec 21, 2013 10:21
by Sullome
Calinou wrote:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
unlimited_player_transfer_distance = false
in minetest.conf.
I can't see players too after this. And I still see nicknames through the walls.

Posted:
Sat Dec 21, 2013 10:27
by TenPlus1
The skins mod not only allows users to skin their characters but seems to limit the view range of nicks to 50 blocks, any more than that and they disappear...

Posted:
Mon Feb 03, 2014 21:32
by Jonathan
Calinou wrote:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
unlimited_player_transfer_distance = false
in minetest.conf.
From what I can remember, you could still see the name if they were close. I would love to have the ability to either configure the distance (so I could set it to 0), or turn it off completely.
Re: Hide nicknames

Posted:
Mon Oct 27, 2014 18:59
by sparky
https://forum.minetest.net/viewtopic.php?f=9&t=4735 -gauges mod. we need it with nametags instead of health.
Re: Hide nicknames

Posted:
Mon Oct 27, 2014 23:01
by ExeterDad
On the opposite side of the coin. Seeing name tags with distance would be handy at times.
Re: Hide nicknames

Posted:
Tue Oct 28, 2014 14:58
by sparky
ExeterDad wrote:On the opposite side of the coin. Seeing name tags with distance would be handy at times.
yes but that is already in minetest. :D
Re: Hide nicknames

Posted:
Tue Oct 28, 2014 19:37
by Calinou
sparky wrote:ExeterDad wrote:On the opposite side of the coin. Seeing name tags with distance would be handy at times.
yes but that is already in minetest. :D
I think ExeterDad means that the size of the name tag (or something else) should change depending on the distance of the player to you.
Re: Hide nicknames

Posted:
Tue Oct 28, 2014 21:19
by Kilarin
What *I* would like to see is the best of both worlds.
A server config entry that sets "ALL names appear when distance is less than X"
But also a flag that can be set by the player to go into "public" or "private" mode when the distance is greater than X.
So, for example, if X=100 then any player within 100 nodes of me would have their name show up on my screen, no matter what.
BUT, if players QuietGirl and ChatterBox are at a distance of 2000 from me, and QuietGirl has set her name to private mode, I would not see her name. But if ChatterBox is set to public, then I would see his name.
Re: Hide nicknames

Posted:
Wed Oct 29, 2014 11:50
by rubenwardy
The code for the player's name is in CAObject or something. It is an Irrlicht TextSceneNode. I tried modifying it to change size when the player is far away, but it is hard to do it cleanly. (The object has no direct access to the position of the current player, you would have to pass it in).
From what I could see.
Re: Hide nicknames

Posted:
Wed Oct 29, 2014 12:10
by twoelk
I wonder if Admins could be provided with a special view. Something along the lines of assigning individual colors for name-tags connected to commands or events.
For example a command "where-is player xyz" could print information to the admins view and also highlight the searched name tag for the admin, maybe with coordinates and distance from searching player displayed near the name tag.
Or the admin could configure a special nametag color for all players that are currently handling lava.
Re: Hide nicknames

Posted:
Wed Oct 29, 2014 14:33
by sparky
twoelk wrote:the admin could configure a special nametag color for all players that are currently handling lava.
yea and maybe have text pop up on the players screens saying "LAVA ALERT! LAVA ALERT!" an alarm sound too! :D
I love minetest.
Re: Hide nicknames

Posted:
Wed Oct 29, 2014 14:41
by Esteban
.
Re: Hide nicknames

Posted:
Sat Nov 01, 2014 11:44
by Krock
Releated:
https://github.com/minetest/minetest/pull/1791It would allow to decrease the player transfer distance but it doesn't completely hide the players.
Re: Hide nicknames

Posted:
Sun Nov 02, 2014 14:46
by Minetestforfun
@Krock
Thank you for your pull ! :D (I will use it soon)
Re: Hide nicknames

Posted:
Fri May 20, 2016 02:01
by sparky

^^^ I finally got it to work! :D
(old post bump alert)