public static void start() {
        try {
            serverSocket = new ServerSocket(3333);
            System.out.println("[SERVER] Started");

            waitingForClients = true;

            while(waitingForClients) {
                Socket socket = serverSocket.accept();
                System.out.println("[SERVER] Connected to client");
                Connection connection = new Connection(socket);
                connectionList.add(connection);

                Thread thread = new Thread(connection);
                thread.setName("ijen3D Client Connection");
                thread.start();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }