Skip to content


You can use user customization files to override specific settings in mastercomfig.

These are autoexec.cfg, which runs at game launch, and the 9 class configs (scout.cfg, soldier.cfg, pyro.cfg, demoman.cfg, heavyweapons.cfg, engineer.cfg, medic.cfg, sniper.cfg, and spy.cfg) which run on switching to a new class. All of these files go into a folder called user you create in tf/cfg.

If you don’t have these files, you can download the mastercomfig template and move the user folder to your tf/cfg/ folder to customize the config.

If there’s something you’d like to run for all of your class configs, you can add it to tf/cfg/user/game_overrides.cfg.

Utility Commands

  • run_modules: Applies modules. Useful for changing module levels in-game, and then applying them all at once.
  • apply_user: Runs user modules, applies modules and then runs user autoexec. Useful for changing your user preferences in-game.
  • restore_preset: Restores modules back to preset defaults, without using user settings.
  • restore_config: Runs all of mastercomfig and user configs again, resetting changes made in-game.
  • version_comfig: Outputs the version of mastercomfig currently being used.
  • switchconsole: Command for toggling console and console output. This is able to reduce the performance impact of console logging when the console is not toggled on.

Network alias

These aliases are used by mastercomfig to apply network settings per class.

You can run them manually in your class config if you play a subclass, like Demoknight or Huntsman.

You can also re-alias them to use your own network settings.

  • net_projectiles: Alias for network settings on projectile classes (Soldier, Pyro, Demoman, Medic).
  • net_hitscan: Alias for network settings on hitscan classes (Scout, Heavy, Engineer, Sniper).
  • net_spy: Alias for network settings on Spy.

Changing your preset

mastercomfig now supports selecting a preset after download. Add a file to your user folder called pre_comfig.cfg. In this file, put your desired preset as preset=preset-name. Preset names are:

  • ultra
  • high
  • medium-high
  • medium
  • medium-low
  • low
  • very-low

Optional Aliases


These steps are entirely optional and are only for advanced customization.

You can change the name of your user/autoexec using the autoexec_c alias and the name of your user/modules.cfg using the modules_c alias. This means your user preferences can have multiple different options, sort of like presets, but for your own preferences! Change these aliases in-game and use the apply_user command to apply your new user selections. This can be used for having different quality choices or game configurations for different scenarios or mood.

You can change the name of your custom class configs using the class_config_classname alias. For example, you can put alias class_config_heavyweapons"exec user/myheavy.cfg" in tf/cfg/user/autoexec.cfg if you want to use the file tf/cfg/user/myheavy.cfg for Heavy.

You can change the name of your custom game overrides config using the game_overrides_c alias. For example, you can put alias game_overrides_c"exec user/mygameoverrides.cfg" in user/autoexec.cfg if you want to use the file tf/cfg/user/mygameoverrides.cfg.

You can also get creative and use the aforementioned aliases to change your class config on the fly using binds or the console. For example, you could have different class configs for Scout in competitive and casual and then change your class_config_scout alias to run your preferred class config when you want.

If you want to run something only the first time you spawn and never run again while you keep the game open use the game_overrides_once_c alias.

Optional User Config Template


These steps are entirely optional and are only for advanced customization.

To get an idea about what to put in your user/autoexec.cfg and select options, you can download the autoexec template from the latest release.

This config is only for advanced, fine-tuned customization and is completely optional. Modules are recommended to be used for easy customization.

Last update: January 22, 2021