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
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 #15 on: April 11, 2010, 02:03:57 PM »

is it develolopable?

Developable? Do you mean 'can I develop it further?' If yes, sure you can. Create a Github account, fork the repository and work on it from there.
Logged


Former Dev. (senate)
*****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD4, BFBC2
Posts: 92
Offline Offline
WWW
Support Specialty: BFBC2 parser
« Reply #16 on: April 11, 2010, 07:24:48 PM »

Feel free to add requests in here.

In Progress:


Call a set of predefined Serversettings

Command: !paserverset <name-of-setting>

Xml:
Code:
<settings name="serversettings">
  <!-- 3dSpotting crossHair friendlyFire hardCore killCam miniMap miniMapSpotting thirdPersonVehicleCameras -->
  <!-- 1 = Enabled/On/1/Yes      0 = Disabled/Off/0/No -->
<set name="hardcore">0 0 1 1 0 0 0 0</set>

Set who is Current "head admin" (military police)
Admin Command(from wrm plugin by soggyoreo): !paiammp
User Command: !pamp

Spamages for users (or predefined level):
Command: !painfo

XML:
Code:
  <settings name="info">
<set name="recruiting">Visit our website at www.bigbrotherbot.com</set>
<set name="complaint">Send your complaints to some-email@some-domain.com</set>
<set name="admin">Server admin can be reached at some-email@some-domain.com</set>
<set name="B3">Visit www.bigbrotherbot.com</set>
<set name="xfire">Xfire for server admin: xxx</set>
<set name="donate">Paypal: some-email@some-domain.com</set>
  </settings>
Logged

Jr. Member
**
Posts: 24
Offline Offline
« Reply #17 on: April 26, 2010, 03:11:38 AM »

Developable? Do you mean 'can I develop it further?' If yes, sure you can. Create a Github account, fork the repository and work on it from there.

Youps! I just wanted to know if the plugin could be created or not, if the game offers possibility to do it.
Logged
Sr. Member
****
OS: Windows
Type: Owner dedicated server(s)
Gameservers: BF3
Posts: 212
Offline Offline
WWW
« Reply #18 on: August 13, 2010, 08:58:22 AM »

Quote
def cmd_pakill(self, data, client, cmd=None):
        """\
<name> <reason> - kill a player
"""
        m = self.parseUserCmd(data)
        if not m:
            client.message('Invalid data, try !help pakill')
        else:
            cid, keyword = m
            reason = self._adminPlugin.getReason(keyword)
    
            if not reason and client.maxLevel < self._adminPlugin.config.getint('settings', 'noreason_level'):
                client.message('ERROR: You must supply a reason')
            else:
                sclient = self._adminPlugin.findClientPrompt(cid, client)
                if sclient:
                    self.console.saybig('%s was terminated by server admin' % sclient.name)
                    try:
                        self.console.write(('admin.killPlayer', sclient.cid))
                        if reason:
                            self.console.say('%s was terminated by server admin for : %s' % (sclient.name, reason))
                    except Bfbc2CommandFailedError, err:
                        client.message('Error, server replied %s' % err)
plz CHANGE

1. Can I change here that showed who was used by the command? And not by the "server admin"
2. pakill shows the message,
Quote
-self.console.saybig(change only say not bigsay)('%s was terminated by server admin' % sclient.name) --Shows up only for the player
-self.console.say('%s was terminated by server admin for : %s' % (sclient.name, reason)) -- Shows for all
If not understandable, sorry for my english
Logged

Very sorry for my English I do not know him enough to be understood.
That is why I use the google translator.
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