diff --git a/OsuLiveStatusPanel/OsuLiveStatusPanelPlugin.cs b/OsuLiveStatusPanel/OsuLiveStatusPanelPlugin.cs index 61ec9d5..57cede3 100644 --- a/OsuLiveStatusPanel/OsuLiveStatusPanelPlugin.cs +++ b/OsuLiveStatusPanel/OsuLiveStatusPanelPlugin.cs @@ -130,9 +130,18 @@ private void OsuLiveStatusPanelPlugin_onLoadComplete(PluginEvents.LoadCompleteEv } catch (Exception e) { - IO.CurrentIO.WriteColor($"Load dependency plugin failed:{e.Message}", ConsoleColor.Red); + IO.CurrentIO.WriteColor($"[OsuLiveStatusPanelPlugin]Load dependency plugin failed:{e.Message}", ConsoleColor.Red); source = UsingSource.None; } + + if (source==UsingSource.None) + { + IO.CurrentIO.WriteColor($"[OsuLiveStatusPanelPlugin]Init plugin failed,Please check if NowPlayin/OsuRTDataProvider have been exsited your loaded plugins or your config file", ConsoleColor.Red); + } + else + { + IO.CurrentIO.WriteColor("[OsuLiveStatusPanelPlugin]Init OsuLiveStatusPanelPlugin successfully!", ConsoleColor.Green); + } } public void TryRegisterSourceFromMemoryReader(SyncHost host)