moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
932 stars 294 forks source link

Tracking a version #518

Closed PJNorrisS1 closed 2 years ago

PJNorrisS1 commented 2 years ago

From time to time, I have to update flags with amendments and new content. I run a number of RTB platforms and use the status feature (game start, registration open) 6751F07E-6A65-472A-8843-DBF9D70D5DD5 on a master page to show me the status. It would be good to track a version variable on this status json too, and either have is in the DB or Cfg file. Thanks.

eljeffeg commented 2 years ago

Added to the upcoming 3.12.0 release. I also added the game name. Let me know if you think of any other good things to include in the status.

PJNorrisS1 commented 2 years ago

Fantastic! That is going to make life so much easier! It would be nice to see how many players have registered in the status. When we open up our workshops to register, I have to log in to each container and see who has registered. However I’m not sure that statistic is exposed as an admin user so can understand if we can’t do this. thank you!

eljeffeg commented 2 years ago

Sure, we added some of those statistics in the Admin home page and can add it to the status. The number of players or teams is generally public on the teams page and scoreboard. One thing to note, if the game is in team mode, the status will include "team_count" and "player_count". If it's in player mode, it will just return the "player_count".