Kartik Scripts

First Setup

Everything is set up in game with /dojadmin (framework admin, or the ace in Config.AdminAce).

1. Jobs

/dojadmin → Jobs: pick which framework jobs are DOJ staff and the manager rank of each. Any job works; labels and grades come from your framework. The starter job doj is selected on the very first start.

GradeStarter job doj
0Court Clerk
1Bailiff
2Public Defender
3Assistant DA
4District Attorney
5Judge
6Chief Justice (boss)

Using your own jobs? Set Config.CreateJob = false in shared/config/jobs.lua.

2. Permissions

/dojadmin → Permissions: tick what every grade may do. The defaults are in Permissions. Managers can also change them later from the tablet.

3. Your courthouse

/dojadmin → Courthouses → open the courthouse and place its points with the freecam. Stand where the point should be, or fly the camera there, and confirm. Points can be moved, renamed and deleted later.

GroupPoints
StaffDuty clock (clock in / out, take a badge), personal lockers, wardrobe (uniforms per grade), boss menu, garage (vehicle list per point, spawn points)
StorageDocument locker, evidence locker (shared per courthouse)
CourtroomSeats (judge, clerk, prosecution, defense, defendant, witness, jury, gallery, per courtroom name), microphones
SecurityMetal detectors, weapon check-in desk, holding cells, doors (ox_doorlock), lockdown button
PublicKiosk, bar exam desk, printers
ScreensDocket board, courtroom screen or Media TV

Give each courtroom a name (for example "Courtroom 1") on its seats, microphones and screens. Sessions, the bench HUD and the courtroom screen follow that name.

The minimum for a working court: a duty clock, a judge's bench seat, a defendant seat and a kiosk. Add the rest as you go.

4. Test it

  1. Give yourself the Judge grade and press F7 (or /doj). Click Go on duty.
  2. Open Cases → New case, then Courtroom → open a session on it while sitting at the bench.
  3. Try the gavel (Home), "All rise" and a verdict.

/dojtutorial shows the tablet tour again.

On this page