documentation
download & extend
community & support
B3 hosting
May 24, 2012, 12:09:01 PM
Home
Features
Get Started
Supported Games
Forums
Help
Search
Tags
Groupware
Login
Register
Activation Mail
It appears you have not registered with our community. To register please click here ...
You are here:
Big Brother Bot Forum
Add-Ons
Plugins Discussion
Plugins by Freelander
(Moderator:
Freelander
)PowerAdminCoD7
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: PowerAdminCoD7 (Read 4147 times)
Freelander
XLRstats dev.
Dev. Team
OS: Linux
Type: Home user
Gameservers:
COD5, COD7, BF3
Posts: 947
Offline
Support Specialty:
XLRstats webfront
PowerAdminCoD7
«
on:
April 19, 2011, 04:00:19 AM »
servers using this plugin
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 - v1.3
- DLC3 maps added
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.
Download
«
Last Edit: February 18, 2012, 02:42:04 AM by Freelander
»
Logged
Follow Me
@fps_gamer_net
- Github:
XLRstats
|
BigBrotherBot
|
Aimbotdetector
|
Poweradmincod7
[DAD]GrimReaper
Beta Testers
OS: Windows
Type: Renting Server, no B3
Gameservers:
COD4 | COD2 | COD BO (Ranked and Unranked) | MOH 2010
Posts: 129
Offline
Re: PowerAdminCoD7
«
Reply #1 on:
April 19, 2011, 06:24:38 AM »
Thanks, this is now running on the [DAD] Servers, we will test it tonight
Logged
Drummer611
Full Member
OS: Windows
Type: --No B3 installed--
Posts: 61
Offline
Re: PowerAdminCoD7
«
Reply #2 on:
April 19, 2011, 09:33:46 AM »
Good job Freelander! I'll be testing that in my Ranked server.
Logged
Platanos
Beta Testers
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
BF3,Cod2,Cod4,Cod5,Cod6,Cod7
Posts: 257
Offline
Re: PowerAdminCoD7
«
Reply #3 on:
April 26, 2011, 10:44:03 AM »
Hi
i test this on my ranked server but i got an error mp_nuketown is not a stock CoD7 map ??
110426 20:39:38 CONSOLE 140:51 say;9309652;1;[ACF]Silencer;!setmap nuketown
110426 20:39:38 VERBOSE Queueing event Say !setmap nuketown
110426 20:39:38 VERBOSE Parsing Event: Say: AdminPlugin
110426 20:39:38 DEBUG AdminPlugin: OnSay handle 5:"!setmap nuketown"
110426 20:39:38 DEBUG AdminPlugin: Handle command !setmap nuketown
110426 20:39:38 DEBUG Poweradmincod7Plugin: Requested map for next round is mp_nuketown
110426 20:39:38 VERBOSE RCON sending (195.122.135.110:3244) 'tell 1 ^0(^2ACF^0)^7: ^3[pm]^7 mp_nuketown is not a stock CoD7 map, please check your spelling and try again!'
Logged
Spruehwurstheinz
Beta Testers
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline
Re: PowerAdminCoD7
«
Reply #4 on:
April 26, 2011, 11:00:27 AM »
yeah, well, mp_nuketown is not a map, it tells you the truth.
mp_nuked
is the name of the map.
Logged
Platanos
Beta Testers
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
BF3,Cod2,Cod4,Cod5,Cod6,Cod7
Posts: 257
Offline
Re: PowerAdminCoD7
«
Reply #5 on:
April 26, 2011, 11:38:51 AM »
Only the half maps works z.b Radiation, Crisis, Array and Cracked others not
WDM is translate to mp_wdm usw.
class Poweradmincod7Plugin(b3.plugin.Plugin):
_adminPlugin = None
_isranked = None
_issetmap = False
_isplaylist_enabled = True
_admin_excluded_maps = None
_cod7maps = {
'mp_array' : 'Array',
'mp_cracked' : 'Cracked',
'mp_crisis' : 'Crisis',
'mp_firingrange' : 'Firing Range',
'mp_duga' : 'Grid',
'mp_hanoi' : 'Hanoi',
'mp_cairo' : 'Havana',
'mp_havoc' : 'Jungle',
'mp_cosmodrome' : 'Launch',
'mp_nuked' : 'Nuketown',
'mp_radiation' : 'Radiation',
'mp_mountain' : 'Summit',
'mp_villa' : 'Villa',
'mp_russianbase' : 'WMD',
'mp_berlinwall2' : 'Berlin Wall',
'mp_discovery' : 'Discovery',
'mp_kowloon' : 'Kowloon',
'mp_stadium' : 'Stadium'
«
Last Edit: April 26, 2011, 11:42:02 AM by Platanos
»
Logged
Spruehwurstheinz
Beta Testers
OS: Linux
Type: Owner dedicated server(s)
Posts: 234
Offline
Re: PowerAdminCoD7
«
Reply #6 on:
April 26, 2011, 11:54:59 AM »
It seems to work with the original names, the translation is only used after the nextmap is set for the ingame message.
Try "nuked" as nextmap, but should be possible to modify this function
Logged
Freelander
XLRstats dev.
Dev. Team
OS: Linux
Type: Home user
Gameservers:
COD5, COD7, BF3
Posts: 947
Offline
Support Specialty:
XLRstats webfront
Re: PowerAdminCoD7
«
Reply #7 on:
April 29, 2011, 03:11:08 AM »
You must use console names for map names, otherwise it won't work.
Logged
Follow Me
@fps_gamer_net
- Github:
XLRstats
|
BigBrotherBot
|
Aimbotdetector
|
Poweradmincod7
Freelander
XLRstats dev.
Dev. Team
OS: Linux
Type: Home user
Gameservers:
COD5, COD7, BF3
Posts: 947
Offline
Support Specialty:
XLRstats webfront
Re: PowerAdminCoD7
«
Reply #8 on:
June 02, 2011, 12:09:49 PM »
v1.1 released. It includes DLC 2 maps. See first post for download link.
Logged
Follow Me
@fps_gamer_net
- Github:
XLRstats
|
BigBrotherBot
|
Aimbotdetector
|
Poweradmincod7
Sars
Full Member
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
COD7, BF3
Posts: 72
Offline
Re: PowerAdminCoD7
«
Reply #9 on:
June 05, 2011, 03:00:11 PM »
Code:
def cmd_pasetmap(self, data, client, cmd=None):
'''\
<mapname> - Set the next map in rotation
(You can safely use the command without the 'pa' at the beginning)
'''
if not self._isranked:
client.message('This command is not functional in unranked servers. You can use ^2!map ^7or ^2!maprotate ^7 commands instead.')
return False
if not data:
client.message('missing parameter, try !help pasetmap')
return False
else:
data = data.split(' ')
mapname = data[0].lower()
if mapname.startswith('mp_'):
mapname = mapname
else:
mapname = ('mp_%s' % mapname)
Is there any way to have this look at both map name and real map name? so that i can type !pasetmap Hanoi ?
thanks Freelander
Logged
Prez
Beta Testers
OS: Linux
Type: Home user
Gameservers:
CoD4 SoF2
Posts: 103
Offline
Re: PowerAdminCoD7
«
Reply #10 on:
June 05, 2011, 11:57:10 PM »
This is really a great plugin, especially for unranked servers when playing matches.
If i could wish for an additional feature it would be !paexec. I'd like to be able to store some cfg's in the B3 directory containing a handful of cvars. For example one cfg for competitive mode with cvars according to the esl ruleset, g_password "xxxxx" etc and another cfg for public mode with g_password "", g_gameytpe "gungame", sv_mapRotation "" and others. That would be really great.
Logged
Platanos
Beta Testers
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
BF3,Cod2,Cod4,Cod5,Cod6,Cod7
Posts: 257
Offline
Re: PowerAdminCoD7
«
Reply #11 on:
June 06, 2011, 03:30:26 AM »
hi
it is possible to add a command to the COD7-PA to turn on and off the DLC´s
!pafs on/off for firststrike
!paes on/off for escalation
setadmindvar playlist_excludeDlc2 "0"
setadmindvar playlist_excludeDlc3 "0"
MFG
Logged
Freelander
XLRstats dev.
Dev. Team
OS: Linux
Type: Home user
Gameservers:
COD5, COD7, BF3
Posts: 947
Offline
Support Specialty:
XLRstats webfront
Re: PowerAdminCoD7
«
Reply #12 on:
June 07, 2011, 07:00:12 AM »
Quote from: Prez on June 05, 2011, 11:57:10 PM
This is really a great plugin, especially for unranked servers when playing matches.
If i could wish for an additional feature it would be !paexec. I'd like to be able to store some cfg's in the B3 directory containing a handful of cvars. For example one cfg for competitive mode with cvars according to the esl ruleset, g_password "xxxxx" etc and another cfg for public mode with g_password "", g_gameytpe "gungame", sv_mapRotation "" and others. That would be really great.
Thanks Prez for the kind words.
Regarding your request, I don't think it's possible to execute a remote file (remote to gameserver) using rcon exec or am I wrong?
Logged
Follow Me
@fps_gamer_net
- Github:
XLRstats
|
BigBrotherBot
|
Aimbotdetector
|
Poweradmincod7
Prez
Beta Testers
OS: Linux
Type: Home user
Gameservers:
CoD4 SoF2
Posts: 103
Offline
Re: PowerAdminCoD7
«
Reply #13 on:
June 07, 2011, 08:01:31 AM »
I can't answer you that Freelander, my knowledge about these things is way too limited.
I was just assuming that it's somehow possible as the official rcon tool and other 3rd party rcon tools let you save and load/execute cfg files. The poweradmin plugin for UrT has the paexec command which allows me to execute cfg's that are stored in the servers root folder. Wouldn't it be possible to let the plugin scan for configs in other folders than the gameservers directory?
Anyway, my fortune does not depend on this feature and there is probably not much demand for something like this by other people than me. Just thought i'd ask and maybe someone would say "sure no biggie".
Logged
Freelander
XLRstats dev.
Dev. Team
OS: Linux
Type: Home user
Gameservers:
COD5, COD7, BF3
Posts: 947
Offline
Support Specialty:
XLRstats webfront
Re: PowerAdminCoD7
«
Reply #14 on:
June 07, 2011, 09:45:27 AM »
Quote from: Prez on June 07, 2011, 08:01:31 AM
official rcon tool and other 3rd party rcon tools let you save and load/execute cfg files.
Then it should be doable. I'll check that. Thanks!
Logged
Follow Me
@fps_gamer_net
- Github:
XLRstats
|
BigBrotherBot
|
Aimbotdetector
|
Poweradmincod7
Tags:
cod7
blackops
poweradmin
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News (Read Only)
===> News Archive
===> Website News
=> General Discussion
===> Servers
=> Shared Services
-----------------------------
Support Forums
-----------------------------
=> Support Instructions
=> Installation Support
=> General Usage Support
=> Game specific Support
===> Battle Field 3
=====> BF3/B3 beta board
===> Battle Field Bad Company 2
===> Call of Duty series
=====> CoD, CoD:UO, CoD2
=====> Call of Duty 4 (Modern Warfare)
=====> Call of Duty 5 (World at War)
=====> Call of Duty 6 (Modern Warfare 2)
=====> Call of Duty 7 (Black Ops)
=======> AlterOps
===> Frontlines, Fuel of War
===> Enemy Territory
===> Homefront
===> Medal of Honor 2010
===> Open Arena
===> Red Orchestra 2
===> Smokin' Guns
===> Soldier of Fortune 2
===> Urban Terror
===> World of Padman
===> Other games
-----------------------------
Add-Ons
-----------------------------
=> Plugins Discussion
===> Plugin Releases!
===> Plugins by xlr8or
===> Plugins by Courgette
===> Plugins by Freelander
===> Plugins by Bakes
===> Plugins by Ismael
===> Plugins by flinkaflenkaflrsk
===> Plugins by Anubis
===> Plugins by Spoon
===> Plugins by PtitBigorneau
===> Plugins by BlackMamba
===> Plugins by Beber888
===> Plugins by grosbedo
=> XLRstats
===> Weaponmodifiers
=> Echelon
===> Echelon version 2
=> Configurations
=> Installers
-----------------------------
Community Developers
-----------------------------
=> Plugin Developers
=> The Code Bin
Rate this page +1 at Google Search
Web Toolbar by Wibiya
SimplePortal 2.3.1 © 2008-2009, SimplePortal