public static void main(String[] args) {
        try {
            InetAddress IP = InetAddress.getByName("localhost");
            Client client = new Client(25565,IP);

            Scanner scanner = new Scanner(System.in);
            String message = "";

            while (!message.equals("STOP")) {
                message = scanner.next();

                switch (message) {
                    case "ping": {
                        client.ping();
                        break;
                    }
                    case "STOP": {
                        client.close();
                        System.out.println("Bye bye!");
                        break;
                    }
                    case "list": {
                        System.out.println("Current connected connections: " + client.connectionList().size());
                        for(ServerConnection conn : client.connectionList() ){
                            System.out.println(conn.uuid);
                        }

                        break;
                    }
                    default: {
                        System.out.println("Invalid input!");
                    }
                }
            }

        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
    }