@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
	public void onEntityDamage(EntityDamageEvent event) {
		Entity entity = event.getEntity();
		if (entity instanceof Player && ((Player)entity).isOnline()) { // player taking damage
			xAuthPlayer xp = plyrMngr.getPlayer(((Player)entity).getName());
			if (plyrMngr.isRestricted(xp, event) || plyrMngr.hasGodmode(xp, event.getCause()))
				event.setCancelled(true);
		}

		if (event instanceof EntityDamageByEntityEvent) { // player dealing damage to other entity
			EntityDamageByEntityEvent edbeEvent = (EntityDamageByEntityEvent) event;
			Entity damager = edbeEvent.getDamager();
			if (damager instanceof Player) {
				xAuthPlayer player = plyrMngr.getPlayer(((Player)damager).getName());
				if (plyrMngr.isRestricted(player, edbeEvent)) {
					plyrMngr.sendNotice(player);
					event.setCancelled(true);
				}
			}
		}
	}