MultiOgar icon indicating copy to clipboard operation
MultiOgar copied to clipboard

How to make a live players amount via the stats port?

Open CalvinDKL opened this issue 9 years ago • 2 comments

Hello! So i just want something where players can see how many players there are in the game. I know there is a stats port that says that, but there is much text and i dont know how to remove that, and i only want players to see the players amount.

It would be cool if someone could tell me how to do it.

Example: http://germs.io/

Germs has a player amount by the title.

THANKS

CalvinDKL avatar Nov 16 '16 16:11 CalvinDKL

Ajax the server using jQuery, use the response through the callback and parse it.

Read the docs of for more information: http://api.jquery.com/

Also this is a client suggestion, we don't help with clients here.

makandz avatar Nov 16 '16 22:11 makandz

Thanks for help, I made one! Works great

On 16 Nov 2016 11:11 p.m., "Makan Dey" [email protected] wrote:

Ajax the server using jQuery, use the response through the callback and parse it.

Read the docs of for more information: http://api.jquery.com/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Barbosik/MultiOgar/issues/413#issuecomment-261088863, or mute the thread https://github.com/notifications/unsubscribe-auth/AWNHut3btCBfPaPHqU33TonPud1a2-JMks5q-3-fgaJpZM4K0IHX .

CalvinDKL avatar Nov 17 '16 15:11 CalvinDKL