Skip to content
/SLASHPLAY

How to stop Lua error kicks in GMod

Type sv_kickerrornum 0 in the server console so nobody is kicked for clientside Lua errors; a number above 0 kicks after that many.

sv_kickerrornum

Kicks players after they hit this many clientside Lua errors; 0 never kicks.

sv_kickerrornum <count>

Examples

sv_kickerrornum 0

Never kick for errors.

Arguments

countRequired
Error count before kicking, 0 to disable.

What it does

Useful when broken content floods a player with errors. Usually left at 0, since errors from a faulty addon are rarely the player's fault.

The game's own description: Kick clients if they have this many Lua errors. Set to 0 to never kick.

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.