Tutorial / Settings

Police & Crime

Server settings for the police batons, handcuffs, security cameras, pickpocketing, the Door Explosive, Poop and cigarettes.

What it does

This page holds the server settings for the toolbox's police and crime gear. That gear is in the spawn menu under Weapons > ATB: Police Jail Baton, Admin Jail Baton, Handcuffs, Door Explosive, Poop and Cigarettes. Pickpocketing is done with Hands.

Jobs get the matching abilities (Police, Pickpocket and Hobo) in Settings > Jobs. Police gear works for jobs with the Police ability and for toolbox admins.

Where to find it

Q menu > KGX's Admin Toolbox > Settings > Police & Crime.

Anyone can open the page. Only superadmins can change the settings.

Related places:

  • Police jails: Functions > Jail. Open a jail location's settings and tick "Police jail".
  • Cameras: Building > Cameras. The remote control key is set in Utilities > Cameras.
  • Cigarette Machine: spawn menu > Entities > ATB.

The panel

Checkboxes apply at once. Every slider applies when you click Apply the numbers above at the bottom.

Batons
Option What it does Default
Seconds in jail (baton, handcuffed players dropped in a jail) Jail time from the Police Jail Baton or a drop in a jail. 180 (10-7200)
The Police Jail Baton only jails handcuffed players Requires handcuffs before a Jail hit works. Off
Police may jail and handcuff toolbox admins Lets police act on admins. Off
No police jail free: jail where they stand (off: refuse) Fallback when every police jail is taken. Off
Police Jail Baton: pick the police jail after the hit (off: nearest one) Officer chooses the jail. On
Damage of one hit in Beat mode Baton damage. 10 (0-200)
Police Jail Baton: Release mode (v3.6.21.5) Reload switches Jail / Beat / Release. In Release, a hit lets out a player the police jailed (with the Police Jail Baton or by handcuff drop); players jailed by admins stay, even in a police jail ("only an admin can let them out"). Kept over a map change. The hit reaches through the cell bars. Off: no Release mode. On
Admin Jail Baton: Release mode (v3.6.21.5) The same for the Admin Jail Baton: any jailed player below your rank. Logged in the Action log (also an admin using the Police Jail Baton). On
Cameras
Option What it does Default
Security Monitors all police together may have Server-wide limit (0 = police cannot have any). 5 (0-50)
Camera TVs further away than this show no picture Distance in units. 1500 (300-6000)
Picture updates per second on camera TVs Frame rate of camera TVs. 15 (2-30)
Cameras can be turned with the remote control (arrow keys) Remote turning for those who may control a camera. On
Handcuffs
Option What it does Default
Handcuffs work Master switch. On
Seconds until they come off by themselves (0 = never) Auto release time. 600 (0-7200)
Walking speed while handcuffed (%) Percent of normal speed. 60 (10-100)
Police drag handcuffed players by holding E on them Dragging. On
Handcuffed players may try to break free (reload: minigame) Escape minigame. On
Good hits needed to break free Minigame hits. 6 (1-30)
Least seconds in handcuffs before breaking free Minimum time cuffed. 20 (0-600)
Pickpocketing (Hands, crouch, right click a player)
Option What it does Default
Pickpocketing on Master switch. On
Only jobs with the Pickpocket ability (off: everyone) Limits it to Pickpocket jobs. Off
Share of the victim's wallet taken (%) Percent taken on success. 15 (1-100)
Most money taken at once (0 = no limit) Cap per success. 500 (0-1000000)
Good hits the minigame needs Minigame hits. 3 (1-10)
Seconds before the same thief may try again Cooldown. 60 (0-3600)
A victim who notices is told who it was Names the thief on a failed try. On
How it works Timing minigame; The chance: stay crouched next to them for a few seconds, then the shown chance is rolled; Minigame, then the chance. The chance
Base chance (%; the job skill multiplies it) The starting chance. 50 (1-100)
Chance added behind the victim (%) Behind them (they look away). 20 (0-100)
Chance taken away when the victim looks at the thief (%) In front of them. 25 (0-100)
Chance taken away while the victim moves (%) Walking or running victims. 10 (0-100)
Seconds crouched next to them before the chance Moving away, standing up or the victim dying fails it. 2 (0-15)
Crouch HUD While crouched (and allowed to pick pockets): an eye above the weapon's control hints (open and red = a player nearby looks at you, closed = unseen), how cloaked you are, and on the aimed player within reach their name, your chance (5-95%), the wait and a progress bar. Never what is in their pockets or their money. On
Show the crouch HUD on my game Each player can hide it (kgxat_pickpocket_hud_show). On
Crouch cloak
Option What it does Default
Crouching (moving slowly) makes players see-through The cloak on. Off
Only jobs with the Pickpocket ability (and admins) Limits it to Pickpocket jobs. On
Visibility when fully cloaked 0 = invisible, 255 = not see-through. 70 (0-255)
Seconds crouched before the cloak starts Crouched and slow (walking crouched is fine). 1.5 (0-10)
Seconds the cloak takes to fade in From visible to the visibility above. 1 (0-10)
Chance added to a pickpocket while fully cloaked (%) Part of it while fading in. 15 (0-100)
More invisible while creeping (%) Creeping = crouched and slower than crouch walking (slow walk / Alt held, or standing still): the cloaked visibility drops by this share, eased in over half a second. E.g. visibility 70 and 50% = 35 while creeping. 50 (0-100)

Standing up, moving fast, getting into a vehicle, attacking or getting hurt ends the cloak at once; a noticed pickpocket starts it over.

Door Explosive
Option What it does Default
Seconds until it goes off Countdown. 10 (3-120)
Works on any lockable door (off: property doors only) Door types it works on. Off
The door's owner and the police are told Alert when placed. On
Poop
Option What it does Default
Only jobs with the Hobo ability (and admins) can use Poop Limits Poop to Hobo jobs. On
Seconds between two poops Cooldown. 15 (0-600)
Seconds sick after eating poop Sickness time. 15 (1-120)
Health lost every 3 seconds while sick (never below 1) Sickness damage. 4 (0-100)

Poop stays with whoever makes it: a thrown or dropped poop cannot be put in Pockets, carried with E or pushed with the gravity gun, the Poop weapon cannot be thrown away with Throw Equipped, and only players who may use Poop pick a dropped Poop weapon up (walking over it or with Pickup Equipped).

Players pooping by themselves on a timer, how long a poop stays on the ground, and E on a poop (eat it, pick it up or pick it up and hold it): Settings > Gameplay > Poop.

Cigarettes
Option What it does Default
Price of a pack at a cigarette machine Pack price. 50 (0-1000000)
Puffs in a pack Puffs per pack. 20 (1-500)
Health per puff Healing per puff, up to max health. 1 (0-100)
Apply the numbers above Sends every slider on the page.

How to use it

Arrest a player as police
  1. Take the Handcuffs and left-click the player to cuff them. Right click uncuffs.
  2. Hold E on the cuffed player to drag them.
  3. Let go inside a jail. Choose Jail them here or Just let go (they stay handcuffed).
  4. Or take the Police Jail Baton, press reload to switch to Jail mode, and left-click the player.
Let a prisoner out with the baton (v3.6.21.5)
  1. Take the Police Jail Baton (or the Admin Jail Baton) and press reload until the mode reads Release.
  2. Left-click the jailed player, also through the cell bars. They are let out.
  3. With the Police Jail Baton this works on players the police jailed; others need an admin.
Set up police jails
  1. Open Functions > Jail and make a jail location.
  2. Open its settings and tick "Police jail".
  3. Jail hits now send players there for Seconds in jail seconds.
Pick a pocket as a player
  1. Take out Hands and crouch. The crouch HUD shows the eye: closed means nobody nearby looks at you.
  2. Get behind a player and aim at them: their name and your chance show under the crosshair.
  3. Right-click the player.
  4. The chance (default): stay crouched next to them until the bar fills; then the chance decides. Timing minigame: left-click while the marker is inside the green zone (right click stops); enough good hits take the money.
  5. Success takes part of their wallet. A failure warns the victim.
Break free of handcuffs
  1. Press reload while handcuffed.
  2. Left-click each time the marker is in the green zone, until you reach the needed hits.

Settings and commands

Setting What it does Default Range
kgxat_police_jail_time Jail seconds 180 10-7200
kgxat_police_jail_cuffed Baton jails only cuffed players 0 0-1
kgxat_police_jail_admins Police may jail admins 0 0-1
kgxat_police_jail_here Jail where they stand if no jail is free 0 0-1
kgxat_police_jail_pick Officer picks the jail 1 0-1
kgxat_baton_damage Beat damage 10 0-200
kgxat_police_baton_release Police Jail Baton has a Release mode 1 0-1
kgxat_admin_baton_release Admin Jail Baton has a Release mode 1 0-1
kgxat_camtv_police Police Security Monitors 5 0-50
kgxat_camtv_range Camera TV range 1500 300-6000
kgxat_camtv_fps Camera TV frame rate 15 2-30
kgxat_cam_remote Remote control 1 0-1
kgxat_cuffs Handcuffs work 1 0-1
kgxat_cuffs_max Auto release seconds 600 0-7200
kgxat_cuffs_speed Cuffed speed % 60 10-100
kgxat_cuffs_drag Drag with E 1 0-1
kgxat_cuffs_escape Escape minigame 1 0-1
kgxat_cuffs_escape_hits Hits to break free 6 1-30
kgxat_cuffs_escape_time Seconds before escape 20 0-600
kgxat_pickpocket Pickpocketing on 1 0-1
kgxat_pickpocket_jobs Only Pickpocket jobs 0 0-1
kgxat_pickpocket_percent Wallet share % 15 1-100
kgxat_pickpocket_max Most money per try 500 0-1000000
kgxat_pickpocket_hits Minigame hits 3 1-10
kgxat_pickpocket_cooldown Retry cooldown 60 0-3600
kgxat_pickpocket_name Victim told who 1 0-1
kgxat_pickpocket_method 0 = minigame, 1 = the chance, 2 = minigame then the chance 1 0-2
kgxat_pickpocket_chance Base chance % 50 1-100
kgxat_pickpocket_behind Chance added behind 20 0-100
kgxat_pickpocket_facing Chance taken when looked at 25 0-100
kgxat_pickpocket_moving Chance taken while the victim moves 10 0-100
kgxat_pickpocket_time Seconds next to them (the chance) 2 0-15
kgxat_pickpocket_hud Crouch HUD 1 0-1
kgxat_sneak_cloak Crouch cloak 0 0-1
kgxat_sneak_cloak_jobs Cloak only for Pickpocket jobs 1 0-1
kgxat_sneak_cloak_alpha Visibility when cloaked 70 0-255
kgxat_sneak_cloak_delay Seconds before the cloak 1.5 0-10
kgxat_sneak_cloak_fade Seconds to fade in 1 0-10
kgxat_sneak_cloak_bonus Chance added when cloaked 15 0-100
kgxat_sneak_cloak_creep % more invisible while creeping 50 0-100
kgxat_doorcharge_time Explosive countdown 10 3-120
kgxat_doorcharge_any Any lockable door 0 0-1
kgxat_doorcharge_alert Owner and police told 1 0-1
kgxat_poop_hobo Only Hobo jobs 1 0-1
kgxat_poop_cooldown Seconds between poops 15 0-600
kgxat_poop_sick_time Sick seconds 15 1-120
kgxat_poop_sick_damage Sick damage per 3 s 4 0-100
kgxat_cig_price Pack price 50 0-1000000
kgxat_cig_puffs Puffs per pack 20 1-500
kgxat_cig_heal Health per puff 1 0-100

Tips and limits

  • Admins can never be pickpocketed.
  • The job skill "Pickpocketing (Hands)" makes the green zone bigger and the marker slower.
  • Handcuffed players hold Hands only. They cannot use, pick up or switch anything, or use the tool gun or physgun.
  • The Admin Jail Baton is admin only and asks where to jail.
  • Release mode (v3.6.21.5): both batons can let jailed players out (a setting for each). They get their weapons back and, when set, go back where they were, as with any release.
  • The Door Explosive is sold as a black market shipment. Police and the door's owners defuse it with E.
  • Police buy Security Monitors in a store (Police Supply preset) and pick a police camera with E.
  • To test alone, use a Test Dummy: handcuff and drag it, Shift + right-click it for "Try to break free of the handcuffs", or give it money and pickpocket it.

Back to Settings

Type to search every tool, panel, setting, FAQ answer and release.