How To Create CS1.6 Online Private Dedicated Server counter strike 1.6 server counter strike 1.6 serial counter strike download counter strike wallhack counter strike aimbot counter strike download counter strike bots cs 1.6 bot cs 1.6 bots free counter strike download counter strike non steam cs 1.6 counter strike 1.5 download free counter strike counter strike game download counter strike server counter strike v1 6 How To Create CS1.6 Online Private Dedicated Server: configs.ini - Configuration menu

Monday, January 26, 2009

configs.ini - Configuration menu

configs.ini - Configuration menu

The configs.ini file in your addons\amx\config folder contains a list of config files on your server that may be run from the Configuration Menu. This is enabled by using the amx_cfgmenu command and can be useful when starting a match, or for any special requirements you have. This is what the default configs.ini looks like:
; Menu configuration file
; File location: $moddir/addons/amx/config/configs.ini
; To use with Commands Menu plugin

; NOTE: By default in all settings the access level is set to "u".
; However you can change that, to limit the access to some settings.

; Commands Menu:
; <> <> <> <>
; "a" - execute from server console
; "b" - execute from admin console
; "c" - execute on all clients
; "d" - back to menu when executed

"PUBLIC Settings" "servercfgfile server.cfg;exec server.cfg" "a" "u"
"Clanbase" "exec clanbase.cfg;servercfgfile \'\'" "a" "u"
"Clanbase Charges Only" "exec clanbase_co.cfg;servercfgfile \'\'" "a" "u"
"Official CAL Match" "exec cal.cfg;servercfgfile \'\'" "a" "u"
"ProvingGrounds Server Config" "exec leagues/pg.cfg;servercfgfile \'\'" "a" "u"
"OGL CS Server Config" "exec ogl.cfg;servercfgfile \'\'" "a" "u"
"OGL CS FF Server Config" "exec ogl_ff.cfg;servercfgfile \'\'" "a" "u"
"OGL CS Advanced Server Config" "exec ogl_adv.cfg;servercfgfile \'\'" "a" "u"

(Note that a semi-colon ; was inserted at the beginning of some lines. This prevents them from being used.)

Adding additional entries to this menu should be the same as the lines in this file. Just change the name field and the file name (path too if applicable) to meet your need. Lets say you wanted to try out some deathmatch style maps in Counter-Strike, and edited a small config that had cvars in it to turn off the freeze time, friendly fire, and some other things. If this config was called deatchmatch.cfg, this is what the entry would look like in the config:
"CStrike Deathmatch" "exec deathmatch.cfg;servercfgfile \'\'" "a" "u"

This menu is accessed in the game by typing amx_cfgmenu in the console. Or by binding a key to that command. The menu will show up on the left side of your screen while playing. It looks like this:
Configs Menu
1. PUBLIC Settings
2. Clanbase
3. Clanbase Charges Only
4. Official CAL Match
5. ProvingGrounds Server Config
6. OGL CS Server Config
7. OGL CS FF Server Config
8. OGL CS Advanced Server Config


0. Exit
1/1

Just select the number of the config you want to be exec'd and that's it. Any changes made to the configs.ini file will show up after the next map change or server restart.

No comments: