public static boolean kickClient(Player player, Client adminClient, boolean banUser, boolean banUserAndMac) {
		boolean kik = GameManager.kickClient(player.getName(), adminClient);
		if (kik == false) {
			Client kickedClient = null;
			synchronized(clients) {
				for (Client client : clients) {
					if (client.getPlayerModel().getName().equalsIgnoreCase(player.getName())) {
						kickedClient = client;
						break;
					}
				}
			}
			if (kickedClient != null) {
				logger.info("Kick Player inLobby: " + kickedClient);
				sendAll(new MessageMessage("System",
						"<span style=\"color:red;\">"
								+ kickedClient.getPlayerModel().getName()
								+ " was kicked by <b>"
								+ adminClient.getPlayerModel().getName() + "</b></span>"));
				kickedClient.disconnect();
				kik = true;
			}
		}
		if (kik == false) {
			adminClient.send(new MessageMessage("System",
					"<span style=\"color:red;\"> " + player.getName()
							+ " User is not Online!</span>"));
		} 
		if (banUser == true) {
				player.setBlocked(true);
				try {
				EntityManager entityManager = 
					PersistenceManager.getInstance().getEntityManager();
				EntityTransaction entityTransaction = entityManager
					.getTransaction();
				entityTransaction.begin();	
				entityManager.merge(player);
				entityManager.flush();
				entityTransaction.commit();	
				adminClient.send(new MessageMessage("System","<span style=\"color:red;\">"
													+ player.getName()
													+ " (Account) has been banned!</span>"));
				
				logger.debug("Block for User " + player.getName() + " / "
						+ player.getMac() + " saved.");
			} catch (Throwable t) {
				logger.error("error while saving block for User "
						+ player.getName() + " / " + player.getMac() + " ",	t);
			}
		}
		if (banUserAndMac == true) {
				adminClient.send(new MessageMessage("System","<span style=\"color:red;\">"
						+ player.getName()
						+ " (Mac) has been blacklisted!</span>"));
				
				try {
					EntityManager entityManager = PersistenceManager
							.getInstance().getEntityManager();
					EntityTransaction entityTransaction = entityManager
							.getTransaction();
					entityTransaction.begin();
					BlackList blacklist = new BlackList();
					blacklist.setData(player.getMac());
					entityManager.persist(blacklist);
					entityManager.flush();
					entityTransaction.commit();

					logger.debug("Block for MAC " + player.getName() + " / "
							+ player.getMac() + " saved.");
				} catch (Throwable t) {
					logger.error("error while saving block for MAC "
							+ player.getName() + " / " + player.getMac() + " ",	t);
				}
		}
		return kik;
	}