This repository has been archived by the owner on Dec 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.rst
209 lines (140 loc) · 5.75 KB
/
README.rst
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
Power Admin Battlefield 3 for Big Brother Bot
=============================================
http://www.bigbrotherbot.net
Description
-----------
This plugin brings Battlefield 3 specific features to Bigbrotherbot.
----
*NOTE: since B3 v1.10.1 beta this plugin has been included in the standard plugins set, thus all patches and updates will be performed in the official B3 repository.
----
Requirements
------------
- requires B3 v1.8.3 or later
Installation
------------
- copy poweradminbf3.py into b3/extplugins
- copy the files from the conf folder into the folder that contains your main b3.xml config file
- add to the plugins section of your main b3 config file::
<plugin name="poweradminbf3" config="@conf/plugin_poweradminbf3.ini" />
Commands
--------
!roundnext
Switch to next round, without ending current
!roundrestart
Restart current round
!kill <player> [reason]
Kill a player without scoring effects
!changeteam <player>
move <player> to the other team
!swap <player A> [<player B>]
swap player A's team/squad with player B's team/squad
!setnextmap <map> [, <gamemode> [, <rounds>]]
select the next map to load after current round. If the map is not in the current map rotation list, then it is added.
When no gamemode or no rounds is specified, then uses the current values.
Parameters MUST be separated by a comma ','.
Usage example :
- `!setnextmap firestorm, conquest, 2`
- `!setnextmap bazaar, rush, 1`
!punkbuster <punkbuster command>
run a punkbuster command
!loadconfig <config file>
load a config file to change server vars, map list, game modes
!listconfig
list available config files
!scramble
(un)request scrambler to scramble teams at next round
!scramblemode <random/score>
set the scrambling strategy
!autoscramble <off/round/map>
set the auto-scrambling mode
!unlockmode <all|common|stats|none>
set the weapons unlocks
!vehicles <on|off>
(en|dis)able vehicles spawn
!autobalance <off|on>
(de)activate the autobalancer
!autoassign <off|on>
(de)activate the autoassigner which puts connecting player into the right team
!endround <winning team id>
end current round and set winning team
!idle <off|on|min>
set the idle kicker off/on or to the number of minute you wish
!serverreboot
restart the BF3 gameserver
!yell <msg>
yell a message to all players
!yellplayer <player name> <msg>
yell a message to a given player
!yellteam <msg>
yell a message to your teammates
!yellsquad <msg>
yell a message to your squadmates
!nuke <all|us|ru>
kill all players or players from a given team
!viplist [filter]
display VIP names
If `filter` is provided then only display names matching that filter.
Will display first connected VIPs and then at most the 1st 15 VIP names from the list.
!vips
display the currently connected VIPs
!vipadd <player>
add `player` to the VIP list
If the player you want to add is connected, then you don't have to enter its full name as a parameter.
!vipremove <player>
remove `player` from the VIP list
If the player you want to add is connected, then you don't have to enter its full name as a parameter.
Note that you won't be able to remove admins of higher level that you are.
!vipclear
clear the VIP list
!vipsave
write the VIP list to the disk
!vipload
load the VIP list from the disk
!gunmaster <index>
set weapon preset for the next Gunmaster round
Other features
--------------
CONFIG MANAGER
~~~~~~~~~~~~~~
Configmanager can automatically load server config scripts at each map change based on current
gamemode and/or map. It will first look if a b3_<gametype>_<mapname>.cfg exists
(example: b3_teamdeathmatch0_mp001.cfg) and execute it. If it doesn't exist, it checks for
b3_<gametype>.cfg (example: b3_rushlarge0.cfg).
If none of them exist, it will look for b3_main.cfg. This file makes it possible to reset certain
vars, so always create a b3_main.cfg if you want to enable and use this feature.
Example Scenario
~~~~~~~~~~~~~~~~
You are running a server with mixed gametypes of Conquest and Rush and you want to play Rush maps
without vehicles. What you need to do is to create a file called "b3_rushlarge0.cfg" inside your
configmanager folder with required settings. "vars.vehicleSpawnAllowed false" in this case. Also
make sure you add "vars.vehicleSpawnAllowed True" in your b3_main.cfg so that when a conquest map
comes in rotation vehicles are enabled again.
Please take note that config manager plugin supports only instantaneous server vars.
Support
-------
Support is only provided on www.bigbrotherbot.net forums on the following topic :
http://forum.bigbrotherbot.net/plugins-by-courgette/poweradmin-bf3/
Changelog
---------
1.0
first stable realease
1.1
fixes !yell after B3 1.8.0 changes
1.2
adds config option scramber\gamemodes_blacklist to have the auto scrambler ignoring some gamemodes. requires B3 1.8.2dev1+
1.3
Refactors autobalance logic flow, and add setting option team_swap_threshold_prop
1.3.1
Fixes issue with command !setnextmap since B3 1.8.2
1.4
Adds commands !viplist, !vips, !vipadd, !vipremove, !vipclear, !vipload, !vipsave
1.5
Command !setnextmap now accepts new optional parameters : <map> [, <gamemode> [, <rounds>]]
Contrib
-------
- *features* can be discussed on the `B3 forums <http://forum.bigbrotherbot.net/plugins-by-courgette/poweradmin-bf3/>`_
- documented and reproducible *bugs* can be reported on the `issue tracker <https://github.com/courgette/b3-plugin-poweradminbf3/issues>`_
- *patches* are welcome. Send me a `pull request <http://help.github.com/send-pull-requests/>`_. It is best if your patch provides tests.
.. image:: https://secure.travis-ci.org/thomasleveil/b3-plugin-poweradminbf3.png?branch=master
:alt: Build Status
:target: http://travis-ci.org/thomasleveil/b3-plugin-poweradminbf3