Question: what is the meaning of you better be?
Answer: It means "you should if you know what's good for you" Between friends it suggests the friend expects the subject to do something. In a hostile situation, the speaker is threatening punishment if the subject doesn't do something. See a translation.