Hide nicknames

Post Reply
Sullome
New member
Posts: 6
Joined: Mon Nov 25, 2013 22:00

Hide nicknames

by Sullome » Post

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.

User avatar
Dopium
Member
Posts: 233
Joined: Sat Jun 09, 2012 15:43
Location: Australia

by Dopium » Post

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.
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

by Calinou » Post

Code: Select all

unlimited_player_transfer_distance = false
in minetest.conf.

Sullome
New member
Posts: 6
Joined: Mon Nov 25, 2013 22:00

by Sullome » Post

Calinou wrote:

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.
Last edited by Sullome on Sat Dec 21, 2013 22:28, edited 1 time in total.

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

by TenPlus1 » Post

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...

User avatar
Jonathan
Member
Posts: 119
Joined: Tue Apr 02, 2013 14:07
Location: USA

by Jonathan » Post

Calinou wrote:

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.
By perseverance the snail reached the ark.
- Charles Spurgeon

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: Hide nicknames

by sparky » Post

viewtopic.php?f=9&t=4735 -gauges mod. we need it with nametags instead of health.

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: Hide nicknames

by ExeterDad » Post

On the opposite side of the coin. Seeing name tags with distance would be handy at times.

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: Hide nicknames

by sparky » Post

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

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: Hide nicknames

by Calinou » Post

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.

User avatar
Kilarin
Member
Posts: 896
Joined: Mon Mar 10, 2014 00:36
GitHub: Kilarin

Re: Hide nicknames

by Kilarin » Post

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.

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Hide nicknames

by rubenwardy » Post

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.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: Hide nicknames

by twoelk » Post

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.

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: Hide nicknames

by sparky » Post

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.

User avatar
Esteban
Member
Posts: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

Re: Hide nicknames

by Esteban » Post

.
Last edited by Esteban on Sat Mar 19, 2016 12:47, edited 2 times in total.
Scan avatar or click here to read a Message of Hope (PDF)

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: Hide nicknames

by Krock » Post

Releated: https://github.com/minetest/minetest/pull/1791
It would allow to decrease the player transfer distance but it doesn't completely hide the players.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: Hide nicknames

by Minetestforfun » Post

@Krock

Thank you for your pull ! :D (I will use it soon)

User avatar
sparky
Member
Posts: 154
Joined: Sun Oct 05, 2014 00:54
GitHub: Elkien3
IRC: ircSparky
In-game: sparky
Location: USA
Contact:

Re: Hide nicknames

by sparky » Post

sparky wrote:viewtopic.php?f=9&t=4735 -gauges mod. we need it with nametags instead of health.
Image
^^^ I finally got it to work! :D

(old post bump alert)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests