These are the custom variables defined on the server by ClanMod
cm_adminhelpfile <filename>
Sets the file displayed when the cm_help command is executed by an admin. By default, this is set to "clanmod/adminhelp.txt".
cm_autoexec <server command>
Sets a command that will be executed when each new map starts.cm_configpath "<path to clanmod configs>"
Sets the path for cm_exec command, and the path that Clanmod loads its own configs from on server startup. Changing the value of this cvar is ONLY for extremly advanced adminscm_banlist <0/1/2/3>
Sets how ClanMod will load the banlist to the Unban menu. Valid options are:
- 0 Disable banlist loading
- 1 Sort banlist from lowest to highest
- 2 Sort banlist from highest to lowest
- 3 Don't sort the banlist.
Note: This feature may cause longer map changes.
cm_banlistfile <filename>
Sets the file where admin bans will be logged. By default, this is set to "clanmod/banlist.txt". The format of the banline is set using the cm_string command with index 44, which is by default set in the titles.cfg file. To disable ban logging, set this cvar to "".cm_botscmds <0/1>
Will allow you to kick/slap bots via the clanmod menu, this MIGHT make the server more unstable. Use with carecm_chatfilter <1/2/0>
Sets up the chat filter as follows:
- 0 Chat filter is disabled
- 1 Words in say and say_team messages that have been defined using the cm_word command will be replaced with "*". Also, players with names that contain words defined by the cm_word command will be auto-kicked.
- 2 If any part of a say or say_team message contains a word that has been defined using the cm_word command, then the entire statement will be replaced with a statement chosen randomly from those defined by the cm_whine command. Also, players with names that contain words defined by the cm_word command will be auto-kicked.
cm_chatspeed <float>
This is the amount of time in seconds that players must wait between say/say_team statements. If they speak more quickly than this, then anti-flood protection is enabled.
cm_clientcmd <1/0>
Enables/disables the ability to execute commands on client computers as follows:
- 0 Client commands disabled
- 1 Client commands enabled
cm_conmotdfile <filename>
Sets the file displayed in the player console when the player connects to the server. By default, this is set to "clanmod/conmotd.txt".
cm_freeslots <number>
Sets the number of reserved slots for admins. See cm_reservation for more details.cm_noinfomenu <1/0>
This cvar will disable the informasjon menu in clanmod when enabled, it is needed in mods like AHL and firarms that does not support motd boxes.cm_highlander <1/0>
Enables/disables "highlander" mode as follows:
- 0 Highlander mode disabled; all admins have regular abilities
- 1 Highlander mode enabled; only admin with lowest index on admin list can use ClanMod abilities.
cm_kickvoteratio <float>
Sets the ratio of "Yes" votes required in order to kick somebody. Being a ratio, 0.5 = 50%, 1.0 = 100%, etc.
cm_loadconfig <0/1>
Sets when ClanMod will re-load the config files. Valid options are:
- 0 Only load the configs once
- 1 Load the configs on every map change
cm_mapvoteratio <float>
Sets the ratio of votes for a given map that is required in order for that map to win a voting session. Being a ratio, 0.5 = 50%, 1.0 = 100%, etc.
cm_menulayout <menu1:menu2>
Sets the menu layout. By default, this is set to:
"ABCD1EQ1HLM1J:ING1OPR1TU"
This cvar is set in the clanmod.cfg file and should be set before any admin accounts are defined. Do not modify this unless you are certain you understand what you are doing. Valid values for menu options are:
A slap menu I settings Q client cmd
B kick menu J clanmodmenu2 R screen shot
C ban menu K close voting S record demo
D unban menu L vote map T clanmodmenu
E teleport menu M vote kick U exit clanmodmenu
F ClanMatch N Configurations 1 blank option
G Information O custom cmd 4 0 skip option
H changelevel P custom cmd 5
cm_menulevel <admin level>
Keeps admin level for menu options. By default set to "ABCQ1FHIG01J:LM1NOPE0RS1T" (levels) and assigned to "ABCDEFGHIJKLMNOPQRSTU" (menu chars). "0" means that option doesn't depend on admin level. Don't modify if not sure how it works.
cm_motdtime <float>
Sets how often (in minutes) that messages set by server command "cm_motd" should appear on the client screens.
cm_msgpos <0/1/2>
Sets the position of notify messages (voting, using teleport, client commands etc.). Valid options are:
- 0 turn off
- 1 at top
- 2 at bottom
cm_msgtime <float>
Sets the amount of time (in seconds) that admin text should be displayed.
cm_nextmap <mapname>
Sets the next map to be loaded after timelimit is reached.
cm_passwordfield <name>
Sets the name of the setinfo variable used by the client to authenticate to ClanMod. By default, this is set to "_cm_pw".cm_teamadminonly <0/1>
This cvar controls if non admins should be able to send admins messages, if cm_teamadminonly 1 then only K level admins can say stuff and all A admins will hear itcm_playerhelpfile <filename>
Sets the file displayed when the cm_help command is executed by a player. By default, this is set to "clanmod/playerhelp.txt".
cm_record <0/1/2>
Controls demo recording as follows:
- 0 Demo recording disabled
- 1 Demo recording enabled
- 2 Demo recording enabled, logs go to cm_snaplistfile
cm_reservation <0/1/2>
Controls the slot reservation system as follows:
- 0 Reservations disabled
- 1 Reserve the number of slots defined in cm_freeslots
- 2 Always keep one slot free. If an admin joins, kick a non-admin to maintain the free slot
cm_rulesfile <filename>
Sets the file displayed when the cm_rules command is executed by a client. By default, this is set to "clanmod/rules.txt".
cm_showcvars <0/1/2/3>
Sets which cvars non-admins can view as follows:
- 0 only clanmod_version and cm_info are available
- 1 cm_stats, cm_nextmap, and cm_timeleft, as well as 0 level
- 2 cm_record, cm_clientcmd, cm_slap, and cm_teleport, as well as 0 and 1 level
- 3 all cvars are available
Note: If you are using Admin Mod or other mods which also use server cvars, then the safest way is to set cm_showcvars to 0 or 1.
cm_slap <0/1>
Enables/disables the ability to slap players as follows:
- 0 Slap is disabled
- 1 Slap is enabled
cm_snaplistfile <filename>
Sets the file where snapshots will be logged. Also, if cm_record is set to "2", then demo recording will be logged to this file. By default set to "clanmod/snaplist.txt". The format of the snapshot log is set using the cm_string command with index 131, which is by default set in the titles.cfg file. To disable snapshot logging, set this cvar to "".
cm_speechtime <text>
Sets the speech format when a player uses the cm_thetimecmd command or says "thetime". By default, this is set to "speak 'fvox/time_is_now &text&'". To disable speech, set this cvar to "".
cm_speechtimeleft <text>
Sets the speech format when a player uses the cm_timeleftcmd or says "timeleft". By default set to "speak 'fvox/&text&remaining'". To disable speech, set this cvar to "".
cm_speechtimelefta <text>
Sets the speech format when the time remaining is displayed as defined by the cm_times cvar. By default set to "speak 'fvox/&text&'". To disable speech, set this cvar to "".
cm_teleport <0/1>
Enables/disables the ability to teleport players as follows:
- 0 Teleport is disabled
- 1 Teleport is enabled
cm_timelimit <float>
Sets an artificial timelimit (in minutes) for custom counting. The normal timelimit cvar "mp_timelimit" must be set to 0 in order for this to work.
cm_times <settings>
Sets the times when the server will display the remaining time to the players. Values are set in seconds. By default cvar is set to "tv +600 180 120 60 <10". The means display text (t) and say (v) the time remaining every 10 minutes (+600 = 60*10), at three, two, and one minutes remaining (180, 120, 60) and at the whole last 10 seconds (<10) before end.
These are the customer variables defined on the server by ClanMod which are specific to the Counter-Strike mod.
cm_autoban <float>
Sets the number of team kills a player can make in a given time period before they are automatically banned. This is defined as a float such the part before the decimal is the number of teamkills and the part after the decimal is the amount of time in seconds. The ban period is set by the cvar cm_autoban_period.
Example: cm_autoban 3.10 means that if a player commits three team kills within a ten second period, they will be banned.
cm_autoban_period <Value>
Sets the amount of time (in minutes) a player will be banned for if they violate the team kill rules as defined by the cvar cm_autoban.
cm_lockct <0/1/2>
Sets a lock on the Counter-Terrorist team such that people may not join. Valid options are:
- 0 No restrictions
- 1 Lock only remains in effect for the current map
- 2 Lock remains in effect permanently
cm_lockt <1/2/0>
Sets a lock on the Terrorist team such that people may not join. Valid options are:
- 0 No restrictions
- 1 Lock only remains in effect for the current map
- 2 Lock remains in effect permanently
cm_maxct <number>
Sets the maximum number of Counter-Terrorists on the team.
cm_maxt <number>
Sets the maximum number of Terrorists on the team.
cm_restrictmenu <menu:menu:menu .... >
Sets blocks for specified commands or positions in menu. Menu format is yxx where y is a name of menu or command and x is a value of selectmenu command.
Flags for menus and commands:
- a radio1 menu
- b radio2 menu
- c radio3 menu
- e equipment menu
- p buy primary weapon
- s buy secondary weapon
- t choose team menu
- w weapon menu
Examples of usage:
- Block ability to buy H&K MP5-Navy and Benelli M3 Super90
- cm_restrictmenu "w31:w21"
- Allow to buy only Desert Eagle .50AE from all weapons
- cm_restrictmenu "w11:w12:w14:w15:w16:w2:w3:w4:w5"
- Block ability to buy primary weapon and ammo for it
- cm_restrictmenu "w2:w3:w4:w5:p"