|
ds@668
|
1 |
/** |
|
ds@668
|
2 |
* This file is used to set various options that are important to SourceMod's core. |
|
ds@668
|
3 |
* If this file is missing or an option in this file is missing, then the default values will be used. |
|
ds@668
|
4 |
*/ |
|
ds@661
|
5 |
"Core" |
|
ds@661
|
6 |
{ |
|
ds@668
|
7 |
/** |
|
ds@668
|
8 |
* This option determines if SourceMod logging is enabled. |
|
ds@668
|
9 |
* |
|
ds@668
|
10 |
* "on" - Logging is enabled (default) |
|
ds@668
|
11 |
* "off" - Logging is disabled |
|
ds@668
|
12 |
*/ |
|
ds@661
|
13 |
"Logging" "on" |
|
ds@661
|
14 |
|
|
ds@668
|
15 |
/** |
|
ds@668
|
16 |
* This option determines how SourceMod logging should be handled. |
|
ds@668
|
17 |
* |
|
ds@668
|
18 |
* "daily" - New log file is created for each day (default) |
|
ds@668
|
19 |
* "map" - New log file is created for each map change |
|
ds@668
|
20 |
* "game" - Use game's log files |
|
ds@668
|
21 |
*/ |
|
ds@661
|
22 |
"LogMode" "daily" |
|
ds@661
|
23 |
|
|
ds@668
|
24 |
/** |
|
ds@668
|
25 |
* Language that multilingual enabled plugins and extensions will use to print messages. |
|
ds@668
|
26 |
* Only languages listed in languages.cfg are valid. |
|
ds@668
|
27 |
* |
|
ds@668
|
28 |
* The default value is "en" |
|
ds@668
|
29 |
*/ |
|
ds@661
|
30 |
"ServerLang" "en" |
|
dvander@896
|
31 |
|
|
dvander@896
|
32 |
/** |
|
dvander@896
|
33 |
* String to use as the public chat trigger. Set an empty string to disable. |
|
dvander@896
|
34 |
*/ |
|
dvander@896
|
35 |
"PublicChatTrigger" "!" |
|
dvander@896
|
36 |
|
|
dvander@896
|
37 |
/** |
|
dvander@896
|
38 |
* String to use as the silent chat trigger. Set an empty string to disable. |
|
dvander@896
|
39 |
*/ |
|
dvander@896
|
40 |
"SilentChatTrigger" "/" |
|
dvander@1160
|
41 |
|
|
dvander@1160
|
42 |
/** |
|
dvander@1794
|
43 |
* If a say command is a silent chat trigger, and is used by an admin, |
|
dvander@1794
|
44 |
* but it does not evaluate to an actual command, it will be displayed |
|
dvander@1794
|
45 |
* publicly. This setting allows you to suppress accidental typings. |
|
dvander@1794
|
46 |
* |
|
dvander@1794
|
47 |
* The default value is "no". A value of "yes" will supress. |
|
dvander@1794
|
48 |
*/ |
|
dvander@1794
|
49 |
"SilentFailSuppress" "no" |
|
dvander@1794
|
50 |
|
|
dvander@1794
|
51 |
/** |
|
dvander@1160
|
52 |
* Password setinfo key that clients must set. You must change this in order for |
|
dvander@1160
|
53 |
* passwords to work, for security reasons. |
|
dvander@1160
|
54 |
*/ |
|
dvander@1160
|
55 |
"PassInfoVar" "_password" |
|
dvander@1220
|
56 |
|
|
dvander@1220
|
57 |
/** |
|
dvander@1220
|
58 |
* Specifies the sound that gets played when an item is selected from a menu. |
|
dvander@1220
|
59 |
*/ |
|
dvander@1220
|
60 |
"MenuItemSound" "buttons/button14.wav" |
|
dvander@1243
|
61 |
|
|
dvander@1243
|
62 |
/** |
|
dvander@1243
|
63 |
* Specifies the sound that gets played when an "Exit" button is selected |
|
dvander@1243
|
64 |
* from a menu. |
|
dvander@1243
|
65 |
*/ |
|
dvander@1243
|
66 |
"MenuExitSound" "buttons/combine_button7.wav" |
|
dvander@1220
|
67 |
|
|
dvander@1220
|
68 |
/** |
|
dvander@1220
|
69 |
* Specifies the sound that gets played when an "Exit Back" button is selected |
|
dvander@1220
|
70 |
* from a menu. This is the special "Back" button that is intended to roll back |
|
dvander@1220
|
71 |
* to a previous menu. |
|
dvander@1220
|
72 |
*/ |
|
dvander@1220
|
73 |
"MenuExitBackSound" "buttons/combine_button7.wav" |
|
faluco@1352
|
74 |
|
|
faluco@1352
|
75 |
/** |
|
faluco@1352
|
76 |
* Enables or disables whether SourceMod reads a client's cl_language cvar to set |
|
faluco@1352
|
77 |
* their language for server-side phrase translation. |
|
faluco@1352
|
78 |
* |
|
faluco@1352
|
79 |
* "on" - Translate using the client's language (default) |
|
faluco@1352
|
80 |
* "off" - Translate using default server's language |
|
faluco@1352
|
81 |
*/ |
|
faluco@1352
|
82 |
"AllowClLanguageVar" "On" |
|
pred@2142
|
83 |
|
|
pred@2142
|
84 |
/** |
|
pred@2142
|
85 |
* Enables or Disables SourceMod's automatic gamedata updating. |
|
pred@2142
|
86 |
* |
|
pred@2142
|
87 |
* The default value is "no". A value of "yes" will block the Auto Updater. |
|
pred@2142
|
88 |
*/ |
|
dvander@2476
|
89 |
"DisableAutoUpdate" "no" |
|
pred@2142
|
90 |
|
|
pred@2142
|
91 |
/** |
|
dvander@2476
|
92 |
* If set to yes, a successful gamedata update will attempt to restart SourceMod. |
|
dvander@2476
|
93 |
* SourceMod is unloaded and reloaded, and the map is changed to the current map. |
|
dvander@2476
|
94 |
* Since gamedata updates occur when the server loads, impact should be minimal. |
|
dvander@2476
|
95 |
* But to be safe, this option is disabled by default. |
|
pred@2142
|
96 |
*/ |
|
dvander@2476
|
97 |
"ForceRestartAfterUpdate" "no" |
|
pred@2247
|
98 |
|
|
pred@2247
|
99 |
/** |
|
dvander@2575
|
100 |
* URL to use for retrieving update information. |
|
dvander@2575
|
101 |
* SSL is not yet supported. |
|
pred@2247
|
102 |
*/ |
|
dvander@2632
|
103 |
"AutoUpdateURL" "http://update.sourcemod.net/update/" |
|
pred@2247
|
104 |
|
|
pred@2247
|
105 |
/** |
|
dvander@2476
|
106 |
* Whether to show debug spew. |
|
dvander@2476
|
107 |
* Currently this will log details about the gamedata updating process. |
|
dvander@2476
|
108 |
*/ |
|
dvander@2476
|
109 |
"DebugSpew" "no" |
|
voidedweasel@3512
|
110 |
|
|
voidedweasel@3512
|
111 |
/** |
|
voidedweasel@3512
|
112 |
* If set to yes, SourceMod will validate steamid auth strings with the Steam backend before giving out admin access. |
|
voidedweasel@3512
|
113 |
* This can prevent malicious users from impersonating admins with stolen Steam apptickets. |
|
voidedweasel@3512
|
114 |
* If Steam is down, admins will not be authenticated until Steam comes back up. |
|
asherkin@3968
|
115 |
* This option increases the security of your server, but is still experimental. |
|
voidedweasel@3512
|
116 |
*/ |
|
voidedweasel@3512
|
117 |
"SteamAuthstringValidation" "yes" |
|
asherkin@3601
|
118 |
|
|
asherkin@3601
|
119 |
/** |
|
asherkin@3601
|
120 |
* Enables or disables whether SourceMod blocks known or potentially malicious plugins from loading. |
|
asherkin@3601
|
121 |
* It is STRONGLY advised that this is left enabled, there have been cases in the past with plugins that |
|
asherkin@3601
|
122 |
* allow anyone to delete files on the server, gain full rcon control, etc. |
|
asherkin@3601
|
123 |
* |
|
asherkin@3601
|
124 |
* "yes" - Block malware or illegal plugins from loading (default) |
|
asherkin@3601
|
125 |
* "no" - Warn about malware or illegal plugins loading |
|
asherkin@3601
|
126 |
*/ |
|
asherkin@3601
|
127 |
"BlockBadPlugins" "yes" |
|
dvander@4014
|
128 |
|
|
dvander@4014
|
129 |
/** |
|
dvander@4014
|
130 |
* If a plugin takes too long to execute, hanging or freezing the game server in the process, |
|
dvander@4014
|
131 |
* SourceMod will attempt to terminate that plugin after the specified timeout length has |
|
dvander@4014
|
132 |
* passed. You can disable this feature by setting the value to "0". |
|
dvander@4014
|
133 |
*/ |
|
dvander@4014
|
134 |
"SlowScriptTimeout" "8" |
|
dvander@4116
|
135 |
|
|
dvander@4116
|
136 |
/** |
|
dvander@4116
|
137 |
* Disable the SourcePawn just-in-time compiler. This is intended for C++ developers using |
|
dvander@4116
|
138 |
* debugging tools and finding it difficult to inspect JIT stack frames. The interpreter |
|
dvander@4116
|
139 |
* is not as well-tested as the JIT and will make script execution roughly 10X slower, so |
|
dvander@4116
|
140 |
* it is not intended for general purpose use. |
|
dvander@4116
|
141 |
*/ |
|
dvander@4116
|
142 |
"DisableJIT" "no" |
|
ds@661
|
143 |
} |
|
dvander@4014
|
144 |
|