V0.10.0.1: Eco

It alerts you when a farm plot needs water or fertilizer, and optionally logs the data to a chat channel or a file for later review. 1. Create the file: EcoServer/Mods/AutoFarmMonitor.cs

public static AutoFarmMonitor Obj; public Dictionary<User, List<FarmPlotObject>> PlayerPlots = new(); Eco v0.10.0.1

[ChatCommand("Check all farm plots", ChatAdminLevel.User)] public static void CheckFarms(User user) var plots = WorldObjectUtil.GetObjectsOfType<FarmPlotObjectEntity>() .Where(p => p.Owner == user).ToList(); It alerts you when a farm plot needs

Here’s a for Eco v0.10.0.1 — an Auto-Water & Fertilizer Monitor for farming in Eco. public FarmPlotObject(FarmPlotObjectEntity entity

public FarmPlotObject(FarmPlotObjectEntity entity, User owner) Entity = entity; Owner = owner; public FarmPlotObjectEntity Entity get; set; public User Owner get; set; public float WaterLevel => Entity.WaterLevel.Normalized; public float FertilizerLevel => Entity.FertilizerLevel.Normalized;

public void CheckPlots() foreach (var user in PlayerPlots.Keys.ToList()) p.FertilizerLevel < 0.5f).ToList(); if (badPlots.Any()) ChatManager.ServerMessageToPlayer($"⚠️ badPlots.Count of your farm plots need attention (water or fertilizer).", user);