private void ReadyCommandChat(BasePlayer player, string command, string[] args)
 {
     if (GameStarted)
     {
         return;
     }
     if (RedTeam.Contains(player.userID) && !RedReady.Contains(player.userID))
     {
         RedReady.Add(player.userID);
         BasePlayer.activePlayerList.ForEach(x => SendChatMessage(x, CurrentReady, player.displayName));
     }
     else if (BlueTeam.Contains(player.userID) && !BlueReady.Contains(player.userID))
     {
         BlueReady.Add(player.userID);
         BasePlayer.activePlayerList.ForEach(x => SendChatMessage(x, CurrentReady, player.displayName));
     }
     else if (!RedTeam.Contains(player.userID) && !BlueReady.Contains(player.userID))
     {
         SendChatMessage(player, CurrentChoose);
     }
     if (RedReady.Count == TeamSize && BlueReady.Count == TeamSize)
     {
         BeginGame();
     }
 }
 private void ClearGame()
 {
     PreparationUp      = DefaultPreparationUp;
     GameStarted        = DefaultGameStarted;
     CupBoardRed        = DefaultCupBoardRed;
     CupBoardBlue       = DefaultCupBoardBlue;
     CupBoardRedString  = DefaultCupBoardRedString;
     CupBoardBlueString = DefaultCupBoardBlueString;
     RedTeam.Clear();
     BlueTeam.Clear();
     RedReady.Clear();
     BlueReady.Clear();
     RefreshServerName();
 }
 private void UnreadyCommandChat(BasePlayer player, string command, string[] args)
 {
     if (GameStarted)
     {
         return;
     }
     if (RedReady.Contains(player.userID))
     {
         RedReady.Remove(player.userID);
         BasePlayer.activePlayerList.ForEach(x => SendChatMessage(x, CurrentUnready, player.displayName));
     }
     else if (BlueReady.Contains(player.userID))
     {
         BlueReady.Remove(player.userID);
         BasePlayer.activePlayerList.ForEach(x => SendChatMessage(x, CurrentUnready, player.displayName));
     }
 }
 private void JoinBlue(BasePlayer player)
 {
     if (BlueTeam.Count == TeamSize)
     {
         SendChatMessage(player, CurrentTeamFull);
         return;
     }
     if (RedTeam.Contains(player.userID))
     {
         RedTeam.Remove(player.userID);
         RedReady.Remove(player.userID);
         RedParty.RemovePlayer(player.userID);
     }
     if (!BlueTeam.Contains(player.userID))
     {
         BlueTeam.Add(player.userID);
         BlueParty.AddPlayer(player);
     }
     BasePlayer.activePlayerList.ForEach(x => SendChatMessage(x, CurrentNow, player.displayName, CurrentBlueLower));
 }