This mod was made for a specific youtuber Called ItzBlitz But Also Uploaded Publicily Here
Setup:
use / setcourtroomposition to set Courtroom Position
then use /setJudge <Player> to set a player for a judge
then use /setjailPosition to set jail position (for one of the punishments)
all these commands need op permissions
and then just use /sue <player> <Reason> and the suer, sued and judge will be teleported to the courtroom
and when the judge has decided on the result use the /openverdict to choose guilty or innocent if guilty also choose punishment (fine dosent do anything yet) and the jail one gives the sued weakness 200 and mining fatigue 200
if another player wanna watch the court while in session they just use /tpcourt
and if they wanna leave just use /courtboring
and when a verdict is chosen every player will be teleported back to their pre court position same for the /courtboring command (sued will obvisouly not go back to their pre court position if they've been jailed)