private boolean onCommandQuery(CommandSender sender, Command command, String label, String cmd, String[] args)
	{
		if (sender.hasPermission(ReplicatedPermissionsPlugin.ADMIN_PERMISSION_NODE))
		{
			String queryPlayerName = getQueryPlayerName(sender, args, 1);
			
			if (!queryPlayerName.equals("CONSOLE"))
			{
				Hashtable<String, ReplicatedPermissionsContainer> playerMods = null;
	
				for (Entry<String, Hashtable<String, ReplicatedPermissionsContainer>> player : this.parent.getMonitor().getPlayerModInfo().entrySet())
				{
					if (player.getKey().equalsIgnoreCase(queryPlayerName))
					{
						playerMods = player.getValue();
						queryPlayerName = player.getKey();
						break;
					}
				}
				
				String reply = "";
				
				if (playerMods != null)
				{
					boolean first = true;
					
					for (Entry<String, ReplicatedPermissionsContainer> modInfo : playerMods.entrySet())
					{
						if (!modInfo.getKey().equals("all"))
						{
							String modName = String.format("%S%s %.2f", modInfo.getKey().substring(0, 1), modInfo.getKey().substring(1), modInfo.getValue().modVersion);
							
							if (!first) reply += ", "; first = false;
							reply += ChatColor.AQUA + modName + ChatColor.RESET;
						}
					}
				}
				else
				{
					reply = ChatColor.YELLOW + "not registered";
				}
	
				sender.sendMessage(ChatColor.GREEN + "Player: " + ChatColor.AQUA + queryPlayerName);
				sender.sendMessage(ChatColor.GREEN + "Mods: " + reply);
			}
			else
			{
				sender.sendMessage(String.format(ChatColor.GREEN + "/%s %s " + ChatColor.AQUA + "<player>", label, cmd));
			}
		}
		else
		{
			sender.sendMessage(ChatColor.RED + "No permission");
		}
		
		return true;
	}