diff --git a/src/Server/Server.java b/src/Server/Server.java new file mode 100644 index 0000000..af18d01 --- /dev/null +++ b/src/Server/Server.java @@ -0,0 +1,18 @@ +public class Server { + private String name; + + public Server(String name) { + this.name = name; + } + + public void start(ServerConfig c) { + if (c != null && c.isEnabled() && c.canCommunicate()) { + System.out.println(name + " is starting..."); + } + } + + public static void main(String[] args) { + Server server = new Server("MainServer"); + server.start(); + } +}