barneygale / mark2

minecraft server wrapper, written in python with twisted
Other
105 stars 27 forks source link

BungeeCord support #112

Open vemacs opened 10 years ago

vemacs commented 10 years ago

Is it possible for mark2 to add support for BungeeCord?

Basically, for detection of whether or not a server is BungeeCord, the server starts with something like:

14:16:35 [INFO] Enabled BungeeCord version git-BungeeCord-Proxy-1.6.1-SNAPSHOT-"fb1cab4"-595

Server list ping starts working at around:

14:17:17 [INFO] Listening on /198.24.184.210:25565

To stop the server via ~stop, /end should be used instead. Saving of any sort is disabled. Is this possible?

gsand commented 10 years ago

+1

Goblom commented 10 years ago

:+1:

gsand commented 10 years ago

https://github.com/mcdevs/mark2/search?q=pattern&source=cc&type=Code

Would require adding those as config options in the mark2.properties file. ymarsgb

vemacs commented 10 years ago

This would work if mark2 logging levels worked for BungeeCord.

gsand commented 10 years ago

It would be ideal if everything would be done through the mark2.properties file, it's just a few changes that shouldn't be too hard for someone who is familiar with python.

You could even make it so that new and old versions of different applications could run on the same mark2 instance.


Output Formatting:

https://github.com/mcdevs/mark2/blob/master/mk2/events/server.py#L7

Done Message:

https://github.com/mcdevs/mark2/blob/master/mk2/services/process.py#L60

Stop Command:

https://github.com/mcdevs/mark2/blob/master/mk2/services/process.py#L115

Ping Service:

https://github.com/mcdevs/mark2/blob/master/mk2/services/ping.py#L53