How to change the ragdoll limit in GMod
Type sbox_maxragdolls 5 in the server console to cap each player at 5 ragdolls, which are heavier than props; -1 lifts the cap. The default is 10.
sbox_maxragdolls
Sets the maximum number of ragdolls each player can have spawned at once on a Sandbox server.
sbox_maxragdolls <count> Examples
sbox_maxragdolls 5 Fewer ragdolls, since each one costs more physics time than a prop.
sbox_maxragdolls -1 No limit. Only sensible on small private servers.
Arguments
countRequired- Maximum ragdolls per player.
What it does
Caps how many ragdolls a single player can own at the same time. When a player reaches the cap, Sandbox shows a limit message and refuses to spawn more until they remove some. Ragdolls are several physics objects joined together, so each one is heavier on the server than a single prop.
The game's own description: Maximum ragdolls a single player can create
Good to know
- A negative value such as -1 removes the limit, and 0 blocks spawning entirely.
- Limits are not applied in single player.
- The limit counts per player, so the server total can be this value times the player count.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to garrysmod/cfg/server.cfg. New to this? Start a GMod server first.
Your own
GMod server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.