moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)

Home Page:http://root-the-box.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Showing player UTF-8 name in the scoreboard

ilovewingchun opened this issue · comments

commented

By default the scoreboard will show all the player's handle name instead of the defined player name. Admin can manually set the displayed name for the scoreboard. Can we add a feature so that the scoreboard can automatically show all the player's name instead of handle name?

This might be a challenge as it's not actually the user handle that is being displayed, it's the team name. When in individual player mode, what really happens is that you're creating a team of one, so the user becomes the team. The user's handle is copied as the team name. So it's not as simple as if x then handle else real_name.

What we could potentially do is, when it's in player mode, have a setting that sets the team name based on the full name instead of the handle. It would be a bit odd, but would probably work how you want.

commented

Yes that would work, thanks!

Ok, added a configuration option (have to edit the rootthebox.cfg) for the option player_use_handle. You'll want to set this value to False, which will tell it to use the playername.

commented

Ok, added a configuration option (have to edit the rootthebox.cfg) for the option player_use_handle. You'll want to set this value to False, which will tell it to use the playername.

Tested and looking good, thank you!