public string Execute() { var list = ServerPlayerMuteSystem.GetMuteList().ToList(); if (list.Count == 0) { return("Mute list is empty"); } return("Muted players:" + Environment.NewLine + list.GetJoinedString(Environment.NewLine)); }
private static IEnumerable <string> GetCharacterNameSuggestions(string startsWith) { return(ServerPlayerMuteSystem.GetMuteList()); }