Page 1 of 1

How do I make myself a basic Garrysmod admin?

Posted: Sun Apr 24, 2011 10:17 pm
by Edge100x
You can add yourself as an admin in the server by editing the "garrysmod/settings/users.txt" file. Follow the examples in that file to enter your name and SteamID into either the "superadmin" or "admin" sections, or both. Superadmin will give you the most power in server. You will also need to make sure the line you edit is not commented, by removing any leading slashes.

Here is an example of a complete file:

Code: Select all

"Users"
{
	//
	// This is your users file
	//
	// You can use this file to add people as admins on your server
	// Add them to the relevant section
	//
	// If you're a Lua coder you can add your own sections and use them
	// in your script by doing pl:IsUserGroup( "admin" ) etc
	//

	"superadmin"
	{
		//"garry"			"STEAM_0:1:7099"
		"Bob"		  "STEAM_0:1:1000"
		"Frank"		"STEAM_0:1:0001"

	}
	
	"admin"
	{
		"Tom"	 	"STEAM_0:1:4321"
		"Dave"		"STEAM_0:1:12345678"
		"Paul"		"STEAM_0:1:87654321"
	}

}