Breakdown of Magister discipulis dicit: “Extra scholam currere vobis nunc non licet.”
Questions & Answers about Magister discipulis dicit: “Extra scholam currere vobis nunc non licet.”
Magister is nominative singular because it is the subject of dicit.
So the basic structure is:
magister ... dicit = the teacher says
Latin often marks the job a word is doing by its ending, so magister here is the one doing the speaking.
Because dicere can take the person addressed in the dative:
alicui dicere = to say to someone
So:
magister discipulis dicit = the teacher says to the students
A native English speaker may expect something more like tells the students, but Latin commonly uses dicere with a dative for say to.
Latin can use direct speech just like English:
The teacher says: ...
That is what is happening here. The words after the colon are presented as the teacher’s exact words.
Because it is direct speech, the teacher speaks directly to the students, so inside the quotation we get vobis = to you.