Guest User

Untitled

a guest
Nov 17th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.79 KB | None | 0 0
  1. <configuration>
  2. <!--
  3. If you want to generate a new config file and make sure the format is
  4. correct, you can invoke the setup procedure with the
  5. command : b3_run -s b3.xml
  6.  
  7. This is B3 main config file (the one you specify when you run B3 with the
  8. command : b3_run -c b3.xml)
  9.  
  10. For any change made in this config file, you have to restart the bot.
  11. Whenever you can specify a file/directory path, the following shortcuts
  12. can be used :
  13. @b3 : the folder where B3 code is installed in
  14. @conf : the folder containing this config file
  15. -->
  16. <settings name="b3">
  17. <!--
  18. Next line: the parser defines the game:
  19. cod/cod2/cod4/cod5/cod6/cod7/cod8
  20. iourt41/iourt42
  21. bfbc2/bf3/moh
  22. etpro/altitude/oa081/smg/sof2/wop/wop15
  23. homefront/ro2/csgo/ravaged/arma2
  24. (it should NOT be 'changeme')
  25. -->
  26. <set name="parser">cod4x</set>
  27. <!-- Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
  28. <set name="database">mysql://b3:@127.0.0.1/b3bot</set>
  29. <!-- Name of the bot -->
  30. <set name="bot_name">b3</set>
  31. <!-- Ingame messages are prefixed with this code, you can use colorcodes -->
  32. <set name="bot_prefix">^0(^2b3^0)^7:</set>
  33. <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
  34. <!-- The timezone your bot is in -->
  35. <set name="time_zone">EST</set>
  36. <!-- How much detail in the b3 logfile: 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
  37. <set name="log_level">9</set>
  38. <!-- Name of the logfile the bot will generate -->
  39. <set name="logfile">b3.log</set>
  40. </settings>
  41. <settings name="server">
  42. <!-- The RCON pass of your gameserver -->
  43. <set name="rcon_password"></set>
  44. <!-- The port the server is running on -->
  45. <set name="port">28960</set>
  46. <!-- The gameserver generates a logfile, put the path and name here (very important !) -->
  47. <set name="game_log">C:\Users\Server\Desktop\17.7.2\main\games_mp.log</set>
  48. <!-- If you want to run b3 on a different computer than where your server reside (remote access to the gamelog), you can connect via ftp or http by using the following syntax:
  49. <set name="game_log">ftp://username:password@serverhost/path/to/games_mp.log</set>
  50. <set name="game_log">http://serverhost/path/to/games_mp.log</set>
  51. Note: you can protect your http access with a .htaccess, b3 can authenticate itself.
  52. -->
  53. <!-- The public IP your gameserver is residing on -->
  54. <set name="public_ip">192.168.1.5</set>
  55. <!-- The IP the bot can use to send RCON commands to (127.0.0.1 when on the same box) -->
  56. <set name="rcon_ip">192.168.1.5</set>
  57. <!-- Is the gameserver running PunkBuster Anticheat: on/off -->
  58. <set name="punkbuster">off</set>
  59. <!-- Delay between each log reading. Set a higher value to consume less disk ressources or bandwidth if you remotely connect (ftp or http remote log access) -->
  60. <set name="delay">0.33</set>
  61. <!-- Number of lines to process per second. Set a lower value to consume less CPU ressources -->
  62. <set name="lines_per_second">50</set>
  63. </settings>
  64. <settings name="autodoc">
  65. <!-- Autodoc will generate a user documentation for all B3 commands
  66. * type : can be one of : html, htmltable, xml
  67. * maxlevel : if you want to exclude commands reserved for higher levels
  68. * destination : can be a file or a ftp url
  69. by default, a html documentation is created in your conf folder
  70. -->
  71. <set name="type">html</set>
  72. <set name="maxlevel">100</set>
  73. <!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->
  74. <!-- <set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</set> -->
  75. </settings>
  76. <settings name="update">
  77. <!-- B3 checks if a new version is available at startup. Choose here what channel you want to check against.
  78. Available channels are :
  79. stable : will only show stable releases of B3
  80. beta : will also check if a beta release is available
  81. dev : will also check if a development release is available
  82. If you don't know what channel to use, use 'stable'
  83. -->
  84. <set name="channel">stable</set>
  85. </settings>
  86. <settings name="messages">
  87. <set name="kicked_by">$clientname^7 was kicked by $adminname^7 $reason</set>
  88. <set name="kicked">$clientname^7 was kicked $reason</set>
  89. <set name="banned_by">$clientname^7 was banned by $adminname^7 $reason</set>
  90. <set name="banned">$clientname^7 was banned $reason</set>
  91. <set name="temp_banned_by">$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason</set>
  92. <set name="temp_banned">$clientname^7 was temp banned for $banduration^7 $reason</set>
  93. <set name="unbanned_by">$clientname^7 was un-banned by $adminname^7 $reason</set>
  94. <set name="unbanned">$clientname^7 was un-banned $reason</set>
  95. </settings>
  96. <settings name="plugins">
  97. <set name="external_dir">@b3/extplugins</set>
  98. </settings>
  99. <plugins>
  100. <!-- Define here the plugins you want to load.
  101.  
  102. Plugin order is important. Plugins that add new in-game commands all
  103. depend on the admin plugin. Make sure to have the admin plugin before
  104. them.
  105.  
  106. You can load a plugin but having it diabled by default. This
  107. allows to later enabled it ingame with the !enable command. To do so use
  108. the following syntax :
  109. <plugin name="adv" config="@conf/plugin_adv.xml" disabled="yes"/>
  110.  
  111. You can override the plugin path (official plugins and extplugins folders)
  112. by specifying the exact location of the plugin file with the 'path' attribute :
  113. <plugin name="adv" config="@conf/plugin_adv.xml" path="c:/somewhere/else/"/>
  114.  
  115. -->
  116. <plugin name="admin" config="@conf/plugin_admin.xml" />
  117. <plugin name="adv" config="@conf/plugin_adv.xml" />
  118. <plugin name="welcome" config="@conf/plugin_welcome.xml" />
  119. <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
  120. <plugin name="auth" config="@b3/extplugins/conf/plugin_auth.xml"/>
  121.  
  122. <!-- The next plugins are external, 3rd party plugins and should reside in the external_dir. Example: -->
  123. <!-- plugin config="@b3/extplugins/conf/newplugin.xml" name="newplugin" -->
  124.  
  125. <!-- You can add new/custom plugins to this list using the same form as above. -->
  126.  
  127. <!--
  128. This is a non-standard plugin, and quite resource heavy. Please take
  129. a look in the B3 forums (look for XLR Extensions) for more
  130. information before enabling this. Extra database tables are
  131. necessary.
  132. <plugin name="xlrstats" config="@b3/extplugins/conf/xlrstats.xml"/>
  133. -->
  134.  
  135. <!-- You can find many others plugin for B3 which can extend functionalities a lot !
  136. Please take a look at the official website for more informations. -->
  137. </plugins>
  138. </configuration>
Add Comment
Please, Sign In to add comment