Пример #1
0
        public string Execute()
        {
            var list = ServerPlayerAccessSystem.GetKickList().ToList();

            if (list.Count == 0)
            {
                return("Kick list is empty");
            }

            return("Kicked players:"
                   + Environment.NewLine
                   + list.GetJoinedString(Environment.NewLine));
        }
 private static IEnumerable <string> GetCharacterNameSuggestions(string startsWith)
 {
     return(ServerPlayerAccessSystem.GetKickList());
 }