public static void LoadPlayers() { lock (BannedPlayerManagerCustomGameServer._bannedPlayersWriteLock) { StreamReader streamReader = new StreamReader("bannedUsers.txt"); while (streamReader.Peek() > 0) { string[] strArray = streamReader.ReadLine().Split('\t'); PlayerId key = PlayerId.FromString(strArray[0]); string str = strArray[1]; BannedPlayerManagerCustomGameServer._bannedPlayers[key] = new BannedPlayerManagerCustomGameServer.BannedPlayer() { PlayerId = key, PlayerName = str, BanDueTime = 0 }; } streamReader.Close(); } }