How to manage configs - metootem/TF2-Dedicated-Server-Manager GitHub Wiki
This wiki page will explain what you can do with the Configs tab.
1. The layout
Let's go over the objects and buttons available in the first view.
1a. Config file browser.
You can select a config file from ServerFolder/Server/tf/cfg to edit. The circle arrow button to the right refreshes the list.
1b. Row of utility buttons.
From left to right we got:
Add a new line to the config data table. Disabled when selected config file is motd.
Remove the selected line from the config data table. Disabled when selected config file is motd.
Save the edited config file.
- "Clear" Clear the ENTIRE config data table.
- "Load Maps" A special button, which is dependant on the edited config file. Mapcycle: loads all .bsp files from ServerFolder/Server/tf/maps into the config data table. Doesn't duplicate existing ones.
Find a specified value from the first column. Disabled when selected config file is motd.
Create a new config file. You will be prompted to give it a name and select either .cfg or .txt file type.
Reload the currently edited config file. This will remove all unsaved changes.
Open the file in your native text editor.
1c. Config data table.
This is where all the data from selected confir file will be loaded. There are 3 different versions of the config data table dependant on the selected config file: Mapcycle: Data table with only one Column (Map) Motd: Multi-line text editor. Default: Data table with two columns: ConVar and Value.
- ConVar is short for console variable, for example: sv_password or sv_cheats. You can create a "parent ConVar", which is mainly used for sorting. Those are prevalent in server.cfg. The ConVar has to start and end with "//", while also being longer than 4 characters. After that you can select your new "parent ConVar" when creating a normal one. In some config files you may find in the config data table a "//" Convar, hovering your mouse over that will likely reveal an explanation about this config file. Hovering over ConVars can show their own comment.
- Value, as it suggests is the value of the ConVar.
2. The special button.
wip.