Self-hosted Gaming
Tutorials for Dedicated Game Servers View on Github

Operating a TTT instance

Live Configuration§ 

It's possible to easily edit configuration variables, in-game roles and server roles from inside the game! For this to work, make sure to add the ULX mod to your modlist.

The ULX interface allows live-editing of pretty much all configuration variables, assignments and much more.

Disclaimer Configuration values that're changed in this way, won't be persisted and reset to the default values or the values from your configuration file.

Add users to the superadmin group§ 

To be able to use the ULX interface, you need admin permissions. There are two ways to do this, both need access to the server console

While logged in§ 

  1. Log onto the server with your normal player account
  2. While logged in, connect to the shell where your server instance is running
  3. Run ulx adduser $YOUR_USERNAME superadmin.
  4. You should now be superadmin and access the interface via F6.

Without being logged§ 

  1. Find your Steam id. It can be found under Edit Profile -> Custom URL (?). 1.1 If you never set a custom ID, right-click on the Back to your profile link and copy the link. 1.2 Paste that link somewhere, that long weird string inside the link is your steam id. 1.3 (Your steam ID can also usually be seen in the server log, whenever you connect)
  2. Connect to the shell where your server instance is running
  3. Run ulx adduserid $YOUR_STEAM_ID superadmin.
  4. You should now be superadmin and access the interface via F6.

ULX tips§ 

Setting a shortcut for ulx§ 

If you run bind f6 "ulx menu" in the console, just can just press F6 to open it, while on the server!

Live commands§ 

Admin commands§ 

General commands§ 

These can be used by anyone during a game. Note that most of these are either already available under a key or are pretty specific. You don’t need any of this to play the game.

These commands are useful when creating a map, rearm script or working on the code. All of them require sv_cheats to be enabled, so they will obviously not work in normal gameplay.