Tutorial / Settings

Pockets

Set how many things fit in every player's Pockets, how heavy and big they may be, and which things always or never fit.

What it does

Pockets is a weapon every player carries, whatever their job, rank or loadout. It lets a player put a prop in their pocket and take it out again later. This page sets the limits and keeps a whitelist and a blacklist.

Players do not get Pockets while jailed. Pockets are off while DarkRP runs, since DarkRP has its own pocket.

Where to find it

Q menu > KGX's Admin Toolbox > Settings > Pockets.

Anyone can open the page. Only superadmins can change the settings and lists. The lists are loaded for toolbox admins.

The Pockets weapon itself is in the spawn menu under Weapons > ATB. With it out:

  • Left click puts the prop you aim at in your pocket.
  • Right click opens the Pockets window with what is in them.
  • Reload drops the last thing in front of you.

The panel

Checkboxes and the drop-down apply at once. Sliders apply when you click Apply the numbers above.

Settings
Option What it does Default
Everyone carries Pockets Hands Pockets to every player. On
Things that fit Pocket slots per player. 5 (1-30)
Heaviest thing (kg) Weight limit. Whitelisted things always fit. 100 (1-50000)
Biggest thing (units corner to corner) Size limit. Whitelisted things always fit. 80 (8-2000)
Reach (units) How far away you can pocket something. 100 (40-300)
Apply the numbers above Sends the four sliders.
Entities fit too (health kits, printer upgrades, ...), not only props Allows entities as well as props. On
Players may pocket other players' props (admins always may) Off: players only pocket their own props or ownerless ones. Off
Only things on the whitelist fit Turns the whitelist into the only list that fits. Off
When a player dies Keep what is in their pockets, It falls out or It is lost. It falls out
Whitelist

Things on the whitelist always fit, however heavy or big. With Only things on the whitelist fit ticked, they are the only things that fit.

Option What it does
Whitelist list The current entries.
Text box + Add Adds a class, a model, or a start ending in *.
Add the model I am looking at Adds the model of what you aim at.
Add the class I am looking at Adds the class of what you aim at.
Remove the selected entry Removes the selected line.
Blacklist

Things on the blacklist never fit. By default it holds explosive barrels, propane tanks and gas cans. It has the same controls as the whitelist.

Below both lists: Reset both lists to the defaults (asks first) and Refresh the lists.

How to use it

Let players carry more
  1. Open Settings > Pockets as a superadmin.
  2. Raise Things that fit, Heaviest thing (kg) or Biggest thing (units corner to corner).
  3. Click Apply the numbers above.
Block one kind of prop
  1. Aim at the prop in the world.
  2. Under Blacklist, click Add the model I am looking at.
  3. The model no longer fits in anyone's pockets.
Allow only a set of items
  1. Add each allowed model or class under Whitelist. Use models/props_junk/* to cover a whole folder.
  2. Tick Only things on the whitelist fit.
Use Pockets as a player
  1. Switch to Pockets. The HUD shows how full they are, for example Pockets 2 / 5.
  2. Aim at a prop and left-click to put it in.
  3. Right-click to open the window. Click Take out on a row to drop it in front of you, or Eat on food.

Settings and commands

Setting What it does Default Range
kgxat_pockets Everyone carries Pockets 1 0-1
kgxat_pockets_slots Things that fit 5 1-30
kgxat_pockets_weight Heaviest thing (kg) 100 1-50000
kgxat_pockets_size Biggest thing (units) 80 8-2000
kgxat_pockets_reach Reach (units) 100 40-300
kgxat_pockets_entities Entities fit too 1 0-1
kgxat_pockets_others Pocket other players' props 0 0-1
kgxat_pockets_whitelist_only Only the whitelist fits 0 0-1
kgxat_pockets_death 0 keep, 1 falls out, 2 lost 1 0-2

Tips and limits

  • v3.6.15: Pockets cannot be used during a Game Modes match.
  • Never in pockets: players, NPCs, vehicles, weapons, ragdolls, map props and doors, welded or attached things, and anything you could not pick up with the physgun.
  • The toolbox's stores, containers, printers, keypads, buttons, teleporters, vehicle pads, talking NPCs, cameras and cash never fit either.
  • List entries are an entity class (prop_physics), a model (models/props_junk/watermelon01.mdl), or the start of either ending in *. Each list holds up to 200 entries.
  • The lists are saved in data/kgx_admin_toolbox/pockets.json.
  • Pocketed things are kept as a duplicator copy and put back with the duplicator, so spawn limits still count. Pockets last for the visit.

Back to Settings

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