Implemented the autoStart feature into the ServerManager
This commit is contained in:
@ -42,8 +42,10 @@ public class ServerManager {
|
||||
|
||||
servers.forEach(server -> {
|
||||
if (server.getStatus() == ServerStatus.ONLINE) return;
|
||||
startServer(server);
|
||||
if (server.getConfiguration().isAutoStart()) startServer(server);
|
||||
});
|
||||
|
||||
LOG.info("All servers have been started");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user