public static void main(String args[]) {
        int run = 1;
        GameServer server = new GameServer(Integer.parseInt(args[0]), Integer.parseInt(args[1]), Integer.parseInt(args[2]));
        for (int i = 0; i < server.getMaxPlayers(); i++) {
            server.getPlayerKeys().add(args[i + 3]);
            server.getPlayerValid().add(false);
        }
        File file = null;
        try {
            file = new File("player-data.txt");
        } catch (Exception e) {
            System.out.println("LOL NO FILE");
        }
        BufferedReader reader = null;
        try {
            reader = new BufferedReader(new FileReader(file));
            for (String message; (message = reader.readLine()) != null;) {
                ArrayList<String> messages = new ArrayList<String>();
                String data = "";
                for (char n : message.toCharArray()) {
                    if (Character.toString(n).compareTo(",") == 0) {
                        messages.add(data);
                        data = "";
                    } else {
                        data += n;
                    }
                }
                server.socket_data.put(messages.get(0), new SocketData(messages.get(0), messages.get(1), Integer.parseInt(messages.get(2)), Integer.parseInt(messages.get(3)), Integer.parseInt(messages.get(4))));
            }
        } catch (Exception e) {

            while (run == 1) {
                // Block while awaiting connections. When a connection is made create a new SocketThread and start the thread
                // Only accept new connections until all players have connected and have been validated
                if (server.getReady() == false) {
                    try {
                        server.listen();
                    } catch (IOException ex) {
                        System.out.println("Could not listen");
                    }
                } // Once all players are validated begin running the standard game loop, checking for win conditions and keeping players updated
                else {
                    System.out.println("HOT DAM EVERYONE'S CONNECTED");
                }
            }
        }
    }