|
|||||||||||||||
|
[pitch] Game server player counter
Oct 9 at 22:05:50 in ??? | [RSS Feed]
You should stick the server player counter/cap next to the listed games to encourage more people to join. And people should join more. Click on the Connect link on the left, folks. It's not a virus. Attachments: 64hr0tv40wy31.jpg (32.8 KB)
I actually wanted to do this when I first put it on the home page, but then I remembered that unless I want the home page to take 30 seconds or more querying the game servers, I would need to use JavaScript in order for it to work correctly. Actually, no. I might be able to do that fine, but it'd require a JS user to view the home page first before a nonJS user does: 1 - javascript asks the server to query the game servers I'll see if I can get this implemented tonight, actually.
>unless I want the home page to take 30 seconds or more querying the game servers
Coming right up real soon. Minecraft Alpha can't have a player count because of how the server is designed AFAIK (aka I can't find any results on the Internet as to how I can grab it in this version) I know I can get player counts for Terraria, TF2, Xonotic, and the others easily though so it won't be much of a problem Attachments: connect player counts.png (20.05 KB)
Can't you get the number of open connections on the port? You don't need any special support on the server for that.
I don't believe we'll be able to do that since everything is containerized, unfortunately. It does seem like the best and easiest way and could probably be done for all services though
Added: https://cy-x.net/connect The chat counts will soon be displayed somewhere in the header, and game server counts will be added to the front page. This will make our services more noticeable to the common eye. |
|||||||||||||||