public MapServer(int port) throws IOException {
				
		server = new Server();
		Packets.registerPackets(server.getKryo());
		server.start();
		server.addListener(new ServerListener(server));
		server.bind(port);
		
		System.out.println("Server running at port " + port + "...");
		
	}