@Override
	public void run() {
		console.displayMessage("Server thread started");
		try {
			console.displayMessage("Starting...");
			while (true) {
				for (int i = 0; i < clients.size(); i++) {
					NetworkMessage tmp = clients.get(i).readMessage();
					if (tmp != null) {
						manageMessage(clients.get(i).getID(), tmp);
					}
				}
				Thread.sleep(100);
			}
		} catch (NetworkMessageException ex) {
			console.displayMessage(ex.getMessage());
		} catch (Exception ex) {
			console.displayMessage(ex.getClass() + " " + ex.getMessage());
		}
		console.displayMessage("Server thread stopped");
	}