If you have your own dedicated server, all you need to do start being able to load configs is placing desired configuration files into \tf\cfg\ catalog and that's it - you'll be ready to set up the server. Almost all current leagues are using that trick. It allows you to reduce the amount of lines needed to create all configuration options. Rcon exec etf2l_9v9_kothIf the server contains a file called etf2l_9v9_koth.cfg in the directory /tf/cfg/, then the configuration will be loaded.ĪTTENTION: the command exec can be either used as a part of the config which means configs can load another configs. Usually configs are written with a rule - one variable = one line, but you can combine two commands into one if you divide them by a semicolon ( ), for instance: That can be done through RCON or through direct server console.Īn important thing you have to know is configuration is read line-by-line which means the later the config is read, the later value is used in the config which means if for example config_a sets up mp_winlimit 3, config_b sets mp_winlimit 0 and I execute these files in order config_a, config_b - value from the latest config used will be set in game (which is mp_timelimit 0). When the server operator want to execute specified setup, he can just use a prepared configuration setup saved into a file and when needed - execute it. Configuration s are used to prevent people setting up the server command by command. In the competitive mode server must be configured according to league restrictions, so basically speaking you have to load a config alongside with a respective whitelist, so it will work as one ready setup.
0 Comments
Leave a Reply. |