Skip to content
/SLASHPLAY

How to save IP bans on a GMod server

Type writeip in the server console to save permanent IP bans to banned_ip.cfg, so they survive a restart.

writeip

Saves permanent IP bans to banned_ip.cfg so they survive a restart.

writeip

Examples

writeip

Save IP bans.

What it does

Execute banned_ip.cfg from server.cfg to load the saved IP bans on startup.

The game's own description: Save the ban list to banned_ip.cfg.

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.