Стандартные конфиги mta сервера — различия между версиями

Материал из Википедия MyArena.ru
Перейти к: навигация, поиск
(Новая страница: «Если у вас не запускается сервер, повреждён конфиг или Access control list, то здесь вы можете взя…»)
 
 
Строка 2: Строка 2:
 
<br>
 
<br>
 
= mtaserver.conf: =
 
= mtaserver.conf: =
[http://megamozg.myarena.ru/zaka4ka/mtaserver.conf скачать]<br>
+
[https://linux.mtasa.com/dl/baseconfig.tar.gz скачать]<br>
  <config>
+
<config>
  <!-- This parameter specifies the name the server will be visible as in the ingame server browser  
+
  and on Game-Monitor. It is a required parameter. -->
+
    <!-- This parameter specifies the name the server will be visible as in the ingame server browser  
  <servername>Default MTA Server</servername>
+
        and on Game-Monitor. It is a required parameter. -->
  <!-- ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING - it is generally only
+
    <servername>Default MTA Server</servername>
      needed for professional servers and should be left blank otherwise.
+
   
  This parameter specifies the IP to use for servers that have multiple IP addresses. If left
+
    <!-- This parameter specifies the contact email addresses for the owner(s) of this server.
  blank, it will default to server's standard local IP address. -->
+
        The email addresses will not be publicly available, and only used by MTA administrators
  <!-- SERVERIP SHOULD BE LEFT BLANK UNLESS YOU ARE SURE OF WHAT YOU ARE DOING -->
+
        to contact the server owner.
  <serverip></serverip>
+
        Note: Missing or incorrect owner_email_address can affect visibility in the master server list.
  <!-- WARNING: SETTING serverip AND THEN ASKING FOR SUPPORT CAN CAUSE DEATH OR INJURY -->
+
        Values: Comma separated list of email addresses -->
  <!-- This parameter specifies whether the builtin http server is enabled.
+
    <owner_email_address></owner_email_address>
      The builtin http server is used for webadmin and (if httpdownloadurl is empty) resource downloads.
+
      Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
+
    <!-- ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING - it is generally only
  <httpserver>1</httpserver>
+
        needed for professional servers and should be left at the default value otherwise.
  <!-- This parameter specifies the TCP port on which the server will be accepting incoming http
+
        This parameter specifies the IP to use for servers that have multiple IP addresses. If set
      connections. It can be set to the same value as <serverport>. It is a required parameter
+
        to auto, it will automatically detect and use the server's standard local IP address.
  if <httpserver> is set to 1. -->
+
        Values: auto or x.x.x.x ; default value: auto -->
  <httpport>22005</httpport>
+
    <!-- SERVERIP SHOULD BE LEFT SET TO auto UNLESS YOU ARE SURE OF WHAT YOU ARE DOING -->
  <!-- If set, this parameter specifies the external URL from which clients will be able to download
+
    <serverip>auto</serverip>
      needed resources ingame. If not set (or the external URL files are incorrect), resource downloads
+
    <!-- WARNING: SETTING serverip AND THEN ASKING FOR SUPPORT CAN CAUSE DEATH OR INJURY -->
      are switched to the internal http server. -->
+
  <httpdownloadurl></httpdownloadurl>
+
    <!-- This parameter specifies the UDP port on which the server will be accepting incoming player
  <!-- This parameter is deprecated. Please use httpmaxconnectionsperclient instead-->
+
        connections; default value: 22003. It is a required parameter. -->
  <httpconnectionsperclient></httpconnectionsperclient>
+
    <serverport>22003</serverport>
  <!-- This parameter limits the number of http connections each client can make. Depending on the type
+
   
          of http server that is used, a lower figure may reduce download timeouts.
+
    <!-- This parameter specifies the number of maximum player slots available on the server; default
      Available range: 1 to 8. -->
+
        value: 32. It is a required parameter. -->
  <httpmaxconnectionsperclient>5</httpmaxconnectionsperclient>
+
    <maxplayers>32</maxplayers>
  <!-- This parameter limits the number http connections that an IP can initiate over a short period of time.
+
       
      Available range: 1 to 100. default value: 20 -->
+
    <!-- This parameter specifies the TCP port on which the server will be accepting incoming http
  <httpdosthreshold>20</httpdosthreshold>
+
        connections. It can be set to the same value as <serverport>. It is a required parameter
  <!-- This parameter lists the IP addresses that are to be excluded from http dos threshold limits.
+
        if <httpserver> is set to 1. -->
      e.g. 88.11.22.33,101.2.3.4 -->
+
    <httpport>22005</httpport>
  <http_dos_exclude></http_dos_exclude>
+
   
  <!-- By default, the server will block the use of customized GTA:SA data files. -->
+
    <!-- If set, this parameter specifies the external URL from which clients will be able to download
  <!-- To allow specific client files, add one or more of the following: -->
+
        needed resources ingame. If not set (or the external URL files are incorrect), resource downloads
  <!-- <client_file name="data/carmods.dat" verify="0"/> -->
+
        are switched to the internal http server. -->
  <!-- Comma separated list of disabled anti-cheats.
+
    <httpdownloadurl></httpdownloadurl>
      For details see http://wiki.multitheftauto.com/wiki/Anti-cheat_guide
+
      e.g. To disable anti-cheat #2 and #3, use: 2,3 -->
+
    <!-- This parameter limits the number of http connections each client can make. Depending on the type
  <disableac></disableac>
+
        of http server that is used, a lower figure may reduce download timeouts.
      <!-- Comma separated list of enabled special detections.
+
        Available range: 1 to 8. -->
          A special detection is a type of anti-cheat for (usually) harmless game modifications.
+
    <httpmaxconnectionsperclient>5</httpmaxconnectionsperclient>
          Competitive servers may wish to enable special detections, but most servers should leave this setting blank.
+
 +
    <!-- This parameter limits the number http connections that an IP can initiate over a short period of time.
 +
        Available range: 1 to 100. default value: 20 -->
 +
    <httpdosthreshold>20</httpdosthreshold>
 +
 +
    <!-- This parameter lists the IP addresses that are to be excluded from http dos threshold limits.
 +
        e.g. 88.11.22.33,101.2.3.4 -->
 +
    <http_dos_exclude></http_dos_exclude>
 +
 +
    <!-- By default, the server will block the use of locally customized gta3.img player skins
 +
        This setting can be used to allow such mods. Not recommended for competitive servers.
 +
        Values: none, peds ; default value: none -->
 +
    <allow_gta3_img_mods>none</allow_gta3_img_mods>
 +
 +
    <!-- By default, the server will block the use of customized GTA:SA data files. -->
 +
    <!-- To allow specific client files, add one or more of the following: -->
 +
    <!-- <client_file name="data/carmods.dat" verify="0"/> -->
 +
 +
    <!-- Comma separated list of disabled anti-cheats.
 
         For details see http://wiki.multitheftauto.com/wiki/Anti-cheat_guide
 
         For details see http://wiki.multitheftauto.com/wiki/Anti-cheat_guide
      e.g. To enable special detection #12 use: 12 -->
+
        e.g. To disable anti-cheat #2 and #3, use: 2,3 -->
  <enablesd></enablesd>
+
    <disableac></disableac>
  <!-- This parameter specifies whether communications between the server and client is encrypted.
+
      Encryption can help prevent network data being viewed and modified.
+
    <!-- Comma separated list of enabled special detections.
      Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
+
        A special detection is a type of anti-cheat for (usually) harmless game modifications.
  <networkencryption>1</networkencryption>
+
        Competitive servers may wish to enable special detections, but most servers should leave this setting blank.
  <!-- Minimum client version. Clients with a lower version will not be allowed to connect. After
+
        For details see http://wiki.multitheftauto.com/wiki/Anti-cheat_guide
      disconnection, clients will be given an opportunity to download an update.
+
        e.g. To enable special detection #12 use: 12 -->
      If left blank, this setting is disabled and there are no restrictions on who can connect.
+
    <enablesd></enablesd>
      Version numbers are described here: http://wiki.multitheftauto.com/wiki/GetPlayerVersion
+
      and look like this: 1.1.0-9.03100.0  
+
    <!-- Minimum client version. Clients with a lower version will not be allowed to connect. After
      Note that this setting only determines if the client should be prompted to update. The actual
+
        disconnection, clients will be given an opportunity to download an update.
      build number they receive will be the highest available. See: http://nightly.mtasa.com/ver  -->
+
        If left blank, this setting is disabled and there are no restrictions on who can connect.
  <minclientversion>1.3.4</minclientversion>
+
        Version numbers are described here: http://wiki.multitheftauto.com/wiki/GetPlayerVersion
  <!-- This parameter specifies if/when the <minclientversion> setting is automatically updated.
+
        and look like this: 1.1.0-9.03100.0  
      Keeping <minclientversion> updated can help reduce cheating.
+
        Note that this setting only determines if the client should be prompted to update. The actual
      Note: The instant setting (2) is only recommened for competitive servers.
+
        build number they receive will be the highest available. See: http://nightly.mtasa.com/ver  -->
      Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1.  -->
+
    <minclientversion></minclientversion>
  <minclientversion_auto_update>1</minclientversion_auto_update>
+
  <!-- Recommended client version. When connecting, if clients have a lower version, they will be given
+
    <!-- This parameter specifies if/when the <minclientversion> setting is automatically updated.
      the option to download an update. If left blank, this setting is disabled.
+
        Keeping <minclientversion> updated can help reduce cheating.
      Note that this setting only determines if the client should be prompted to update. The actual
+
        Note: The instant setting (2) is only recommended for competitive servers.
      build number they receive will be the highest available. See: http://nightly.mtasa.com/ver  -->
+
        Values: 0 - disabled, 1 - enabled (delayed by a few days), 2 - enabled (instant) ; default value: 1.  -->
  <recommendedclientversion></recommendedclientversion>
+
    <minclientversion_auto_update>1</minclientversion_auto_update>
  <!-- This parameter can be used to make the server report to Game-Monitor master servers, allowing it to
+
      be visible in the ingame server browser. An additional UDP port needs to be available for this to
+
    <!-- Recommended client version. When connecting, if clients have a lower version, they will be given
  work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port
+
        the option to download an update. If left blank, this setting is disabled.
  will be 22126 ). Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0. -->
+
        Note that this setting only determines if the client should be prompted to update. The actual
  <ase>1</ase>
+
        build number they receive will be the highest available. See: http://nightly.mtasa.com/ver  -->
  <!-- This parameter allows you to disable LAN broadcasting. -->
+
    <recommendedclientversion></recommendedclientversion>
  <donotbroadcastlan>0</donotbroadcastlan>
+
  <!-- If set, players will have to provide a password specified below, before they can connect to the
+
    <!-- This parameter can be used to make the server report to Game-Monitor master servers, allowing it to
      server. If left blank, server doesn't require a password from them. -->
+
        be visible in the ingame server browser. An additional UDP port needs to be available for this to
  <password></password>  
+
        work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port
  <!-- This parameter reduces the server's bandwidth usage by using various optimizations.
+
        will be 22126 ). Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0. -->
      Values: none, medium or maximum ; default value: medium -->
+
    <ase>1</ase>
  <bandwidth_reduction>medium</bandwidth_reduction>  
+
  <!-- The following ???_sync_interval parameters determine the time in milliseconds between certain
+
    <!-- This parameter allows you to disable LAN broadcasting. -->  
  network packets being sent. More information on how each settings works is available here:
+
    <donotbroadcastlan>0</donotbroadcastlan>
  http://wiki.multitheftauto.com/wiki/Server_mtaserver.conf -->
+
  <!-- Player sync interval. Default: 100 -->
+
    <!-- If set, players will have to provide a password specified below, before they can connect to the
  <player_sync_interval>100</player_sync_interval>
+
        server. If left blank, server doesn't require a password from them. -->
  <!-- Lightweight (player) sync interval. Used when players are far apart. Default: 1500 -->
+
    <password></password>  
  <lightweight_sync_interval>1500</lightweight_sync_interval>  
+
  <!-- Camera sync interval. Default: 500 -->
+
    <!-- This parameter reduces the server's bandwidth usage by using various optimizations.
  <camera_sync_interval>500</camera_sync_interval>  
+
        Values: none, medium or maximum ; default value: medium -->
  <!-- Ped sync interval. Default: 400 -->
+
    <bandwidth_reduction>medium</bandwidth_reduction>  
  <ped_sync_interval>500</ped_sync_interval>  
+
  <!-- Unoccupied_vehicle sync interval. Default: 400 -->
+
    <!-- The following ???_sync_interval parameters determine the time in milliseconds between certain
  <unoccupied_vehicle_sync_interval>1000</unoccupied_vehicle_sync_interval>  
+
        network packets being sent. More information on how each settings works is available here:
  <!-- Keysync mouse rotation sync interval. For limiting key sync packets due to mouse movement. Default: 100 -->
+
        http://wiki.multitheftauto.com/wiki/Server_mtaserver.conf -->
  <keysync_mouse_sync_interval>100</keysync_mouse_sync_interval>  
+
    <!-- Player sync interval. Default: 100 -->
  <!-- Keysync analog movement sync interval. For limiting key sync packets due to joystick movement. Default: 100 -->
+
    <player_sync_interval>100</player_sync_interval>
  <keysync_analog_sync_interval>100</keysync_analog_sync_interval>  
+
    <!-- Lightweight (player) sync interval. Used when players are far apart. Default: 1500 -->
  <!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.
+
    <lightweight_sync_interval>1500</lightweight_sync_interval>  
      Values: 0 - disabled , 1 - enabled ; default value: 1. -->
+
    <!-- Camera sync interval. Default: 500 -->
  <bullet_sync>1</bullet_sync>  
+
    <camera_sync_interval>500</camera_sync_interval>  
  <!-- This parameter sets the amount of extrapolation that clients will apply to remote vehicles. This can reduce
+
    <!-- Ped sync interval. Default: 400 -->
      some of the latency induced location disparency by predicting where the remote vehicles will probably be.
+
    <ped_sync_interval>400</ped_sync_interval>  
      Depending on the gamemode, an incorrect prediction may have a negative effect. Therefore this setting
+
    <!-- Unoccupied_vehicle sync interval. Default: 400 -->
      should be considered experimental.
+
    <unoccupied_vehicle_sync_interval>400</unoccupied_vehicle_sync_interval>  
      Available range: 0 to 100.  Default - 0 -->
+
    <!-- Keysync mouse rotation sync interval. For limiting key sync packets due to mouse movement. Default: 100 -->
  <vehext_percent>0</vehext_percent>
+
    <keysync_mouse_sync_interval>100</keysync_mouse_sync_interval>  
  <!-- This parameter places a limit on how much time (in milliseconds) the vehicle extrapolation will attempt to
+
    <!-- Keysync analog movement sync interval. For limiting key sync packets due to joystick movement. Default: 100 -->
      compensate for.
+
    <keysync_analog_sync_interval>100</keysync_analog_sync_interval>  
      Only relevant if <vehext_percent> is greater than zero.
+
      Available range: 50 to 500.  Default - 150 -->
+
    <!-- This parameter can improve the reliability of shots when using certain weapons. However, it uses more bandwidth.
  <vehext_ping_limit>150</vehext_ping_limit>
+
        Values: 0 - disabled , 1 - enabled ; default value: 1. -->
  <!-- This parameter can reduce the delay of player actions appearing on remote clients by 2 frames (approx 50ms).
+
    <bullet_sync>1</bullet_sync>  
      Due to the impact this may have on shot lag compensation, it should be considered experimental.
+
      Values: 0 - disabled , 1 - enabled ; default value: 0. -->
+
    <!-- This parameter sets the amount of extrapolation that clients will apply to remote vehicles. This can reduce
  <latency_reduction>0</latency_reduction>
+
        some of the latency induced location disparency by predicting where the remote vehicles will probably be.
  <!-- Specifies the location and file name of this servers unique private key.
+
        Depending on the gamemode, an incorrect prediction may have a negative effect. Therefore this setting
  This is used to prevent private files saved on the client from being read by other servers.
+
        should be considered experimental.
  More infomation about client private files can be found here: http://wiki.multitheftauto.com/wiki/Filepath
+
        Available range: 0 to 100.  Default - 0 -->
      Keep a backup of this file in a safe place. Default value: server-id.keys-->
+
    <vehext_percent>0</vehext_percent>
  <idfile>server-id.keys</idfile>  
+
  <!-- Specifies the location and name of the main server log file. If left blank, server won't be saving this file. -->
+
    <!-- This parameter places a limit on how much time (in milliseconds) the vehicle extrapolation will attempt to
  <logfile>logs/server.log</logfile>
+
        compensate for.
  <!-- As well as the main log file, login successes and failures are logged here for easy reviewing of security issues.
+
        Only relevant if <vehext_percent> is greater than zero.
      If left blank, this file is not used -->
+
        Available range: 50 to 500.  Default - 150 -->
  <authfile>logs/server_auth.log</authfile>
+
    <vehext_ping_limit>150</vehext_ping_limit>
  <!-- Specifies the location and name of the file used to log database queries.
+
  The server command 'debugdb' sets the amount of logging. -->
+
    <!-- This parameter can reduce the delay of player actions appearing on remote clients by 2 frames (approx 50ms).
  <dbfile>logs/db.log</dbfile>
+
        Due to the impact this may have on shot lag compensation, it should be considered experimental.
  <!-- Specifies the location and name of the file used to log loadstring function calls.
+
        Values: 0 - disabled , 1 - enabled ; default value: 0. -->
  If left blank or not set, no logging is done. -->
+
    <latency_reduction>0</latency_reduction>
  <!-- <loadstringfile>logs/loadstring.log</loadstringfile> -->
+
  <!-- This parameter specifies the location and name of the Access Control List settings file. If left
+
    <!-- Specifies the location and file name of this servers unique private key.
      blank, server will use acl.xml file, located in the same folder as this configuration file. -->
+
        This is used to prevent private files saved on the client from being read by other servers.
  <acl>acl.xml</acl>  
+
        More infomation about client private files can be found here: http://wiki.multitheftauto.com/wiki/Filepath
  <!-- Specifies the location and name of the debugscript log file. If left blank, server won't be saving this file. -->
+
        Keep a backup of this file in a safe place. Default value: server-id.keys-->
  <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>  
+
    <idfile>server-id.keys</idfile>  
  <!-- Specifies the level of the debugscript log file. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
+
  <scriptdebugloglevel>0</scriptdebugloglevel>
+
    <!-- Specifies the location and name of the main server log file. If left blank, server won't be saving this file. -->
  <!-- Specifies the level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
+
    <logfile>logs/server.log</logfile>
  <htmldebuglevel>0</htmldebuglevel>
+
  <!-- Specifies the frame rate limit that will be applied to connecting clients.
+
    <!-- As well as the main log file, login successes and failures are logged here for easy reviewing of security issues.
          Available range: 25 to 100. Default: 36. -->
+
        If left blank, this file is not used -->
  <fpslimit>36</fpslimit>
+
    <authfile>logs/server_auth.log</authfile>
  <!-- Specifies whether or not players should automatically be logged in based on their IP adresses -->
+
  <autologin>0</autologin>
+
    <!-- Specifies the location and name of the file used to log database queries.
  <!-- This parameter specifies whether or not to enable player voice chat in-game
+
        The server command 'debugdb' sets the amount of logging. -->
      Values: 0 - disabled , 1 - enabled -->
+
    <dbfile>logs/db.log</dbfile>
  <voice>0</voice>
+
  <!-- This parameter specifies the sample rate for voice chat.  'voice' parameter must be set to 1 for this to be effective.
+
    <!-- Specifies the location and name of the file used to log loadstring function calls.
  Higher settings use more bandwidth and increase the sampling quality of voice chat
+
        If left blank or not set, no logging is done. -->
      Values: 0 - Narrowband (8kHz), 1 - Wideband (16kHz), 2 - Ultrawideband (32kHz).  Default - 1 -->
+
    <!-- <loadstringfile>logs/loadstring.log</loadstringfile> -->
  <voice_samplerate>1</voice_samplerate>
+
   
  <!-- This parameter specifies the voice quality for voice chat.  'voice' parameter must be set to 1 for this to be effective.
+
    <!-- This parameter specifies the location and name of the Access Control List settings file. If left
  Higher settings use more bandwidth and increase the the overall quality of voice chat
+
        blank, server will use acl.xml file, located in the same folder as this configuration file. -->
      Available range: 0 to 10.  Default - 4 -->
+
    <acl>acl.xml</acl>  
  <voice_quality>4</voice_quality>
+
  <!-- Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings.  
+
    <!-- Specifies the location and name of the debugscript log file. If left blank, server won't be saving this file. -->
      If not set, MTA handles this automatically.  Use with care. -->
+
    <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>
        <!-- <voice_bitrate>24600</voice_bitrate> -->
+
  <!-- This parameter specifies the path to use for a basic backup of some server files.
+
    <!-- Specifies the level of the debugscript log file. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
  Note that basic backups are only made during server startup. Default value: backups -->
+
    <scriptdebugloglevel>0</scriptdebugloglevel>
  <backup_path>backups</backup_path>
+
  <!-- This parameter specifies the number of days between each basic backup.
+
    <!-- Specifies the level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
  Backups are only made during server startup, so the actual interval may be much longer.
+
    <htmldebuglevel>0</htmldebuglevel>
  Setting backup_interval to 0 will disable backups
+
      Available range: 0 to 30.  Default - 3 -->
+
    <!-- Specifies whether or not duplicate log lines should be filtered. Available values: 0 or 1, defaults to 1. -->
  <backup_interval>3</backup_interval>
+
    <filter_duplicate_log_lines>1</filter_duplicate_log_lines>
  <!-- This parameter specifies the maximum number of backup copies to keep.
+
  Setting backup_copies to 0 will disable backups
+
    <!-- Specifies the frame rate limit that will be applied to connecting clients.
      Available range: 0 to 100.  Default - 5 -->
+
        Available range: 25 to 100. Default: 36. -->
  <backup_copies>5</backup_copies>
+
    <fpslimit>36</fpslimit>
  <!-- This parameter specifies when the internal sqlite databases should be defragmented.
+
  http://www.sqlite.org/lang_vacuum.html
+
    <!-- This parameter specifies whether or not to enable player voice chat in-game
      Values: 0 - Never, 1 - On server start only after basic backup, 2 - On server start always.  Default - 1 -->
+
        Values: 0 - disabled , 1 - enabled -->
  <compact_internal_databases>1</compact_internal_databases>
+
    <voice>0</voice>
  <!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
+
   
      parameter(s). Optional parameter. -->
+
    <!-- This parameter specifies the sample rate for voice chat.  'voice' parameter must be set to 1 for this to be effective.
  <!-- <module src="sample_win32.dll"/> -->
+
        Higher settings use more bandwidth and increase the sampling quality of voice chat
  <!-- <module src="sample_linux.so"/> -->
+
        Values: 0 - Narrowband (8kHz), 1 - Wideband (16kHz), 2 - Ultrawideband (32kHz).  Default - 1 -->
  <!-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped.
+
    <voice_samplerate>1</voice_samplerate>
      To specify several resources, add more <resource> parameter(s). -->
+
   
  <resource src="admin" startup="1" protected="0"/>
+
    <!-- This parameter specifies the voice quality for voice chat.  'voice' parameter must be set to 1 for this to be effective.
  <resource src="defaultstats" startup="1" protected="0"/>
+
        Higher settings use more bandwidth and increase the the overall quality of voice chat
  <resource src="helpmanager" startup="1" protected="0"/>
+
        Available range: 0 to 10.  Default - 4 -->
  <resource src="joinquit" startup="1" protected="0"/>
+
    <voice_quality>4</voice_quality>
  <resource src="mapcycler" startup="1" protected="0"/>
+
  <resource src="mapmanager" startup="1" protected="0"/>
+
    <!-- Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings.  
  <resource src="parachute" startup="1" protected="0"/>
+
        If not set, MTA handles this automatically.  Use with care. -->
  <resource src="performancebrowser" startup="1" protected="0"/>
+
    <!-- <voice_bitrate>24600</voice_bitrate> -->
  <resource src="resourcebrowser" startup="1" protected="1" default="true"/>
+
  <resource src="resourcemanager" startup="1" protected="1"/>
+
    <!-- This parameter specifies the path to use for a basic backup of some server files.
  <resource src="scoreboard" startup="1" protected="0"/>
+
        Note that basic backups are only made during server startup. Default value: backups -->
  <resource src="spawnmanager" startup="1" protected="0"/>
+
    <backup_path>backups</backup_path>
  <resource src="voice" startup="1" protected="0" />
+
  <resource src="votemanager" startup="1" protected="0"/>
+
    <!-- This parameter specifies the number of days between each basic backup.
  <resource src="webadmin" startup="1" protected="0"/>
+
        Backups are only made during server startup, so the actual interval may be much longer.
  <!-- play is the default freeroam gamemode. Remove the following line to prevent it from starting. -->
+
        Setting backup_interval to 0 will disable backups
  <resource src="play" startup="1" protected="0"/>
+
        Available range: 0 to 30.  Default - 3 -->
 
+
    <backup_interval>3</backup_interval>
  </config>
+
 +
    <!-- This parameter specifies the maximum number of backup copies to keep.
 +
        Setting backup_copies to 0 will disable backups
 +
        Available range: 0 to 100.  Default - 5 -->
 +
    <backup_copies>5</backup_copies>
 +
 +
    <!-- This parameter specifies when the internal sqlite databases should be defragmented.
 +
        http://www.sqlite.org/lang_vacuum.html
 +
        Values: 0 - Never, 1 - On server start only after basic backup, 2 - On server start always.  Default - 1 -->
 +
    <compact_internal_databases>1</compact_internal_databases>
 +
 +
    <!-- This parameter specifies whether server crash dump files should be sent to MTA HQ.
 +
        Values: 0 - Off, 1 - On. Default - 1 -->
 +
    <crash_dump_upload>1</crash_dump_upload>
 +
 +
    <!-- This parameter lists the ACL groups that are protected by serial authorization.
 +
        Login attempts to a protected account from a second serial are blocked until the serial is manually authorized via
 +
        the authserial command.
 +
        For more info see: https://mtasa.com/authserial
 +
        Note: This is security critical feature and disabling auth_serial_groups can affect visibility in the master server list.
 +
        Values: Comma separated list of ACL groups.  Default - Admin -->
 +
    <auth_serial_groups>Admin</auth_serial_groups>
 +
 +
    <!-- This parameter specifies if the authorized serial login checks should also apply to the http interface.
 +
        Protected account login attempts to the http interface will only succeed if the IP address matches one
 +
        recently used by the account holder in-game
 +
        For more info see: https://mtasa.com/authserialhttp
 +
        Note: This is security critical feature and disabling auth_serial_http can affect visibility in the master server list.
 +
        Values: 0 - Off, 1 - Enabled.  Default - 1 -->
 +
    <auth_serial_http>1</auth_serial_http>
 +
 +
    <!-- This parameter specifies which IP addresses should always pass auth_serial_http checks.
 +
        Values: Comma separated list of IP addresses -->
 +
    <auth_serial_http_ip_exceptions>127.0.0.1</auth_serial_http_ip_exceptions>
 +
 +
    <!-- This parameter specifies if extra security measures are applied to resources which use dbConnect with mysql.
 +
        The extra measures are:
 +
          - Script files cannot be accessed with fileOpen()
 +
          - meta.xml is read only
 +
        *NOTE* This only protects resources which use dbConnect with mysql
 +
        Values: 0 - Off, 1 - Enabled.  Default - 1 -->
 +
    <database_credentials_protection>1</database_credentials_protection>
 +
 +
    <!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
 +
        parameter(s). Optional parameter. -->
 +
    <!-- <module src="sample_win32.dll"/> -->
 +
    <!-- <module src="sample_linux.so"/> -->
 +
   
 +
    <!-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped.
 +
        To specify several resources, add more <resource> parameter(s). -->
 +
 +
    <resource src="admin" startup="1" protected="0"/>
 +
    <resource src="defaultstats" startup="1" protected="0"/>
 +
    <resource src="helpmanager" startup="1" protected="0"/>
 +
    <resource src="joinquit" startup="1" protected="0"/>
 +
    <resource src="mapcycler" startup="1" protected="0"/>
 +
    <resource src="mapmanager" startup="1" protected="0"/>
 +
    <resource src="parachute" startup="1" protected="0"/>
 +
    <resource src="performancebrowser" startup="1" protected="0"/>
 +
    <resource src="reload" startup="1" protected="0"/>
 +
    <resource src="resourcebrowser" startup="1" protected="1" default="true"/>
 +
    <resource src="resourcemanager" startup="1" protected="1"/>
 +
    <resource src="scoreboard" startup="1" protected="0"/>
 +
    <resource src="spawnmanager" startup="1" protected="0"/>
 +
    <resource src="voice" startup="1" protected="0" />
 +
    <resource src="votemanager" startup="1" protected="0"/>
 +
    <resource src="webadmin" startup="1" protected="0"/>
 +
   
 +
    <!-- play is the default freeroam gamemode. Remove the following line to prevent it from starting. -->      
 +
    <resource src="play" startup="1" protected="0"/>
 +
   
 +
 +
</config>
 +
 
 
<br>
 
<br>
 
<br>
 
<br>
  
 
= ACL.xml =
 
= ACL.xml =
[http://megamozg.myarena.ru/zaka4ka/acl.xml скачать]<br>
+
[https://linux.mtasa.com/dl/baseconfig.tar.gz скачать]<br>
 
   <acl>
 
   <acl>
 
     <group name="Everyone">
 
     <group name="Everyone">
Строка 464: Строка 555:
 
<br>
 
<br>
 
= Vehiclecolors.conf =
 
= Vehiclecolors.conf =
[http://megamozg.myarena.ru/zaka4ka/vehiclecolors.conf скачать]
+
[https://linux.mtasa.com/dl/baseconfig.tar.gz скачать]

Текущая версия на 15:30, 19 июня 2018

Если у вас не запускается сервер, повреждён конфиг или Access control list, то здесь вы можете взять стандартные эти файлы.

mtaserver.conf:

скачать

<config>

   <servername>Default MTA Server</servername>
    
   <owner_email_address></owner_email_address>

   <serverip>auto</serverip>

   <serverport>22003</serverport> 
    
   <maxplayers>32</maxplayers>
        
   <httpport>22005</httpport>
   
   <httpdownloadurl></httpdownloadurl>

   <httpmaxconnectionsperclient>5</httpmaxconnectionsperclient>

   <httpdosthreshold>20</httpdosthreshold>

   <http_dos_exclude></http_dos_exclude>

   <allow_gta3_img_mods>none</allow_gta3_img_mods>


   <disableac></disableac>

   <enablesd></enablesd>

   <minclientversion></minclientversion>

   <minclientversion_auto_update>1</minclientversion_auto_update>

   <recommendedclientversion></recommendedclientversion>

   <ase>1</ase>

   <donotbroadcastlan>0</donotbroadcastlan>

   <password></password> 

   <bandwidth_reduction>medium</bandwidth_reduction> 

   <player_sync_interval>100</player_sync_interval>
   <lightweight_sync_interval>1500</lightweight_sync_interval> 
   <camera_sync_interval>500</camera_sync_interval> 
   <ped_sync_interval>400</ped_sync_interval> 
   <unoccupied_vehicle_sync_interval>400</unoccupied_vehicle_sync_interval> 
   <keysync_mouse_sync_interval>100</keysync_mouse_sync_interval> 
   <keysync_analog_sync_interval>100</keysync_analog_sync_interval> 

   <bullet_sync>1</bullet_sync> 

   <vehext_percent>0</vehext_percent>

   <vehext_ping_limit>150</vehext_ping_limit>

   <latency_reduction>0</latency_reduction>

   <idfile>server-id.keys</idfile> 

   <logfile>logs/server.log</logfile>

   <authfile>logs/server_auth.log</authfile>

   <dbfile>logs/db.log</dbfile>

    
   <acl>acl.xml</acl> 

   <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>

   <scriptdebugloglevel>0</scriptdebugloglevel>

   <htmldebuglevel>0</htmldebuglevel>

   <filter_duplicate_log_lines>1</filter_duplicate_log_lines>

   <fpslimit>36</fpslimit>

   <voice>0</voice>
    
   <voice_samplerate>1</voice_samplerate>
    
   <voice_quality>4</voice_quality>


   <backup_path>backups</backup_path>

   <backup_interval>3</backup_interval>

   <backup_copies>5</backup_copies>

   <compact_internal_databases>1</compact_internal_databases>

   <crash_dump_upload>1</crash_dump_upload>

   <auth_serial_groups>Admin</auth_serial_groups>

   <auth_serial_http>1</auth_serial_http>

   <auth_serial_http_ip_exceptions>127.0.0.1</auth_serial_http_ip_exceptions>

   <database_credentials_protection>1</database_credentials_protection>

    

   <resource src="admin" startup="1" protected="0"/>
   <resource src="defaultstats" startup="1" protected="0"/>
   <resource src="helpmanager" startup="1" protected="0"/>
   <resource src="joinquit" startup="1" protected="0"/>
   <resource src="mapcycler" startup="1" protected="0"/>
   <resource src="mapmanager" startup="1" protected="0"/>
   <resource src="parachute" startup="1" protected="0"/>
   <resource src="performancebrowser" startup="1" protected="0"/>
   <resource src="reload" startup="1" protected="0"/>
   <resource src="resourcebrowser" startup="1" protected="1" default="true"/>
   <resource src="resourcemanager" startup="1" protected="1"/>
   <resource src="scoreboard" startup="1" protected="0"/>
   <resource src="spawnmanager" startup="1" protected="0"/>
   <resource src="voice" startup="1" protected="0" />
   <resource src="votemanager" startup="1" protected="0"/>
   <resource src="webadmin" startup="1" protected="0"/>
    
   <resource src="play" startup="1" protected="0"/>
   

</config>



ACL.xml

скачать

 		<acl>
 		   <group name="Everyone">
 			  <acl name="Default"/>
 			  <object name="user.*"/>
 			  <object name="resource.*"/>
 		   </group>
 		   <group name="Moderator">
 			  <acl name="Moderator"/>
 			  <object name="resource.mapcycler"/>
 			  <object name="resource.mapmanager"/>
 			  <object name="resource.resourcemanager"/>
 			  <object name="resource.votemanager"/>
 		   </group>
 		   <group name="SuperModerator">
 			  <acl name="Moderator"/>
 			  <acl name="SuperModerator"/>
 		   </group>
 		   <group name="Admin">
 			  <acl name="Moderator"/>
 			  <acl name="SuperModerator"/>
 			  <acl name="Admin"/>
 			  <acl name="RPC"/>
 			  <object name="resource.admin"/>
 			  <object name="resource.webadmin"/>
 		   </group>
 		   <group name="Console">
 			  <acl name="Moderator"/>
 			  <acl name="SuperModerator"/>
 			  <acl name="Admin"/>
 			  <acl name="RPC"/>
 			  <object name="user.Console"/>
 		   </group>
 		   <group name="RPC">
 			  <acl name="RPC"/>
 		   </group>
 		   <group name="MapEditor">
 			  <acl name="Default"/>
 			  <acl name="MapEditor"/>
 			  <object name="resource.editor_main"/>
 			  <object name="resource.edf"/>
 		   </group>
 		   <group name="raceACLGroup">
 			  <acl name="Default"/>
 			  <acl name="raceACL"/>
 			  <object name="resource.race"/>
 		   </group>
 		   <group name="DevGroup">
 			  <acl name="DevACL"/>
 		   </group>
 		   <acl name="Default">
 			  <right name="general.ModifyOtherObjects" access="false"/>
 			  <right name="general.http" access="false"/>
 			  <right name="command.start" access="false"/>
 			  <right name="command.stop" access="false"/>
 			  <right name="command.stopall" access="false"/>
 			  <right name="command.gamemode" access="false"/>
 			  <right name="command.changemode" access="false"/>
 			  <right name="command.changemap" access="false"/>
 			  <right name="command.stopmode" access="false"/>
 			  <right name="command.stopmap" access="false"/>
 			  <right name="command.skipmap" access="false"/>
 			  <right name="command.restart" access="false"/>
 			  <right name="command.refresh" access="false"/>
 			  <right name="command.refreshall" access="false"/>
 			  <right name="command.addaccount" access="false"/>
 			  <right name="command.delaccount" access="false"/>
 			  <right name="command.debugscript" access="false"/>
 			  <right name="command.chgpass" access="false"/>
 			  <right name="command.loadmodule" access="false"/>
 			  <right name="command.upgrade" access="false"/>
 			  <right name="command.mute" access="false"/>
 			  <right name="command.crun" access="false"/>
 			  <right name="command.srun" access="false"/>
 			  <right name="command.run" access="false"/>
 			  <right name="command.unmute" access="false"/>
 			  <right name="command.kick" access="false"/>
 			  <right name="command.ban" access="false"/>
 			  <right name="command.banip" access="false"/>
 			  <right name="command.unbanip" access="false"/>
 			  <right name="command.reloadbans" access="false"/>
 			  <right name="command.shutdown" access="false"/>
 			  <right name="command.install" access="false"/>
 			  <right name="command.aexec" access="false"/>
 			  <right name="command.whois" access="false"/>
 			  <right name="command.whowas" access="false"/>
 			  <right name="function.executeCommandHandler" access="false"/>
 			  <right name="function.setPlayerMuted" access="false"/>
 			  <right name="function.addAccount" access="false"/>
 			  <right name="function.addBan" access="false"/>
 			  <right name="function.removeBan" access="false"/>
 			  <right name="function.removeAccount" access="false"/>
 			  <right name="function.setAccountPassword" access="false"/>
 			  <right name="function.kickPlayer" access="false"/>
 			  <right name="function.banIP" access="false"/>
 			  <right name="function.banPlayer" access="false"/>
 			  <right name="function.banSerial" access="false"/>
 			  <right name="function.getBansXML" access="false"/>
 			  <right name="function.unbanIP" access="false"/>
 			  <right name="function.unbanSerial" access="false"/>
 			  <right name="function.reloadBans" access="false"/>
 			  <right name="function.setServerPassword" access="false"/>
 			  <right name="function.getServerPassword" access="false"/>
 			  <right name="function.callRemote" access="false"/>
 			  <right name="function.fetchRemote" access="false"/>
 			  <right name="function.startResource" access="false"/>
 			  <right name="function.stopResource" access="false"/>
 			  <right name="function.restartResource" access="false"/>
 			  <right name="function.createResource" access="false"/>
 			  <right name="function.copyResource" access="false"/>
 			  <right name="function.addResourceMap" access="false"/>
 			  <right name="function.addResourceConfig" access="false"/>
 			  <right name="function.removeResourceFile" access="false"/>
 			  <right name="function.setResourceDefaultSetting" access="false"/>
 			  <right name="function.removeResourceDefaultSetting" access="false"/>
 			  <right name="function.redirectPlayer" access="false"/>
 			  <right name="function.aclReload" access="false"/>
 			  <right name="function.aclSave" access="false"/>
 			  <right name="function.aclCreate" access="false"/>
 			  <right name="function.aclDestroy" access="false"/>
 			  <right name="function.aclSetRight" access="false"/>
 			  <right name="function.aclRemoveRight" access="false"/>
 			  <right name="function.aclCreateGroup" access="false"/>
 			  <right name="function.aclDestroyGroup" access="false"/>
 			  <right name="function.aclGroupAddACL" access="false"/>
 			  <right name="function.aclGroupRemoveACL" access="false"/>
 			  <right name="function.aclGroupAddObject" access="false"/>
 			  <right name="function.aclGroupRemoveObject" access="false"/>
 			  <right name="function.refreshResources" access="false"/>
 			  <right name="function.setServerConfigSetting" access="false" />
 			  <right name="function.updateResourceACLRequest" access="false" />
 			  <right name="command.aclrequest" access="false" />
 		   </acl>
 		   <acl name="Moderator">
 			  <right name="general.ModifyOtherObjects" access="false"/>
 			  <right name="command.gamemode" access="true"/>
 			  <right name="command.changemode" access="true"/>
 			  <right name="command.changemap" access="true"/>
 			  <right name="command.stopmode" access="true"/>
 			  <right name="command.stopmap" access="true"/>
 			  <right name="command.skipmap" access="true"/>
 			  <right name="command.mute" access="true"/>
 			  <right name="command.unmute" access="true"/>
 			  <right name="command.whois" access="true"/>
 			  <right name="command.whowas" access="true"/>
 			  <right name="function.setPlayerMuted" access="true"/>
 			  <right name="function.kickPlayer" access="true"/>
 			  <right name="function.banIP" access="true"/>
 			  <right name="function.banPlayer" access="true"/>
 			  <right name="function.banSerial" access="true"/>
 			  <right name="function.getBansXML" access="true"/>
 			  <right name="function.unbanIP" access="true"/>
 			  <right name="function.unbanSerial" access="true"/>
 			  <right name="function.startResource" access="true"/>
 			  <right name="function.stopResource" access="true"/>
 			  <right name="function.restartResource" access="true"/>
 			  <right name="function.redirectPlayer" access="true"/>
 		   </acl>
 		   <acl name="SuperModerator">
 			  <right name="general.ModifyOtherObjects" access="false"/>
 			  <right name="command.start" access="true"/>
 			  <right name="command.stop" access="true"/>
 			  <right name="command.restart" access="true"/>
 			  <right name="command.kick" access="true"/>
 			  <right name="command.ban" access="true"/>
 			  <right name="command.banip" access="true"/>
 			  <right name="command.unbanip" access="true"/>
 			  <right name="command.reloadbans" access="true"/>
 			  <right name="command.refresh" access="true"/>
 			  <right name="command.refreshall" access="true"/>
 			  <right name="command.loadmodule" access="true"/>
 			  <right name="command.addaccount" access="true"/>
 			  <right name="command.delaccount" access="true"/>
 			  <right name="command.chgpass" access="true"/>
 			  <right name="function.addAccount" access="true"/>
 			  <right name="function.removeAccount" access="true"/>
 			  <right name="function.setAccountPassword" access="true"/>
 		   </acl>
 		   <acl name="Admin">
 			  <right name="general.ModifyOtherObjects" access="true"/>
 			  <right name="general.http" access="true"/>
 			  <right name="command.shutdown" access="true"/>
 			  <right name="command.install" access="true"/>
 			  <right name="command.aexec" access="true"/>
 			  <right name="command.debugscript" access="true"/>
 			  <right name="command.upgrade" access="true"/>
 			  <right name="command.crun" access="true"/>
 			  <right name="command.srun" access="true"/>
 			  <right name="command.run" access="true"/>
 			  <right name="function.addBan" access="true"/>
 			  <right name="function.removeBan" access="true"/>
 			  <right name="function.reloadBans" access="true"/>
 			  <right name="function.executeCommandHandler" access="true"/>
 			  <right name="function.setServerPassword" access="true"/>
 			  <right name="function.getServerPassword" access="true"/>
 			  <right name="function.createResource" access="true"/>
 			  <right name="function.copyResource" access="true"/>
 			  <right name="function.addResourceMap" access="true"/>
 			  <right name="function.addResourceConfig" access="true"/>
 			  <right name="function.removeResourceFile" access="true"/>
 			  <right name="function.setResourceDefaultSetting" access="true"/>
 			  <right name="function.removeResourceDefaultSetting" access="true"/>
 			  <right name="function.aclReload" access="true"/>
 			  <right name="function.aclSave" access="true"/>
 			  <right name="function.aclCreate" access="true"/>
 			  <right name="function.aclDestroy" access="true"/>
 			  <right name="function.aclSetRight" access="true"/>
 			  <right name="function.aclRemoveRight" access="true"/>
 			  <right name="function.aclCreateGroup" access="true"/>
 			  <right name="function.aclDestroyGroup" access="true"/>
 			  <right name="function.aclGroupAddACL" access="true"/>
 			  <right name="function.aclGroupRemoveACL" access="true"/>
 			  <right name="function.aclGroupAddObject" access="true"/>
 			  <right name="function.aclGroupRemoveObject" access="true"/>
 			  <right name="function.refreshResources" access="true"/>
 			  <right name="function.setServerConfigSetting" access="true" />
 			  <right name="function.updateResourceACLRequest" access="true" />
 			  <right name="command.aclrequest" access="true" />
 		   </acl>
 		   <acl name="RPC">
 			  <right name="function.callRemote" access="true"/>
 			  <right name="function.fetchRemote" access="true"/>
 		   </acl>
 		   <acl name="MapEditor">
 			  <right name="general.ModifyOtherObjects" access="true"/>
 			  <right name="function.startResource" access="true"/>
 			  <right name="function.stopResource" access="true"/>
 			  <right name="function.restartResource" access="true"/>
 			  <right name="function.createResource" access="true"/>
 			  <right name="function.copyResource" access="true"/>
 			  <right name="function.renameResource" access="true"/>
 			  <right name="function.deleteResource" access="true"/>
 			  <right name="function.addResourceMap" access="true"/>
 			  <right name="function.addResourceConfig" access="true"/>
 			  <right name="function.removeResourceFile" access="true"/>
 			  <right name="function.setResourceDefaultSetting" access="true"/>
 			  <right name="function.removeResourceDefaultSetting" access="true"/>
 			  <right name="function.xmlLoadFile" access="true"/>
 		   </acl>
 		   <acl name="raceACL">
 			  <right name="general.ModifyOtherObjects" access="true"/>
 			  <right name="function.xmlLoadFile" access="true"/>
 			  <right name="function.startResource" access="true"/>
 			  <right name="function.stopResource" access="true"/>
 			  <right name="function.restartResource" access="true"/>
 			</acl>
 		   <acl name="DevACL">
 				<right name="resource.performancebrowser.http" access="true"></right>
 				<right name="resource.ajax.http" access="true"></right>
 		   </acl>
 		</acl>



Vehiclecolors.conf

скачать