As an admin, you can manage your Garry's Mod server directly in the game: kick or ban players, change the map, or grant permissions to other players. The most widely used admin add-on is ULX, together with the ULib library. In this guide, we'll show you how to install both and make yourself a superadmin.
ULX always requires the latest version of ULib, so you'll need to install both add-ons.
The easiest way to install them is through the Steam Workshop. In your game server's management panel, open the Workshop tab and enter both item IDs in the Add Workshop Items section:
| Add-on | Workshop ID |
|---|---|
| ULib | 557962238 |
| ULX | 557962280 |
Then click Add. The changes will take effect the next time the server starts, so restart your server.
If you're already using your own Workshop Collection, you can simply add ULX and ULib to your collection. Find out how to set up a collection in our guide Installing Mods.
Alternatively, download ULX and ULib from the official website ulyssesmod.net or from GitHub (ULX, ULib), then extract the archives on your computer. Upload the ulx and ulib folders in the Files tab or via SFTP to the following folder:
garrysmod/addons
Our guide Access via SFTP shows you how to connect via SFTP.
A full server restart is required after installation. Simply changing the map isn't enough.
You'll need your SteamID to assign permissions. Connect to your server, open the Console tab in the panel, and enter the following command:
status
The output lists all connected players and their SteamIDs in the format STEAM_0:1:12345678. Then, enter the following command in the Console to make yourself a superadmin:
ulx adduserid STEAM_0:1:12345678 superadmin
Replace the SteamID with your own. If you're currently on the server, you can also use your player name:
ulx adduser "Dein Spielername" superadmin
Commands entered in the panel's console are executed by the server with full permissions. That's why you can make yourself a superadmin there without already being an admin.
Superadmin is the highest group in ULX and has access to all commands. By default, there are also the admin, operator, and user groups. You can assign these groups to other players using the same command, for example: ulx adduserid STEAM_0:0:87654321 admin. Use ulx removeuser <Spieler> to remove a connected player's permissions.
In the game, open the ULX menu through the game console with the ulx menu command. In the Groups tab, you can manage groups and players. You can also use all commands as console commands in the form ulx <befehl> or in chat in the form !<befehl>. Get an overview of all commands with ulx help.
| Command | Chat | Description |
|---|---|---|
ulx kick <Spieler> [Grund] | !kick | Kicks a player |
ulx ban <Spieler> [Minuten] [Grund] | !ban | Bans a player (0 minutes = permanent) |
ulx banid <SteamID> [Minuten] [Grund] | !banid | Bans a SteamID |
ulx unban <SteamID> | !unban | Lifts a ban |
ulx map <Karte> [Spielmodus] | !map | Changes the map and game mode |
ulx noclip [Spieler] | !noclip | Toggles noclip for you or other players |