Skip to content

Commit 33e2201

Browse files
committed
Updated mtaserver.conf comments
1 parent 31b740c commit 33e2201

File tree

3 files changed

+86
-20
lines changed

3 files changed

+86
-20
lines changed

Server/mods/deathmatch/editor.conf

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
and on Game-Monitor. It is a required parameter. -->
55
<servername>Map Editor Server</servername>
66

7+
<!-- This parameter specifies the contact email addresses for the owner(s) of this server.
8+
The email addresses will not be publicly available, and only used by MTA administrators
9+
to contact the server owner.
10+
Note: Missing or incorrect owner_email_address can affect visibility in the master server list.
11+
Values: Comma separated list of email addresses -->
12+
<owner_email_address></owner_email_address>
13+
714
<!-- ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING - it is generally only
815
needed for professional servers and should be left at the default value otherwise.
916
This parameter specifies the IP to use for servers that have multiple IP addresses. If set
@@ -31,12 +38,6 @@
3138
are switched to the internal http server. -->
3239
<httpdownloadurl></httpdownloadurl>
3340

34-
<!-- This parameter specifies whether the client files for hosting on an external web server should be
35-
automatically copied into mods/deathmatch/resource-cache/http-client-files/
36-
Only relevant if <httpdownloadurl> is set.
37-
Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
38-
<httpautoclientfiles>0</httpautoclientfiles>
39-
4041
<!-- This parameter limits the number of http connections each client can make. Depending on the type
4142
of http server that is used, a lower figure may reduce download timeouts.
4243
Available range: 1 to 8. -->
@@ -82,7 +83,7 @@
8283

8384
<!-- This parameter specifies if/when the <minclientversion> setting is automatically updated.
8485
Keeping <minclientversion> updated can help reduce cheating.
85-
Note: The instant setting (2) is only recommened for competitive servers.
86+
Note: The instant setting (2) is only recommended for competitive servers.
8687
Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1. -->
8788
<minclientversion_auto_update>0</minclientversion_auto_update>
8889

@@ -128,8 +129,8 @@
128129
<keysync_analog_sync_interval>100</keysync_analog_sync_interval>
129130

130131
<!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.
131-
Values: 0 - disabled , 1 - enabled ; default value: 0. -->
132-
<bullet_sync>0</bullet_sync>
132+
Values: 0 - disabled , 1 - enabled ; default value: 1. -->
133+
<bullet_sync>1</bullet_sync>
133134

134135
<!-- This parameter sets the amount of extrapolation that clients will apply to remote vehicles. This can reduce
135136
some of the latency induced location disparency by predicting where the remote vehicles will probably be.
@@ -183,12 +184,12 @@
183184
<!-- Specifies the level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
184185
<htmldebuglevel>0</htmldebuglevel>
185186

187+
<!-- Specifies whether or not duplicate log lines should be filtered. Available values: 0 or 1, defaults to 1. -->
188+
<filter_duplicate_log_lines>1</filter_duplicate_log_lines>
189+
186190
<!-- Specifies the frame rate limit that will be applied to connecting clients.
187191
Available range: 25 to 100. Default: 50. -->
188192
<fpslimit>50</fpslimit>
189-
190-
<!-- Specifies whether or not players should automatically be logged in based on their IP adresses -->
191-
<autologin>0</autologin>
192193

193194
<!-- This parameter specifies whether or not to enable player voice chat in-game
194195
Values: 0 - disabled , 1 - enabled -->
@@ -232,6 +233,34 @@
232233
Values: 0 - Off, 1 - On. Default - 1 -->
233234
<crash_dump_upload>0</crash_dump_upload>
234235

236+
<!-- This parameter lists the ACL groups that are protected by serial authorization.
237+
Login attempts to a protected account from a second serial are blocked until the serial is manually authorized via
238+
the authserial command.
239+
For more info see: https://mtasa.com/authserial
240+
Note: This is security critical feature and disabling auth_serial_groups can affect visibility in the master server list.
241+
Values: Comma separated list of ACL groups. Default - Admin -->
242+
<auth_serial_groups></auth_serial_groups>
243+
244+
<!-- This parameter specifies if the authorized serial login checks should also apply to the http interface.
245+
Protected account login attempts to the http interface will only succeed if the IP address matches one
246+
recently used by the account holder in-game
247+
For more info see: https://mtasa.com/authserialhttp
248+
Note: This is security critical feature and disabling auth_serial_http can affect visibility in the master server list.
249+
Values: 0 - Off, 1 - Enabled. Default - 1 -->
250+
<auth_serial_http>0</auth_serial_http>
251+
252+
<!-- This parameter specifies which IP addresses should always pass auth_serial_http checks.
253+
Values: Comma separated list of IP addresses -->
254+
<auth_serial_http_ip_exceptions>127.0.0.1</auth_serial_http_ip_exceptions>
255+
256+
<!-- This parameter specifies if extra security measures are applied to resources which use dbConnect with mysql.
257+
The extra measures are:
258+
- Script files cannot be accessed with fileOpen()
259+
- meta.xml is read only
260+
*NOTE* This only protects resources which use dbConnect with mysql
261+
Values: 0 - Off, 1 - Enabled. Default - 1 -->
262+
<database_credentials_protection>1</database_credentials_protection>
263+
235264
<!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
236265
parameter(s). Optional parameter. -->
237266
<!-- <module src="sample_win32.dll"/> -->

Server/mods/deathmatch/local.conf

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
and on Game-Monitor. It is a required parameter. -->
55
<servername>Default MTA Server</servername>
66

7+
<!-- This parameter specifies the contact email addresses for the owner(s) of this server.
8+
The email addresses will not be publicly available, and only used by MTA administrators
9+
to contact the server owner.
10+
Note: Missing or incorrect owner_email_address can affect visibility in the master server list.
11+
Values: Comma separated list of email addresses -->
12+
<owner_email_address></owner_email_address>
13+
714
<!-- ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING - it is generally only
815
needed for professional servers and should be left at the default value otherwise.
916
This parameter specifies the IP to use for servers that have multiple IP addresses. If set
@@ -76,7 +83,7 @@
7683

7784
<!-- This parameter specifies if/when the <minclientversion> setting is automatically updated.
7885
Keeping <minclientversion> updated can help reduce cheating.
79-
Note: The instant setting (2) is only recommened for competitive servers.
86+
Note: The instant setting (2) is only recommended for competitive servers.
8087
Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1. -->
8188
<minclientversion_auto_update>0</minclientversion_auto_update>
8289

@@ -177,12 +184,12 @@
177184
<!-- Specifies the level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
178185
<htmldebuglevel>0</htmldebuglevel>
179186

187+
<!-- Specifies whether or not duplicate log lines should be filtered. Available values: 0 or 1, defaults to 1. -->
188+
<filter_duplicate_log_lines>1</filter_duplicate_log_lines>
189+
180190
<!-- Specifies the frame rate limit that will be applied to connecting clients.
181191
Available range: 25 to 100. Default: 36. -->
182192
<fpslimit>36</fpslimit>
183-
184-
<!-- Specifies whether or not players should automatically be logged in based on their IP adresses -->
185-
<autologin>0</autologin>
186193

187194
<!-- This parameter specifies whether or not to enable player voice chat in-game
188195
Values: 0 - disabled , 1 - enabled -->
@@ -226,6 +233,34 @@
226233
Values: 0 - Off, 1 - On. Default - 1 -->
227234
<crash_dump_upload>0</crash_dump_upload>
228235

236+
<!-- This parameter lists the ACL groups that are protected by serial authorization.
237+
Login attempts to a protected account from a second serial are blocked until the serial is manually authorized via
238+
the authserial command.
239+
For more info see: https://mtasa.com/authserial
240+
Note: This is security critical feature and disabling auth_serial_groups can affect visibility in the master server list.
241+
Values: Comma separated list of ACL groups. Default - Admin -->
242+
<auth_serial_groups>Admin</auth_serial_groups>
243+
244+
<!-- This parameter specifies if the authorized serial login checks should also apply to the http interface.
245+
Protected account login attempts to the http interface will only succeed if the IP address matches one
246+
recently used by the account holder in-game
247+
For more info see: https://mtasa.com/authserialhttp
248+
Note: This is security critical feature and disabling auth_serial_http can affect visibility in the master server list.
249+
Values: 0 - Off, 1 - Enabled. Default - 1 -->
250+
<auth_serial_http>1</auth_serial_http>
251+
252+
<!-- This parameter specifies which IP addresses should always pass auth_serial_http checks.
253+
Values: Comma separated list of IP addresses -->
254+
<auth_serial_http_ip_exceptions>127.0.0.1</auth_serial_http_ip_exceptions>
255+
256+
<!-- This parameter specifies if extra security measures are applied to resources which use dbConnect with mysql.
257+
The extra measures are:
258+
- Script files cannot be accessed with fileOpen()
259+
- meta.xml is read only
260+
*NOTE* This only protects resources which use dbConnect with mysql
261+
Values: 0 - Off, 1 - Enabled. Default - 1 -->
262+
<database_credentials_protection>1</database_credentials_protection>
263+
229264
<!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
230265
parameter(s). Optional parameter. -->
231266
<!-- <module src="sample_win32.dll"/> -->

Server/mods/deathmatch/mtaserver.conf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
<servername>Default MTA Server</servername>
66

77
<!-- This parameter specifies the contact email addresses for the owner(s) of this server.
8-
Note: Missing or incorrect owner_email_address can affect your server list position.
8+
The email addresses will not be publicly available, and only used by MTA administrators
9+
to contact the server owner.
10+
Note: Missing or incorrect owner_email_address can affect visibility in the master server list.
911
Values: Comma separated list of email addresses -->
1012
<owner_email_address></owner_email_address>
1113

@@ -81,7 +83,7 @@
8183

8284
<!-- This parameter specifies if/when the <minclientversion> setting is automatically updated.
8385
Keeping <minclientversion> updated can help reduce cheating.
84-
Note: The instant setting (2) is only recommened for competitive servers.
86+
Note: The instant setting (2) is only recommended for competitive servers.
8587
Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1. -->
8688
<minclientversion_auto_update>1</minclientversion_auto_update>
8789

@@ -235,15 +237,15 @@
235237
Login attempts to a protected account from a second serial are blocked until the serial is manually authorized via
236238
the authserial command.
237239
For more info see: https://mtasa.com/authserial
238-
Note: Disabling auth_serial_groups can affect your server list position.
240+
Note: This is security critical feature and disabling auth_serial_groups can affect visibility in the master server list.
239241
Values: Comma separated list of ACL groups. Default - Admin -->
240242
<auth_serial_groups>Admin</auth_serial_groups>
241243

242244
<!-- This parameter specifies if the authorized serial login checks should also apply to the http interface.
243245
Protected account login attempts to the http interface will only succeed if the IP address matches one
244246
recently used by the account holder in-game
245247
For more info see: https://mtasa.com/authserialhttp
246-
Note: Disabling auth_serial_http can affect your server list position.
248+
Note: This is security critical feature and disabling auth_serial_http can affect visibility in the master server list.
247249
Values: 0 - Off, 1 - Enabled. Default - 1 -->
248250
<auth_serial_http>1</auth_serial_http>
249251

0 commit comments

Comments
 (0)