Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)Poweradminbfbc2
Pages: [1] 2   Go Down
  Print  
Author Topic: Poweradminbfbc2  (Read 2471 times) Bookmark and Share
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« on: April 09, 2010, 07:04:54 PM »

Version 0.1.4 is available in my repo at http://github.com/spacepig/poweradminbfbc2
It is still in beta version and will remain so until it reach v 1.x.x

###################################################################################
#
# PowerAdminbfbc2
# Plugin for B3 (www.bigbrotherbot.com)
# (c) 2010 www.xlr8or.com (mailto:xlr8or@xlr8or.com)
#
# This program is free software and licensed under the terms of
# the GNU General Public License (GPL), version 2.
#
# http://www.gnu.org/copyleft/gpl.html
###################################################################################

PowerAdminbfbc2 (v0.1.4) for B3
###################################################################################

This plugin works for R9+ and b3 1.3+ only! This plugin adds powerfull commands
and functions to your b3:

Added Commands:
!payell (!yell) - display a bigtext message center screen

!pamaprestart (!maprestart) - restart current map
!pamapreload (!mapreload) - reload current map
!paset - set a server cvar
!paget - display a server cvar
!pamaplist <maplist.txt> - execute a server maplist
!pateams (!teams) - activate teambalancer (read below)

!pakill (!kill) - kill a player
!pachangeteam (!ct) - force a player to a team

!paserverinfo
!paident (!id) <name/id> - prints a players B3-id and Guid to screen for demo purposes
!paversion (!paver) - spits out the version of PowerAdminbfbc2

Each command (except !paversion) can be leveled in the config file.

Requirements:
###################################################################################

- BFBC2 Server R9 or higher
- B3 version 1.3.0 or higher


Installation of the B3 plugin:
###################################################################################

To install the b3-plugin part:

1. Unzip the contents of this package. Go to the unzipped folder extplugins and
place the .py file in the bots folder b3/extplugins and the config file .xml in
the b3/extplugins/conf folder.

2. Open the .xml file with your favorit editor and modify the
levels if you want them different. Do not edit the command-names
for they will not function under a different name.

3. Open your B3.xml file (in b3/conf) and add the next line in the
<plugins> section of the file:

<plugin name="poweradminbfbc2" priority="13" config="@b3/extplugins/conf/poweradminbfbc2.xml"/>

The numer 13 in this just an example. Make sure it fits your
plugin list.


Changelog
###################################################################################
v0.1.2       : Initial "public" beta release for testing
v0.1.3       : New commands possible due to R9 protocol
v0.1.4       : Cleaned up and bugfix

###################################################################################
SpacepiG - 9 April 2010 - www.bigbrotherbot.com // www.xlr8or.com
Logged


Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #1 on: April 09, 2010, 09:42:33 PM »

One command I know tons would love

!hardcore
!softcore

If there could be some kind of functionality to handle a server restart and automagically reapplies the setting thats selected that would be awesome.

If that couldnt be done, perphaps some logic to !hardcore that does it like this:

!hardcore is called

Is server hardcore?
Yes - Return nothing to do
No - Issue commands to bring hardcore + Issue map restart after completion of commands

Doing it that way would allow me to give lower level people in my clan who dont qualify for admin the ability to reset the server incase of my absence Smiley

No other BC2 admin tool does this at the moment.
Logged
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #2 on: April 09, 2010, 10:14:23 PM »

With R9 they added so hardcore can only be applied at server startup.
But it would be fairly simple to add the actual dvars except for the health level that is applied in hardcore.
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #3 on: April 09, 2010, 10:36:08 PM »

With R9 they added so hardcore can only be applied at server startup.
But it would be fairly simple to add the actual dvars except for the health level that is applied in hardcore.

I wish, R9 did nothing to fix hardcore.

You still are required to use BC2CC or procon to login, enable it and nextmap it.

The variables do not load in correctly Sad Its setup right on the control panel at gameservers.com, the config file is not loading right in the game. They have told Dice about it since the first release to no avail.
« Last Edit: April 09, 2010, 10:38:53 PM by Mikobiko » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #4 on: April 10, 2010, 01:54:28 AM »

with this plugin, you can use the !paset command to set your server vars  Wink
Logged

Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #5 on: April 10, 2010, 04:36:21 AM »

Write your commands in a textfile
upload it to your gameserver
use !runscript yourfile Smiley
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #6 on: April 10, 2010, 08:21:48 AM »

EA does not allow uploading of any files of any kind to gameservers.
Logged
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #7 on: April 10, 2010, 10:20:44 AM »

Yes they do/
To your config folder aswell as to your pb folder.

If your host do not allow that i would recommend to change host.
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #8 on: April 10, 2010, 05:24:59 PM »

Yes they do/
To your config folder aswell as to your pb folder.

If your host do not allow that i would recommend to change host.

Id like to know what host is doing this so I can report the violation to EA/DICE. Gameservers.com was strictly instructed by them that no FTP of any kind was to take place.

Same goes with Hypernia and all others.

You are STRICLY prohibited from this behavior.

Hypernias offical topic:
Quote
BC2 Server File Access

Bad Company 2 will be like all the other ranked servers, you will not have access to the server files at anytime via FTP or otherwise. BC2 is taking it a step further however, as opposed to the other ranked games, with BC2 you will also not have any access to the PB folder either.

The only access you will have is to the server RCON & the config editor (A feature in the TCAdmin web control panel).

Source: http://forums.hypernia.com/index.php?showtopic=1614&st=0&p=7609&#entry7609
« Last Edit: April 10, 2010, 05:27:57 PM by Mikobiko » Logged
Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #9 on: April 10, 2010, 10:20:11 PM »

This is probably the biggest misconception everybody seem to have so far.
No, you dont have access to the serverfiles. But you do have access to your configs (txt files) aswell as your pb folder.

It would be rather silly by dice to have a command to load different mapfiles and runscript when your not allowed to add such files.

Trust me, i have a frequent contact with Dice and it is perfectly allowed to have access to such file. Just as i have with both i3d and hypernia.
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #10 on: April 11, 2010, 01:32:07 AM »

As an example, this is my control panel on Multiplay (the largest GSP in the UK, over 5000 active servers, hosters of the successful 'i' lan series).

I can upload files, edit config files etc, and I can access the config folder and the pb folder (eg pbucon). It's not against DICE's rules, since I can't access the server files. Gameservers have just interpreted the rules differently.

Quote from: Spacepig
If your host do not allow that i would recommend to change host.
Logged

Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, COD5, COD7, Homefront
Posts: 211
Offline Offline
« Reply #11 on: April 11, 2010, 09:31:48 AM »

We have ability to edit such files, just not upload them.
Logged
Jr. Member
**
Posts: 24
Offline Offline
« Reply #12 on: April 11, 2010, 11:10:02 AM »

Hi,

is there a way to use the AntiNoob plugin on bfbc2?

Thanks
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #13 on: April 11, 2010, 11:53:32 AM »

Hi,

is there a way to use the AntiNoob plugin on bfbc2?

Thanks

Not as of yet.
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #14 on: April 11, 2010, 12:14:32 PM »

is it develolopable?
Logged
Tags: bfbc2  poweradmin  kill  changeteam  spacepig 
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal