Trace will be ignore when plugin compiled.
Debug need checked 'enable plugin debug' in PRoCon.
Output can be used anytime and anywhere in pcocon.
public void OnPluginDisable() { Output.Information(string.Format("^b{0} {1} ^1Disabled^n", GetPluginName(), GetPluginVersion())); isEnable = false; // Add some code }
public void OnPluginEnable() { Output.Information(string.Format("^b{0} {1} ^2Enabled^n", GetPluginName(), GetPluginVersion())); /// Add some code isEnable = true; }