Become an admin in Garry's Mod
With the two addons ULX and ULib you can manage permissions on your Garry's Mod server and make yourself an admin.
Collection
When you build your collection for your server, you need to add the two addons ULX and ULib as well.
Afterwards restart your server to activate the changes.
Become admin
Via console
- Open the console of your server
- Depending on the server you have to log in first
rcon_password <password>
- Then add yourself as admin
ulx adduser <username> superadmin
- We recommend to restart the server once
- Now check in game if you have admin rights
Via FTP
- Connect to your Garry's Mod server via FTP
- Open the file under
garrysmod/settings/users.txt
- Search in the file for the
superadmin
section- There you should see the following example entry
//"garry" "STEAM_0:1:7099"
- There you should see the following example entry
- Replace
garry
with your username andSTEAM_0:1:7099
with your Steam Id- Make sure that you copy the
Steam id
and not theSteam64 Id
- Make sure that you copy the
- At last remove the two slashes
//
in front so that the entry is no longer commented out - Finally save the file and (re)start your server
- Now check in the game if you have admin rights