public void ShowEveryoneWormholes() { foreach (var WormholeGate in Plugin.Config.WormholeGates) { var description = WormholeGate.Description; var color = "#ff00f7"; if (description == null) { description = ""; } else { description = WormholeGate.Description.Replace("\\n", "\n"); } if (WormholeGate.HexColor != null && WormholeGate.HexColor != "") { color = WormholeGate.HexColor; } try { MyVisualScriptLogicProvider.AddGPSForAll(WormholeGate.Name, description, new Vector3D(WormholeGate.X, WormholeGate.Y, WormholeGate.Z), ColorUtils.TranslateColor(color), 0); Context.Respond("GPS added to everyone's list if it didn't already exist"); } catch { Context.Respond("Error: tell an admin to check the Hexcolor setting make sure it has # at the begining"); } } }