Yoshi-Networks

mtaserver.conf

Jul 13th, 2012
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.65 KB | None | 0 0
  1. <config>
  2.  
  3. <!-- This parameter specifies the name the server will be visible as in the ingame server browser
  4. and on Game-Monitor. It is a required parameter. -->
  5. <servername>MTA - Free Roam Server</servername>
  6.  
  7. <!-- ONLY USE THIS PARAMETER IF YOU ARE SURE OF WHAT YOU ARE DOING - it is generally only
  8. needed for professional servers and should be left blank otherwise.
  9. This parameter specifies the IP to use for servers that have multiple IP addresses. If left
  10. blank, it will default to server's standard local IP address. -->
  11. <serverip></serverip>
  12. <!-- SERVERIP SHOULD BE LEFT BLANK UNLESS YOU ARE SURE OF WHAT YOU ARE DOING -->
  13.  
  14. <!-- This parameter specifies the UDP port on which the server will be accepting incoming player
  15. connections; default value: 22003. It is a required parameter. -->
  16. <serverport>22003</serverport>
  17.  
  18. <!-- This parameter specifies the number of maximum player slots available on the server; default
  19. value: 32. It is a required parameter. -->
  20. <maxplayers>32</maxplayers>
  21.  
  22. <!-- This parameter specifies whether the builtin http server will be used.
  23. Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
  24. <httpserver>1</httpserver>
  25.  
  26. <!-- This parameter specifies the TCP port on which the server will be accepting incoming http
  27. connections. It can be set to the same value as <serverport>. It is a required parameter
  28. if <httpserver> is set to 1. -->
  29. <httpport>22005</httpport>
  30.  
  31. <!-- If set, this parameter specifies the external URL from which clients will be able to download
  32. needed resources ingame. Otherwise they will download them directly from the server. -->
  33. <httpdownloadurl></httpdownloadurl>
  34.  
  35. <!-- This parameter specifies whether the client files for hosting on an external web server should be
  36. automatically copied into mods/deathmatch/resource-cache/http-client-files/
  37. Only relevant if <httpdownloadurl> is set.
  38. Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
  39. <httpautoclientfiles>1</httpautoclientfiles>
  40.  
  41. <!-- This parameter is deprecated. Please use httpmaxconnectionsperclient instead-->
  42. <httpconnectionsperclient></httpconnectionsperclient>
  43.  
  44. <!-- This parameter limits the number of http connections each client can make. Depending on the type
  45. of http server that is used, a lower figure may reduce download timeouts.
  46. Available range: 1 to 8. -->
  47. <httpmaxconnectionsperclient>5</httpmaxconnectionsperclient>
  48.  
  49. <!-- This parameter limits the number http connections that an IP can initiate over a short period of time.
  50. Available range: 1 to 100. default value: 20 -->
  51. <httpdosthreshold>20</httpdosthreshold>
  52.  
  53. <!-- By default, the server will block the use of customized GTA:SA data files. -->
  54. <!-- To allow specific client files, add one or more of the following: -->
  55. <!-- <client_file name="data/carmods.dat" verify="0"/> -->
  56.  
  57. <!-- Comma separated list of disabled anti-cheats.
  58. e.g. To disable anti-cheat #2 and #3, use: 2,3 -->
  59. <disableac></disableac>
  60.  
  61. <!-- Comma separated list of enabled special detections.
  62. A special detection is a type of anti-cheat for (usually) harmless game modifications.
  63. Competitive servers may wish to enable special detections, but most servers should leave this setting blank.
  64. e.g. To enable special detection #12 use: 12 -->
  65. <enablesd></enablesd>
  66.  
  67. <!-- This parameter specifies whether communications between the server and client is encrypted.
  68. Encryption can help prevent network data being viewed and modified.
  69. Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. -->
  70. <networkencryption>1</networkencryption>
  71.  
  72. <!-- Minimum client version. Clients with a lower version will not be allowed to connect. After
  73. disconnection, clients will be given an opportunity to download an update.
  74. If left blank, this setting is disabled and there are no restrictions on who can connect.
  75. Version numbers are described here: http://wiki.multitheftauto.com/wiki/GetPlayerVersion
  76. and look like this: 1.1.0-9.03100.0
  77. Note that this setting only determines if the client should be prompted to update. The actual
  78. build number they receive will be the highest available. See: http://nightly.mtasa.com/ver -->
  79. <minclientversion></minclientversion>
  80.  
  81. <!-- Recommended client version. When connecting, if clients have a lower version, they will be given
  82. the option to download an update. If left blank, this setting is disabled.
  83. Note that this setting only determines if the client should be prompted to update. The actual
  84. build number they receive will be the highest available. See: http://nightly.mtasa.com/ver -->
  85. <recommendedclientversion></recommendedclientversion>
  86.  
  87. <!-- This parameter can be used to make the server report to Game-Monitor master servers, allowing it to
  88. be visible in the ingame server browser. An additional UDP port needs to be available for this to
  89. work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port
  90. will be 22126 ). Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0. -->
  91. <ase>1</ase>
  92.  
  93. <!-- This parameter allows you to disable LAN broadcasting. -->
  94. <donotbroadcastlan>0</donotbroadcastlan>
  95.  
  96. <!-- If set, players will have to provide a password specified below, before they can connect to the
  97. server. If left blank, server doesn't require a password from them. -->
  98. <password></password>
  99.  
  100. <!-- This parameter reduces the server's bandwidth usage by using various optimizations.
  101. Values: none, medium or maximum ; default value: medium -->
  102. <bandwidth_reduction>medium</bandwidth_reduction>
  103.  
  104. <!-- This parameter specifies whether or not to run the network synchronization on another thread.
  105. Enabling will make the sync smoother, but may increase cpu usage slightly.
  106. Values: 0 - Off, 1 - On. Default - 1 -->
  107. <threadnet>1</threadnet>
  108.  
  109. <!-- Specifies the location and file name of this servers unique private key.
  110. This is used to prevent private files saved on the client from being read by other servers.
  111. More infomation about client private files can be found here: http://wiki.multitheftauto.com/wiki/Filepath
  112. Keep a backup of this file in a safe place. Default value: server-id.keys-->
  113. <idfile>server-id.keys</idfile>
  114.  
  115. <!-- Specifies the location and name of the main server log file. If left blank, server won't be saving this file. -->
  116. <logfile>logs/server.log</logfile>
  117.  
  118. <!-- As well as the main log file, login successes and failures are logged here for easy reviewing of security issues.
  119. If left blank, this file is not used -->
  120. <authfile>logs/server_auth.log</authfile>
  121.  
  122. <!-- Specifies the location and name of the file used to log database queries.
  123. The server command 'debugdb' sets the amount of logging. -->
  124. <dbfile>logs/db.log</dbfile>
  125.  
  126. <!-- This parameter specifies the location and name of the Access Control List settings file. If left
  127. blank, server will use acl.xml file, located in the same folder as this configuration file. -->
  128. <acl>acl.xml</acl>
  129.  
  130. <!-- Specifies the location and name of the debugscript log file. If left blank, server won't be saving this file. -->
  131. <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>
  132.  
  133. <!-- Specifies the level of the debugscript log file. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
  134. <scriptdebugloglevel>0</scriptdebugloglevel>
  135.  
  136. <!-- Specifies the level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. -->
  137. <htmldebuglevel>0</htmldebuglevel>
  138.  
  139. <!-- Specifies the frame rate limit that will be applied to connecting clients.
  140. Available range: 25 to 100. Default: 36. -->
  141. <fpslimit>36</fpslimit>
  142.  
  143. <!-- Specifies whether or not players should automatically be logged in based on their IP adresses -->
  144. <autologin>0</autologin>
  145.  
  146. <!-- This parameter specifies whether or not to enable player voice chat in-game
  147. Values: 0 - disabled , 1 - enabled -->
  148. <voice>0</voice>
  149.  
  150. <!-- This parameter specifies the sample rate for voice chat. 'voice' parameter must be set to 1 for this to be effective.
  151. Higher settings use more bandwidth and increase the sampling quality of voice chat
  152. Values: 0 - Narrowband (8kHz), 1 - Wideband (16kHz), 2 - Ultrawideband (32kHz). Default - 1 -->
  153. <voice_samplerate>1</voice_samplerate>
  154.  
  155. <!-- This parameter specifies the voice quality for voice chat. 'voice' parameter must be set to 1 for this to be effective.
  156. Higher settings use more bandwidth and increase the the overall quality of voice chat
  157. Available range: 0 to 10. Default - 4 -->
  158. <voice_quality>4</voice_quality>
  159.  
  160. <!-- Specifies the voice bitrate, in bps. This optional parameter overrides the previous two settings.
  161. If not set, MTA handles this automatically. Use with care. -->
  162. <!-- <voice_bitrate>24600</voice_bitrate> -->
  163.  
  164. <!-- This parameter specifies the path to use for a basic backup of some server files.
  165. Note that basic backups are only made during server startup. Default value: backups -->
  166. <backup_path>backups</backup_path>
  167.  
  168. <!-- This parameter specifies the number of days between each basic backup.
  169. Backups are only made during server startup, so the actual interval maybe much longer.
  170. Setting backup_interval to 0 will disable backups
  171. Available range: 0 to 30. Default - 3 -->
  172. <backup_interval>3</backup_interval>
  173.  
  174. <!-- This parameter specifies the maximum number of backup copies to keep.
  175. Setting backup_copies to 0 will disable backups
  176. Available range: 0 to 100. Default - 5 -->
  177. <backup_copies>5</backup_copies>
  178.  
  179. <!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module>
  180. parameter(s). Optional parameter. -->
  181. <!-- <module src="sample_win32.dll"/> -->
  182. <!-- <module src="sample_linux.so"/> -->
  183.  
  184. <!-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped.
  185. To specify several resources, add more <resource> parameter(s). -->
  186.  
  187. <resource src="admin" startup="1" protected="0"/>
  188. <resource src="defaultstats" startup="1" protected="0"/>
  189. <resource src="helpmanager" startup="1" protected="0"/>
  190. <resource src="joinquit" startup="1" protected="0"/>
  191. <resource src="mapcycler" startup="1" protected="0"/>
  192. <resource src="mapmanager" startup="1" protected="0"/>
  193. <resource src="parachute" startup="1" protected="0"/>
  194. <resource src="resourcebrowser" startup="1" protected="1" default="true"/>
  195. <resource src="resourcemanager" startup="1" protected="1"/>
  196. <resource src="scoreboard" startup="1" protected="0"/>
  197. <resource src="spawnmanager" startup="1" protected="0"/>
  198. <resource src="voice" startup="1" protected="0" />
  199. <resource src="votemanager" startup="1" protected="0"/>
  200. <resource src="webadmin" startup="1" protected="0"/>
  201.  
  202. <!-- play is the default freeroam gamemode. Remove the following line to prevent it from starting. -->
  203. <resource src="play" startup="1" protected="0"/>
  204.  
  205. </config>
Add Comment
Please, Sign In to add comment