I think it would be a nice feature if this plugin can also search quarry's from players. I already managed to get this working, but I figured it might be interesting to post it here as well if it's something you decide to add to the plugin.
case "q":
case "quarry":
var qq = Resources.FindObjectsOfTypeAll<MiningQuarry>().Where(x => x.OwnerID == targetID).ToList();
if (qq.Count == 0)
{
returnstring += Lang("NoBuildings", player.UserIDString);
}
foreach(var q in qq)
{
if (q.canExtractLiquid)
d.AddFind("Pumpjack", q.transform.position, string.Empty);
else
d.AddFind("Quarry", q.transform.position, string.Empty);
}
break;
default: