admonition

Bringing a skateboard to school is a great way to get an admonition from a teacher not to ride it down the halls. An admonition is advice with a hint of scolding, a warning not to do something.

When you're cautioned or warned about some mistake you might be just about to make, or some looming danger, you're receiving an admonition. The strength and tone of an admonition determine whether it's a gentle, polite suggestion or more of a stern warning. In Scotland, an admonition is an official legal term that means a verbal punishment for someone who's been found guilty but set free.

Definitions of admonition
1

n a firm rebuke

Synonyms:
admonishment, monition
Type of:
rebuke, reprehension, reprimand, reproof, reproval
an act or expression of criticism and censure

n cautionary advice about something imminent (especially imminent danger or other unpleasantness)

“a letter of admonition about the dangers of immorality”
Synonyms:
monition, warning, word of advice
Types:
deterrent example, example, lesson, object lesson
punishment intended as a warning to others
Type of:
advice
a proposal for an appropriate course of action