Query Plugin
#1
Hello all, about a month ago I implemented a query plugin when xoft added UDP protocol support (protocol) (github). This github issue includes some discussion

Basic and full stat are implemented. I followed MCServer coding style/conventions to the best of my knowledge, and I believe the code is very well commented (explaining why, not what). There's a config setting to enable/disable and which port to listen on

I don't think there's a way to get MCServer's version from lua - if someone knows a way, please let me know. So the only value hardcoded right now is "MCServer 1.8" for the version, because Minecraft 1.8 is the latest protocol it supports

I also think this plugin could be useful implemented into core or the main code of the server, as a lot of services/server lists use this protocol to query servers (the minecraft ping protocol has changed much over the different versions)

Please let me know what you guys think, thanks!
Reply
Thanks given by: sphinxc0re , xoft


Messages In This Thread
Query Plugin - by Raekye - 03-24-2015, 04:40 AM
RE: Query Plugin - by xoft - 03-24-2015, 08:37 AM
RE: Query Plugin - by Raekye - 03-25-2015, 03:06 PM



Users browsing this thread: 2 Guest(s)