Status Plugin?
#1
I've been searching around and have not been able to find a plugin that will allow for the server to be queried for status.

Has anyone created a plugin or know a way to query the status of a server running mc-server?
Reply
Thanks given by:
#2
Hello, welcome to the forum.
What does a status mean, exactly? You can normally ping the server, same as the client would, and you'll receive the player count, limit, server name etc. Currently there's no way to code a plugin to provide more info on a separate listening port, because the asynchronous networking API is not finished yet ( https://forum.cuberite.org/showthread.php?tid=1700 ).
Reply
Thanks given by:
#3
I apologize for the delay in my response.

(01-22-2015, 04:58 AM)xoft Wrote: What does a status mean, exactly?

(01-22-2015, 04:58 AM)xoft Wrote: You can normally ping the server, same as the client would, and you'll receive the player count, limit, server name etc.

My question is running a normal java (jar) based Minecraft Server there is a parameter in server.properties called EnableQuery. Setting this to true allows a website, or script to "ping" the server to get relevant information as you've started, player count, limits, plugins, etc. If this is possible with MCServer, where is there documentation to enable this functionality? I've searched and have not found anything in regards to it's ability to do so.
Reply
Thanks given by:
#4
The Query protocol hasn't been implemented yet.
It might be that the time to implement is is just around the corner. We're finishing the cNetwork API that allows plugins to communicate on network, create client and server connections. So the entire Query protocol may get implemented as a separate plugin once the API is finished.
Is there some kind of documentation of the Vanilla's Query protocol?
Reply
Thanks given by:
#5
I think this page has everything what is needed
http://wiki.vg/Query
Reply
Thanks given by: punkmedia
#6
I was not able to find any documentation on it, other than the fact that using a vanilla server, it's a boolean variable.

There is simply no documentation about "enable query". At least that I was able to find in my hours of google searching.

(01-26-2015, 04:51 AM)Seadragon91 Wrote: I think this page has everything what is needed
http://wiki.vg/Query

Well then, I suppose I stand corrected.
Reply
Thanks given by:
#7
And here's the issue on GitHub: https://github.com/mc-server/MCServer/issues/797
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)