These lines are called comments (comments to help you know wich option is where for faster editing) and you begin a comment line by putting two frontslashes just like this: You can see that the lines that start with // contain phrases after. Let's try to understand this file by disection. disable clients' ability to pause the server This config file is executed on server start. Use this file to configure your DEDICATED server.
![steam cs 1.6 config file steam cs 1.6 config file](https://1.bp.blogspot.com/-2OS8UeM6-xs/UGIEQmeKyiI/AAAAAAAAAQI/0sys6DidPgY/s1600/105409_mundoimg__sin_titulo_2.jpg)
Let's open up this file and see what we get: This is where the real fun begins! The server.cfg file allows to configure your server using CVARS, which are basically variable or in other terms, options. Remember that this file is limited to 1KB of space and HTML may not contain any Flash nor JavaScript.
#Steam cs 1.6 config file code#
If you don't want to use HTML code for your message, simply write it in plain text and it will work. Remember that you can always use a WYSIYWG (what you see is what you get) editor to create your code.
![steam cs 1.6 config file steam cs 1.6 config file](https://media.moddb.com/images/downloads/1/204/203097/tf2_2020-11-03_13-59-21-455.jpg)
HTML may seem complicated but there are a lot of tutorials for beginners (search on Google!). A non HTML motd.txt would look like this:īut a HTML enabled motd.txt may contain HTML code with colors like this: But that's supported only in a couple of games (Counter-Strike and Day of Defeat). There's a cool new feature in 1.6 that allows you to put HTML code. Motd.txt file contains the message of the day! This is the introduction screen when somebody joins your server.
#Steam cs 1.6 config file install#
Remember that you need to install these maps first (later in the guide). Here's how custom maps would appear on the list: And if you ever install custom maps you can add those to the list. To make your server more popular, leave only the popular maps on the list. If you supply the default map, after the time is finished it will load the first map from the list and so on. If you do use the GUI or instructed the server to start with a map then the server will load the first map on the list during the mapchange. This means that if you boot your server with no default map (that means putting no -map MAPGOESHERE parameter) your server will then load the first map on the list and will go on like that in order. If you've played Counter-Strike a bit you probably guessed that this is a map list, and you're right! This is the map rotation list for the server. Open the file in a simple text editor such as Notepad and this is what you should see: Let's get started by editing the first file which is mapcycle.txt. In C:\HLServer\cstrike if you're running a dedicated server and in C:\Program Files\Steam\SteamApps\YOUR EMAIL\counter-strike\cstrike if you're on Steam. These important files are placed in the mod's directory. Please note that I'm going to be using the Counter-Strike game's files as example throughout this website (Why? 1.
![steam cs 1.6 config file steam cs 1.6 config file](http://cnmopla.weebly.com/uploads/1/3/3/2/133260631/459134626_orig.jpg)
Not really a configuration but more a customisation. The message of the day file (the screen that's displayed when you join a server). The main configuration file that contains configuration variables (CVAR) and also commands to run other files configuration files. The file which contains the rotation cycle order for your maps. The configuration is mainly done in three different files: Now that you got your server running all properly, it's time to customize and configure it.