Skip to content
/SLASHPLAY

How to change your GMod server name

Type hostname "My Sandbox Server" in the server console. Put the same line in server.cfg so the name survives restarts.

hostname

Sets the server name shown in the Garry's Mod server browser and scoreboard.

hostname <name>

Examples

hostname "My Sandbox Server"

Set the browser name.

Arguments

nameRequired
Server name, in quotes if it has spaces.

What it does

Put it in garrysmod/cfg/server.cfg so the name survives restarts. Wrap names that contain spaces in quotes.

The game's own description: Hostname for server.

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.