Skip to content

Commit

Permalink
[POWERADMINCOD7] added poweradmincod7 plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
danielepantaleone authored and thomasleveil committed May 27, 2015
1 parent 26d5313 commit 50b507c
Show file tree
Hide file tree
Showing 5 changed files with 592 additions and 0 deletions.
6 changes: 6 additions & 0 deletions b3/conf/b3.distribution.ini
Expand Up @@ -114,6 +114,12 @@ welcome: @conf/plugin_welcome.ini
## BF3
# poweradminbf3: @conf/plugin_poweradminbf3.ini

## COD7
# poweradmincod7: @conf/plugin_poweradmincod7.xml

## MOH
# poweradminmoh: @conf/plugin_poweradminmoh.xml

## UrT 4.2
# callvote: @conf/plugin_callvote.ini
# jumper: @conf/plugin_jumper.ini
Expand Down
6 changes: 6 additions & 0 deletions b3/conf/b3.distribution.xml
Expand Up @@ -143,6 +143,12 @@
<!-- 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" /> -->
Expand Down
28 changes: 28 additions & 0 deletions b3/conf/plugin_poweradmincod7.xml
@@ -0,0 +1,28 @@
<configuration plugin="poweradmincod7">
<settings name="commands">
<!--
Following command works on RANKED servers only
-->
<set name="pasetmap-setmap">40</set>
<!--
Following commands work both on RANKED and UNRANKED servers
-->
<set name="paplaylist-playlist">40</set>
<set name="pagetplaylists-getplaylists">100</set>
<set name="pasetplaylist-setplaylist">100</set>
<set name="paexcludemaps-excludemaps">100</set>
<set name="paversion">1</set>
<set name="paident-id">40</set>
<set name="paset">100</set>
<set name="paget">100</set>
<set name="palistcfg-listcfg">100</set>
<set name="pasetdlc-setdlc">100</set>
<set name="paload-load">100</set>
<!--
Following commands work on UNRANKED servers only
-->
<set name="pafastrestart-fastrestart">40</set>
<set name="pamaprestart-maprestart">40</set>
<set name="pagametype-gametype">40</set>
</settings>
</configuration>
60 changes: 60 additions & 0 deletions b3/plugins/poweradmincod7/README.md
@@ -0,0 +1,60 @@
PowerAdminCoD7 plugin for Big Brother Bot (www.bigbrotherbot.net)
===================================================================

Author: Freelander - freelander@bigbrotherbot.net
Author URI: http://www.bigbrotherbot.net
Author URI: http://www.fps-gamer.net

Description
-----------

This plugin adds some extra functionality to B3 in both ranked and unranked CoD:Blackops servers.

Commands
--------

Ranked servers only:
!pasetmap <mapname> - Set the next map in rotation

Ranked/Unranked servers:
!paplaylist - Display current playlist
!pagetplaylists - Display available playlists
!pasetplaylist <playlist_number> - Set a playlist
!paexcludemaps <maps> - Excludes entered maps from rotation. Example: !paexludemaps mp_villa mp_nuked mp_array
!paversion - Identifies PowerAdminCoD7 version and creator
!paident [<playername>] - Show the ip and guid of a player
!paset <cvar> <value> - Set a server cvar to a certain value
!paget <cvar> - Returns the value of a server cvar
!pasetdlc <dlc number> <on | off> - Turn given DLC mappack on or off. Example: !pasetdlc 1 off.
!palistcfg - List available server config files in b3 conf folder
!paload <configfile.cfg> - Load a server configfile.

Unranked servers only:
!pafastrestart - Restart current map without reloading it
!pamaprestart - Restart current map
!pagametype <gametype> - Change gametype. Example: !gametype tdm

Changelog
---------

* 19.04.2011 - v1.0
- Initial release
* 02.06.2011 - v1.1
- DLC2 maps added
* 09.06.2011 - v1.2
- !pasetmap (!setmap) command now works both with console map names and easy map names
as well as console map name without "mp_" at the beginning. (as printed out
by !maps command)
- Added new commands !pasetdlc, !palistcfg and !paload
* 28.07.2011 - 1.3
- DLC3 maps added
* 19.05.2015 - 1.4
- made the plugin official

Notes
-----

If you're loading a config file using !paload command, it may take a while to load the
complete file depending on the file size. Note that, during the loading process, other B3 commands
issued will be queued but they may timeout. Hence it is NOT recommended to load config files in peak
server times.

0 comments on commit 50b507c

Please sign in to comment.