background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categories

Garry's Mod Admin Setup (ULX)


This guide covers how to install and configure the ULX admin mod on your Garry's Mod server hosted with Legion Hosting, including installation, granting admin permissions, common commands, and managing permission groups.

Prerequisites: This guide assumes you already have a working Garry's Mod server. If you have not set yours up yet, see the Garry's Mod Server Setup Guide first. You will need SFTP access to upload files. See the SFTP file upload guide if you have not set that up yet.

Table of Contents

  1. Installing ULX and ULib
  2. Granting Yourself Superadmin
  3. Common ULX Commands
  4. Permission Groups
  5. Chat Commands
  6. Configuration Files

1. Installing ULX and ULib

ULX is the most widely used admin mod for Garry's Mod. It requires two addons installed together:

AddonWorkshop IDNotes
ULib 557962280 Required library for ULX. Must be installed first.
ULX 557962238 The admin mod itself. Depends on ULib.

Option A — Workshop Collection (Recommended)

Add both Workshop IDs to your server's Workshop collection. If you already have a collection configured via +host_workshop_collection in GPanel, simply add ULib and ULX to that existing collection on Steam. The server will download them automatically on next restart.

Option B — Manual SFTP Upload

  1. Download both addons from the Workshop or from the Team Ulysses GitHub.
  2. Upload them via SFTP to your server so the folder structure looks like:
garrysmod/addons/ulib/
garrysmod/addons/ulx/

Each folder must contain the addon's lua/ directory directly inside it.

Important: ULX will not function without ULib. Always install both. After installation, restart the server from GPanel.

2. Granting Yourself Superadmin

After ULX is installed and the server has restarted, you need to grant yourself the superadmin rank. Open the server console in GPanel and run:

ulx adduser "YourSteamName" superadmin

If your Steam name contains special characters or spaces, use your 64-bit Steam ID instead for accuracy:

ulx adduserid "STEAM_0:1:12345678" superadmin
Finding your Steam ID: You can find your Steam ID by searching your profile on steamid.io. Use the STEAM_0:X:XXXXXXXX format or the 64-bit 7656119XXXXXXXXXX format.

Once granted, reconnect to the server. You can verify your rank by typing !menu in chat to open the ULX admin GUI.


3. Common ULX Commands

ULX commands can be run from the server console in GPanel, the in-game console, or as chat commands (prefix with !). Below are the most commonly used commands.

Player Management

CommandChat ShortcutDescription
ulx kick "Player" reason!kick Player reasonKick a player from the server
ulx ban "Player" minutes reason!ban Player 60 reasonBan a player (0 = permanent)
ulx unban STEAMID!unban STEAMIDUnban a player by Steam ID
ulx slay "Player"!slay PlayerKill a player instantly
ulx slap "Player" damage!slap Player 10Slap a player for specified damage

Communication Controls

CommandChat ShortcutDescription
ulx gag "Player"!gag PlayerPrevent a player from using voice chat
ulx ungag "Player"!ungag PlayerRestore voice chat for a player
ulx mute "Player"!mute PlayerPrevent a player from using text chat
ulx unmute "Player"!unmute PlayerRestore text chat for a player

Utility Commands

CommandChat ShortcutDescription
ulx noclip "Player"!noclip PlayerToggle noclip (fly through walls)
ulx god "Player"!god PlayerToggle god mode (invincibility)
ulx teleport "Player"!tp PlayerTeleport a player to your crosshair
ulx bring "Player"!bring PlayerTeleport a player to you
ulx goto "Player"!goto PlayerTeleport yourself to a player
ulx return "Player"!return PlayerReturn a player to their previous position
ulx cloak "Player"!cloak PlayerMake a player invisible

4. Permission Groups

ULX uses a group-based permission system. By default, ULX includes these groups, ordered from most to least privileged:

GroupInherits FromTypical Use
superadminadminServer owner. Full access to all commands.
adminoperatorTrusted staff. Can ban, kick, manage players.
operatoruserJunior moderators. Limited moderation commands.
usernoneDefault group for all players.

Managing Users and Groups

// Add a user to a group
ulx adduser "Player" admin

// Remove a user from their group (reverts to "user")
ulx removeuser "Player"

// Create a custom group that inherits from "operator"
ulx groupallow "moderator" "ulx kick"
ulx addgroup "moderator" "operator"

// Grant a specific command to a group
ulx groupallow "admin" "ulx ban"

// Deny a specific command from a group
ulx groupdeny "operator" "ulx ban"

Using the GUI

As superadmin, type !menu in chat to open the ULX admin panel. The Groups tab provides a visual interface for creating groups, assigning permissions, and managing users without console commands.

Tip: Group data is stored in garrysmod/data/ulib/groups.txt and user data in garrysmod/data/ulib/users.txt. These files are automatically managed by ULX, but you can back them up via SFTP.

5. Chat Commands

ULX supports chat-based command shortcuts for quick in-game administration. All commands use the ! prefix by default. Some useful patterns:

Chat CommandEffect
!menuOpens the ULX admin GUI
!motdDisplays the Message of the Day
!kick Player reasonKicks the named player
!ban Player 60 reasonBans for 60 minutes
!hp Player 100Sets a player's health
!armor Player 100Sets a player's armor
Tip: Use @ as a target to apply a command to yourself. For example, !god @ toggles god mode on yourself.

6. Configuration Files

ULX stores its configuration and data in garrysmod/data/ulib/. Key files to be aware of:

FilePurpose
data/ulib/users.txtAll user-to-group assignments and Steam IDs
data/ulib/groups.txtGroup definitions, inheritance, and permissions
data/ulib/bans.txtActive ban list with expiry times
data/ulx/config.txtULX settings (MOTD, welcome message, logging, etc.)
Backup reminder: Before making major changes to your admin setup, download data/ulib/ and data/ulx/ via SFTP as a backup. A misconfigured groups file can lock out all admins.

Related Articles


Need help? If you run into issues with ULX or admin permissions, open a support ticket and include your server IP and a description of the problem.

T'ha estat útil aquest article?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.