Why doesn't it end when the recet in the data file reaches 10?
			if (Passed(playerData[player.userID].recet) <= 10)
				{
			     player.ChatMessage($"Maximum number of times reached");
			     return;
			}

Why doesn't it end when the recet in the data file reaches 10?

		[ChatCommand("mb")]
        private void CmdOpen(BasePlayer player)
        {
            if (!playerData.ContainsKey(player.userID))
            {
                playerData.Add(player.userID, new MainClass());
            }

			if (!permission.UserHasPermission(player.userID.ToString(), "nmui.mb"))
			{
				SendReply(player, "");
				return;
			}

			if (Passed(playerData[player.userID].recet) <= 10)
				{
			     player.ChatMessage($"Maximum number of times reached");
			     return;
			}
		playerData[player.userID].last = Now();
        playerData[player.userID].recet++;
        Server.Command($"{string.Format(Rewards[playerData[player.userID].recet], player.UserIDString)}");
		}

You are checking if Passed is <= 10, not recet.

Qble9YPyseIOkyH.png misticos

You are checking if Passed is <= 10, not recet.

Thanks