ME1312 / SubServers-2

SubServers – The Minecraft Server Management Platform
Apache License 2.0
91 stars 23 forks source link

SubServer sorted startup #42

Closed xXSchrandXx closed 5 years ago

xXSchrandXx commented 5 years ago

What Should Be Added

If a server got defined as SubServer: something, the next does start.

Why It Should be Added

It should be added because on some servers the CPU utilization is on 100% when multiple SubServers are starting up...

ME1312 commented 5 years ago

This sort of already exists. Have you tried the Run-On-Launch-Timeout option?

As for priority, at the moment they should be started in the order they appear in config.yml

xXSchrandXx commented 5 years ago

Doesn't the Timeout just affect the SubData connection?

I want to start 2 servers completely until the next 2 are allowed to start.

ME1312 commented 5 years ago

Nah, You might have been thinking of Reconnect (which uses similar time formatting)

Run-On-Launch-Timeout is the time in seconds the auto-start thread should wait before starting the next server. If the server in question connects to SubData at any point during that time the remaining time will be skipped.