Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-detect when server is up #37

Closed
Br31zh opened this issue Oct 3, 2020 · 7 comments
Closed

Auto-detect when server is up #37

Br31zh opened this issue Oct 3, 2020 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@Br31zh
Copy link

Br31zh commented Oct 3, 2020

Hello,

Do you think it’s possible to auto-detect when the server is up instead or using an static defined timer? By trying to connect to it, or using rcon, for example.

@gekigek99
Copy link
Member

yes it's definitely doable and I have it in my to-do list...

right now we are experiencing some problems (look at the issues ahah) so probably this feature will only be available next month or so...

so i advise you to keep updated with this rep

p.s. if you notice any bug or problem (either with python or go version) please report it ;)

@gekigek99 gekigek99 added the enhancement New feature or request label Oct 3, 2020
@Br31zh
Copy link
Author

Br31zh commented Oct 3, 2020

Yeah, I looked on the issues, I understand that you have more important things to do. But with an issue we can keep tracking the progression and see what is already on the way ^^

Thanks for your answer.

PS : I prefer Python for now, and using this version, via a systemd service. It’s the best tool to do auto start and stop I tried so far, good job ^^

@gekigek99
Copy link
Member

But with an issue we can keep tracking the progression and see what is already on the way ^^

yep this is why i'll keep it open with the enancement feature tag

It’s the best tool to do auto start and stop I tried so far, good job ^^

good to know! thank you! if you like this rep please leave a star, i'll update you when i implement your feature

@lubocode
Copy link
Contributor

If one wants to be extra fancy, it might be possible to save the last startup duration in the config for ServerStartupTime.
Depending on the implementation of the server status check of course. If it checks once every second, then this might be doable, if it is much slower, the practical advantages over a manually set time might be marginal.

@gekigek99
Copy link
Member

Is i though of that too... Sort of tring to predict how much time till the server is up

It could be a quite interesting small feature

@gekigek99
Copy link
Member

With the addition of minecraft server terminal this should be very easy to implement and much more cleaner than the previous solution...

I will try to make it happen today ;)

@gekigek99
Copy link
Member

this feature was added in fca264a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants