-
Notifications
You must be signed in to change notification settings - Fork 145
/
b3.distribution.xml
162 lines (150 loc) · 8.76 KB
/
b3.distribution.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<configuration>
<!--
If you want to generate a new config file and make sure the format is
correct, you can invoke the setup procedure with the
command : b3_run -s b3.xml
This is B3 main config file (the one you specify when you run B3 with the
command : b3_run -c b3.xml)
For any change made in this config file, you have to restart the bot.
Whenever you can specify a file/directory path, the following shortcuts
can be used :
@b3 : the folder where B3 code is installed in
@conf : the folder containing this config file
-->
<settings name="b3">
<!--
Next line: the parser defines the game:
arma2/arma3
bfbc2/bf3/bf4/moh/mohw
cod/cod2/cod4/cod4gr/cod5/cod6/cod7/cod8
iourt41/iourt42
et/etpro/altitude/oa081/smg/smg11/sof2/sof2pm/wop/wop15
chiv/csgo/homefront/insurgency/ravaged/ro2/
(it should NOT be 'changeme')
-->
<set name="parser">changeme</set>
<!-- Your database info: [protocol]://[db-user]:[db-password]@[db-server[:port]]/[db-name] -->
<set name="database">mysql://b3:password@localhost/b3</set>
<!-- Name of the bot -->
<set name="bot_name">b3</set>
<!-- Ingame messages are prefixed with this code, you can use colorcodes -->
<set name="bot_prefix">^0(^2b3^0)^7:</set>
<!-- Time format to use to format time strings (also used by the !time command of the Admin Plugin -->
<set name="time_format">%I:%M%p %Z %m/%d/%y</set>
<!-- The timezone your bot is in -->
<set name="time_zone">CST</set>
<!-- How much detail in the b3 logfile: 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
<set name="log_level">9</set>
<!-- Name of the logfile the bot will generate -->
<set name="logfile">b3.log</set>
</settings>
<settings name="server">
<!-- The RCON pass of your gameserver -->
<set name="rcon_password">password</set>
<!-- The port the server is running on -->
<set name="port">27960</set>
<!-- The gameserver generates a logfile, put the path and name here (very important !) -->
<set name="game_log">games_mp.log</set>
<!-- 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:
<set name="game_log">ftp://username:password@serverhost/path/to/games_mp.log</set>
<set name="game_log">http://serverhost/path/to/games_mp.log</set>
Note: you can protect your http access with a .htaccess, b3 can authenticate itself.
-->
<!-- The public IP your gameserver is residing on -->
<set name="public_ip">127.0.0.1</set>
<!-- The IP the bot can use to send RCON commands to (127.0.0.1 when on the same box) -->
<set name="rcon_ip">127.0.0.1</set>
<!-- Is the gameserver running PunkBuster Anticheat: on/off -->
<set name="punkbuster">on</set>
<!-- 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) -->
<set name="delay">0.33</set>
<!-- Number of lines to process per second. Set a lower value to consume less CPU ressources -->
<set name="lines_per_second">50</set>
</settings>
<settings name="autodoc">
<!-- Autodoc will generate a user documentation for all B3 commands
* type : can be one of : html, htmltable, xml, json
* maxlevel : if you want to exclude commands reserved for higher levels
* destination : can be a file or a ftp url
by default, a html documentation is created in your conf folder
-->
<set name="type">html</set>
<set name="maxlevel">100</set>
<!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->
<!-- <set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</set> -->
</settings>
<settings name="update">
<!-- B3 checks if a new version is available at startup. Choose here what channel you want to check against.
Available channels are :
stable : will only show stable releases of B3
beta : will also check if a beta release is available
dev : will also check if a development release is available
If you don't know what channel to use, use 'stable'.
skip : will skip the update check
-->
<set name="channel">stable</set>
</settings>
<settings name="messages">
<set name="kicked_by">$clientname^7 was kicked by $adminname^7 $reason</set>
<set name="kicked">$clientname^7 was kicked $reason</set>
<set name="banned_by">$clientname^7 was banned by $adminname^7 $reason</set>
<set name="banned">$clientname^7 was banned $reason</set>
<set name="temp_banned_by">$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason</set>
<set name="temp_banned">$clientname^7 was temp banned for $banduration^7 $reason</set>
<set name="unbanned_by">$clientname^7 was un-banned by $adminname^7 $reason</set>
<set name="unbanned">$clientname^7 was un-banned^7 $reason</set>
</settings>
<settings name="plugins">
<set name="external_dir">@b3/extplugins</set>
</settings>
<plugins>
<!--
You can load a plugin but having it disabled by default. This
allows to later enabled it ingame with the !enable command. To do so use
the following syntax :
<plugin name="adv" config="@conf/plugin_adv.xml" disabled="yes"/>
You can override the plugin path (official plugins and extplugins folders)
by specifying the exact location of the plugin file with the 'path' attribute :
<plugin name="adv" config="@conf/plugin_adv.xml" path="c:/somewhere/else/"/>
-->
<plugin name="admin" config="@conf/plugin_admin.ini" />
<plugin name="adv" config="@conf/plugin_adv.xml" />
<plugin name="censor" config="@conf/plugin_censor.xml" />
<plugin name="cmdmanager" config="@conf/plugin_cmdmanager.ini" />
<plugin name="pingwatch" config="@conf/plugin_pingwatch.ini" />
<plugin name="pluginmanager" config="@conf/plugin_pluginmanager.ini" />
<plugin name="punkbuster" config="@conf/plugin_punkbuster.ini" />
<plugin name="spamcontrol" config="@conf/plugin_spamcontrol.ini" />
<plugin name="stats" config="@conf/plugin_stats.ini" />
<plugin name="status" config="@conf/plugin_status.ini" />
<plugin name="tk" config="@conf/plugin_tk.ini" />
<plugin name="welcome" config="@conf/plugin_welcome.ini" />
<!-- The following plugins have been included recently in B3 as official plugins. They are disabled by
default. You can enable them by removing the surrounding comment symbols. -->
<!-- NON GAME SPECIFIC -->
<!-- <plugin name="banlist" config="@conf/plugin_banlist.xml" /> -->
<!-- <plugin name="chatlogger" config="@conf/plugin_chatlogger.ini" /> -->
<!-- <plugin name="countryfilter" config="@conf/plugin_countryfilter.ini" /> -->
<!-- <plugin name="customcommands" config="@conf/plugin_customcommands.ini" /> -->
<!-- <plugin name="geowelcome" config="@conf/plugin_geowelcome.ini" /> -->
<!-- <plugin name="ipban" config="@conf/plugin_ipban.ini" /> -->
<!-- <plugin name="location" config="@conf/plugin_location.ini" /> -->
<!-- <plugin name="translator" config="@conf/plugin_translator.ini" /> -->
<!-- <plugin name="xlrstats" config="@conf/plugin_xlrstats.ini" /> -->
<!-- BF3 -->
<!-- <plugin name="poweradminbf3" config="@conf/plugin_poweradminbf3.ini" /> -->
<!-- COD7 -->
<!-- <plugin name="poweradmincod7" config="@conf/plugin_poweradmincod7.xml" /> -->
<!-- MOH -->
<!-- <plugin name="poweradminmoh" config="@conf/plugin_poweradminmoh.xml" /> -->
<!-- UrT 4.2 -->
<!-- <plugin name="callvote" config="@conf/plugin_callvote.ini" /> -->
<!-- <plugin name="jumper" config="@conf/plugin_jumper.ini" /> -->
<!-- <plugin name="spawnkill" config="@conf/plugin_spawnkill.ini" /> -->
<!-- UrT 4.1 / 4.2 -->
<!-- <plugin name="poweradminurt" config="@conf/plugin_poweradminurt.ini" /> -->
<!-- <plugin name="urtserversidedemo" config="@conf/plugin_urtserversidedemo.ini" /> -->
</plugins>
</configuration>