thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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!

Author Topic: Calladmin Plugin  (Read 9977 times)

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 983
    • GitHub
Calladmin Plugin
« on: June 23, 2014, 07:16:33 PM »
Description

A BigBrotherBot plugin which is capable of spamming admin requests on Teamspeak 3 server.

Installation

  • create a Admin Server Query account on your Teamspeak 3 server: manual
  • copy the calladmin.py file into b3/extplugins
  • copy the plugin_calladmin.ini file in b3/extplugins/conf
  • add to the plugins section of your b3.xml config file:

<plugin name="calladmin" config="@b3/extplugins/conf/plugin_calladmin.ini" />

In-game user guide

  • !calladmin<reason> - send an admin request

Download

Last release: https://github.com/danielepantaleone/b3-plugin-calladmin/archive/master.zip
« Last Edit: November 30, 2014, 11:39:26 AM by Fenix »

Offline Dragon25

  • Jr. Member
  • **
  • Posts: 38
Re: Calladmin Plugin
« Reply #1 on: June 26, 2014, 08:19:01 PM »
Very nice plugin, work fine :) ty
My website : http://ar51.eu



Offline Sir3lit

  • Jr. Member
  • **
  • Posts: 19
Re: Calladmin Plugin
« Reply #2 on: June 29, 2014, 06:28:17 PM »
LOVE IT!!! Just a suggestion, can you make it optional to have it PM people with certain ranks?

Like in our ts we have a group for all of our admins. its group ID is 150

So somewhere in the ini file or the py have like

1 = Main Ts only
2 = PM x rank only
3 = Both
Just an idea it would be SUPER nice to have because with 40 to 90 people on one TS people start getting annoyed when the clan has 7 diffrent cod4 servers.... and its spaming the main chat :(

Thanks

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 983
    • GitHub
Re: Calladmin Plugin
« Reply #3 on: June 30, 2014, 12:51:02 AM »
LOVE IT!!! Just a suggestion, can you make it optional to have it PM people with certain ranks?

Like in our ts we have a group for all of our admins. its group ID is 150

So somewhere in the ini file or the py have like

1 = Main Ts only
2 = PM x rank only
3 = Both
Just an idea it would be SUPER nice to have because with 40 to 90 people on one TS people start getting annoyed when the clan has 7 diffrent cod4 servers.... and its spaming the main chat :(

Thanks
Actually it was working like that previously. I changed it because it was annoying only me :D. Anyway I'll provide the requested changes within the next few days

Offline Sir3lit

  • Jr. Member
  • **
  • Posts: 19
Re: Calladmin Plugin
« Reply #4 on: July 01, 2014, 05:31:46 AM »
One last request.

Could you have it make a sept. log? like it would just save what it would say in ts3 as a .log or a plain .txt file? then have it add time stamps or daily files?

Offline Sir3lit

  • Jr. Member
  • **
  • Posts: 19
Re: Calladmin Plugin
« Reply #5 on: July 13, 2014, 10:49:50 PM »
Just wanting to know if you had any updates for me :)

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 983
    • GitHub
Re: Calladmin Plugin
« Reply #6 on: July 14, 2014, 12:52:40 AM »
Not yet. I'm currently focused on another plugin (which will integrate this one)  ;D ;D ;D ;D

Offline Kami

  • Newbie
  • *
  • Posts: 5
Re: Calladmin Plugin
« Reply #7 on: August 25, 2014, 11:59:52 PM »
Hello,

I edited the .ini file and when I do '!calladmin test' it says 'There was an error processing your command'. I looked at the log and it shows this when someone used that command:
Code: [Select]
140825 17:45:10	CONSOLE	'172:59 say;01100001000188d8;0;Zxzi v2;\x15!calladmin test'
140825 17:45:10 DEBUG u'AdminPlugin: OnSay handle 5:"!calladmin test"'
140825 17:45:10 DEBUG u'AdminPlugin: Handle command !calladmin test'
140825 17:45:10 DEBUG u'CalladminPlugin: sending a message on the teamspeak 3 server query interface: [B][ADMIN REQUEST][/B] [B]Zxzi v2[/B] requested an admin on [B]RGN Subbase HC 24/7 USA[/B] : [B]test[/B]'
140825 17:45:10 ERROR "handler AdminPlugin could not handle event Say: AttributeError: 'NoneType' object has no attribute 'command' [('b3\\\\parser.pyo', 1055, 'handleEvents', None), ('b3\\\\plugin.pyo', 158, 'parseEvent', None), ('b3\\\\plugin.pyo', 176, 'onEvent', None), ('b3\\\\plugins\\\\admin.pyo', 296, 'handle', None), ('b3\\\\plugins\\\\admin.pyo', 441, 'OnSay', None), ('b3\\\\plugins\\\\admin.pyo', 2227, 'execute', None), ('\\\\home\\\\cod\\\\mw2\\\\b3\\\\extplugins\\\\calladmin.py', 299, 'cmd_calladmin', None), ('\\\\home\\\\cod\\\\mw2\\\\b3\\\\extplugins\\\\calladmin.py', 259, 'send_teamspeak_message', None)]"

Here is my b3.xml file:
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by BigBrotherBot Config File Generator at http://config.bigbrotherbot.net (18 Aug 2014 - Mon 22:51:34 CEST)-->
<configuration>
  <settings name="b3">
    <set name="bot_name">b3</set>
    <set name="bot_prefix">^1b3</set>
    <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
    <set name="time_zone">GMT</set>
    <set name="log_level">10</set>
    <set name="logfile">/home/cod/mw2/b3/b3.log</set>
    <set name="parser">cod6</set>
    <set name="database">mysql://b3:[email protected]/b3</set>
  </settings>
  <settings name="server">
    <set name="rcon_password">********</set>
    <set name="port">28960</set>
    <set name="public_ip">***.**.***.**</set>
    <set name="rcon_ip">127.0.0.1</set>
    <set name="delay">0.33</set>
    <set name="lines_per_second">50</set>
    <set name="punkbuster">off</set>
    <set name="game_log">/home/cod/mw2/m2demo/games_mp.log</set>
  </settings>
  <settings name="autodoc">
    <set name="type">html</set>
    <set name="maxlevel">100</set>
    <set name="destination">/home/cod/mw2/b3/conf/b3_doc.html</set>
  </settings>
  <settings name="update">
    <set name="channel">stable</set>
  </settings>
  <settings name="messages">
    <set name="kicked_by">$clientname^7 was kicked by $adminname^7 $reason</set>
    <set name="kicked">$clientname^7 was kicked $reason</set>
    <set name="banned_by">$clientname^7 was banned by $adminname^7 $reason</set>
    <set name="banned">$clientname^7 was banned $reason</set>
    <set name="temp_banned_by">$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason</set>
    <set name="temp_banned">$clientname^7 was temp banned for $banduration^7 $reason</set>
    <set name="unbanned_by">$clientname^7 was un-banned by $adminname^7 $reason</set>
    <set name="unbanned">$clientname^7 was un-banned $reason</set>
  </settings>
  <settings name="plugins">
    <set name="external_dir">/home/cod/mw2/b3/extplugins</set>
  </settings>
  <plugins>
    <plugin name="admin" config="/home/cod/mw2/b3/conf/plugin_admin.xml"/>
    <plugin name="adv" config="/home/cod/mw2/b3/conf/plugin_adv.xml"/>
    <plugin name="welcome" config="/home/cod/mw2/b3/conf/plugin_welcome.xml"/>
    <!-- plugin name="punkbuster" config="@conf/plugin_punkbuster.xml"/ -->
    <!-- plugin name="banlist" config="/home/cod/mw2/b3/extplugins/conf/banlist.xml"/ -->
    <!-- plugin name="chatlogger" config="/home/cod/mw2/b3/extplugins/conf/plugin_chatlogger.xml"/ -->
    <plugin name="xlrstats" config="/home/cod/mw2/b3/extplugins/conf/xlrstats.xml"/>
<plugin name="calladmin" config="/home/cod/mw2/b3/extplugins/conf/plugin_calladmin.ini" />
  </plugins>
</configuration>

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 983
    • GitHub
Re: Calladmin Plugin
« Reply #8 on: August 26, 2014, 12:12:45 AM »
can you post your full b3 log please?

Offline Kami

  • Newbie
  • *
  • Posts: 5
Re: Calladmin Plugin
« Reply #9 on: August 26, 2014, 12:24:24 AM »
« Last Edit: August 26, 2014, 12:27:55 AM by Kami »

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 983
    • GitHub
Re: Calladmin Plugin
« Reply #10 on: August 26, 2014, 12:29:39 AM »
You are using an outdated version of the plugin. Please update to le latest version downloading it from here

Offline Kami

  • Newbie
  • *
  • Posts: 5
Re: Calladmin Plugin
« Reply #11 on: August 26, 2014, 01:48:01 AM »
I did that but now I can't even use a command. When I type a command nothing appears... Here is my log;  http://pastebin.com/HZxZNSVv

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2523
Re: Calladmin Plugin
« Reply #12 on: August 26, 2014, 06:05:24 PM »
Code: [Select]
140825 19:33:37 BOT     'Loading Plugin #2 adv [\\home\\cod\\mw2\\b3\\conf\\plugin_adv.xml]'
140825 19:33:37 BOT     'AdvPlugin: Loading config \\home\\cod\\mw2\\b3\\conf\\plugin_adv.xml for AdvPlugin'
140825 19:33:37 ERROR   'Error loading plugin adv'
Traceback (most recent call last):
  File "b3\parser.pyo", line 674, in loadPlugins
  File "b3\plugin.pyo", line 58, in __init__
  File "b3\config.pyo", line 307, in __str__
AttributeError: 'ConfigFileNotValid' object has no attribute 'value'

There is something wrong with your adv plugin config file

Offline thefrank503

  • Newbie
  • *
  • Posts: 1
Fenix i need help
« Reply #13 on: December 05, 2014, 01:17:02 PM »
I been trying to install this pluging to my server but it dont work... i do everything it say in the installation process ..

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 983
    • GitHub
Re: Fenix i need help
« Reply #14 on: December 05, 2014, 07:26:22 PM »
I been trying to install this pluging to my server but it dont work... i do everything it say in the installation process ..
I assume you are talking about the Calladmin Plugin (since u added it as a tag). Can you please provide your B3 log?

EDIT: I moved your topic in the official one so we can keep the discussion organized. PLease, next time before opening a new thread, search if there is already a discussion (you can probably solve your problem by just reading answers given to other users)  ;) ;)
« Last Edit: December 05, 2014, 07:30:08 PM by Fenix »

 


Rate this page +1 at Google Search