/// <summary> /// Called when the server receives a success message /// </summary> /// <param name="console">The server GUI - provides access to the underlying server process</param> /// <param name="message">The success message</param> public void OnSuccessMessage(IServerConsole console, ServerSuccessMessage message) { foreach (IPlugin plugin in Enabled) { try { plugin.OnSuccessMessage(console, message); } catch (Exception ex) { console.DisplayLine($"Error in method OnSuccessMessage for plugin {plugin.Name}: {ex}", red); } } }
public void OnSuccessMessage(IServerConsole console, ServerSuccessMessage message) { }