Count the number of players connect to website extern
#1
Hello,

I search a solution for count the numbers of players connect to my server Minecraft.
How can i recovered information the numbers of players ?

Sorry, i am novice.
Thanks.
Reply
Thanks given by:
#2
Hello, welcome to the forum.

You can use cRoot:Get():GetServer():GetNumPlayers() to find the amount of players online.
Reply
Thanks given by:
#3
(02-15-2015, 07:47 AM)NiLSPACE Wrote: Hello, welcome to the forum.

You can use cRoot:Get():GetServer():GetNumPlayers() to find the amount of players online.

Thanks, for Lua is good.
I search solution for PHP for display numbers of players connects.

Possibility communication website <=> server minecraft ?
Reply
Thanks given by:
#4
(02-15-2015, 07:50 AM)Creaprog Wrote: Possibility communication website <=> server minecraft ?

You're lucky Smile MCServer just has a network API. I don't think we even have it for a week. You can find documentation here: http://mc-server.xoft.cz/LuaAPI/cNetwork.html
Reply
Thanks given by: Creaprog
#5
(02-15-2015, 07:56 AM)NiLSPACE Wrote:
(02-15-2015, 07:50 AM)Creaprog Wrote: Possibility communication website <=> server minecraft ?

You're lucky Smile MCServer just has a network API. I don't think we even have it for a week. You can find documentation here: http://mc-server.xoft.cz/LuaAPI/cNetwork.html

Thanks !
Reply
Thanks given by:




Users browsing this thread: 4 Guest(s)