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: PBMuteUrT  (Read 2093 times)

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
PBMuteUrT
« on: May 16, 2012, 03:01:01 PM »
PBMuteUrT Plugin v1.1 for Urban Terror

PBMuteUrT can mutate to temporarily or permanently a player. The player is remute after the map changes and after reconnection.

command :

!pbpermmute or !pmute [client] [reason]
For permanently mute a player.

!pbtempmute or !tmute [client] [reason, duration]
For temporarily mute a player . ( duration format xxd or xxh, xxm for xx days, xx hours or xx minutes )

!pbunmute or !unmut [client]
For unmute a player.

!pbinfomute ou !imute [client]
For whether a player is mutated or not, know the reason, duration of mute and the admin who has muted .

Installation

------------

 
* copy pbmuteurt.py into b3/extplugins
 
* copy pbmuteurt.xml into b3/extplugins/conf
 
* create the pbmuteurt table in your database importing the tlevel.sql file.
 
* update your main b3 config file with :
 <plugin name="pbmuteurt" config="@b3/extplugins/conf/pbmuteurt.xml"/>

download -> PBMuteUrT v1.1

sorry for my english
« Last Edit: May 19, 2012, 05:58:20 PM by PtitBigorneau »
PtitBigorneau

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: PBMuteUrT
« Reply #1 on: March 04, 2016, 10:02:09 AM »
BigBrotherBot(B3) < 1.10

Download -> Plugin-PBMuteUrT-1.2

BigBrotherBot(B3) >= 1.10

Download -> Plugin-PBMuteUrT-1.3
PtitBigorneau

Offline faxtarus

  • Newbie
  • *
  • Posts: 6
Re: PBMuteUrT
« Reply #2 on: November 25, 2016, 03:27:03 PM »
Yop ptitbig

I installed  Plugin-PBMuteUrT-1.3 on my server.
When i made: !pmute player reason it write: Ther was an error processing your command.

Ireinstalled, but it s always the same message.

A idea?

Thx by advance.

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 994
    • GitHub
Re: PBMuteUrT
« Reply #3 on: November 28, 2016, 09:52:05 AM »
Posting a B3 log would definitely help

Offline faxtarus

  • Newbie
  • *
  • Posts: 6
Re: PBMuteUrT [resolved]
« Reply #4 on: December 03, 2016, 03:52:40 PM »
yop Fenix

Ty for your answer
i resolved, with your question, my problem:
my .sql was not in the good folder.

If same a oldman as me is impatient, where go the word!!

Thank you Fenix.

Offline faxtarus

  • Newbie
  • *
  • Posts: 6
Re: PBMuteUrT
« Reply #5 on: December 14, 2016, 10:42:21 AM »
Code: [Select]
161214 10:17:24 WARNING  'GeolocationPlugin: could not retrieve geolocation data Hedy <@7>: "invalid data returned by the api: {u\'status\': u\'fail\', u\'query\': u\'0.0.0.0\', u\'message\': u\'reserved range\'}"'
161214 10:17:24 DEBUG    'GeolocationPlugin: retrieving geolocation data for Hedy <@7>...'
161214 10:17:24 ERROR    'GeolocationPlugin: client Hedy <@7> geolocation terminated unexpectedtly when using TelizeGeolocator service: No JSON object could be decoded'
161214 10:17:24 DEBUG    'GeolocationPlugin: retrieving geolocation data for Hedy <@7>...'
161214 10:17:24 CONSOLE  '1:52 say: 2 TaG-CnD|WTFAX?: !tmute bev test, 3d'
161214 10:17:24 VERBOSE  'Client found: TaG-CnD|WTFAX? on slot 2'
161214 10:17:24 VERBOSE  'Queueing event Say : !tmute bev test, 3d'
161214 10:17:24 VERBOSE  'Parsing event: Say: AdminPlugin'
161214 10:17:24 DEBUG    'AdminPlugin: OnSay handle 9:"!tmute bev test, 3d"'
161214 10:17:24 DEBUG    'AdminPlugin: handle command !tmute bev test, 3d'
161214 10:17:24 VERBOSE  "RCON sending (127.0.0.1:27965) 'tell 2 ^0(^2b3^0)^7: ^8[pm]^7 ^7There was an error processing your command'"
161214 10:17:24 ERROR    "Handler AdminPlugin could not handle event Say: AttributeError: 'PbmuteurtPlugin' object has no attribute '_adminleveltempmute' [('/home/faxtarus/B3/b3/parser.py', 1412, 'handleEvents', 'hfunc.parseEvent(event)'), ('/home/faxtarus/B3/b3/plugin.py', 479, 'parseEvent', 'func(event)'), ('/home/faxtarus/B3/b3/plugins/admin/__init__.py', 703, 'OnSay', 'results = command.execute(data, event.client)'), ('/home/faxtarus/B3/b3/plugins/admin/__init__.py', 2422, 'execute', 'self.func(data, client, copy.copy(self))'), ('/home/faxtarus/B3/b3/extplugins/pbmuteurt/__init__.py', 347, 'cmd_pbtempmute', 'if client.maxLevel == self._adminleveltempmute:')]"
161214 10:17:24 VERBOSE  'Parsing event: Say: SpamcontrolPlugin'
161214 10:17:24 VERBOSE  'Parsing event: Say: ChatloggerPlugin'
161214 10:17:24 VERBOSE  'ChatloggerPlugin: ALL, 2, TaG-CnD|WTFAX?, !tmute bev test, 3d'
161214 10:17:24 DEBUG    'ChatloggerPlugin: rowcount: 1, id:26572'
161214 10:17:24 VERBOSE  'Parsing event: Say: ExtraadminPlugin'
161214 10:17:24 CONSOLE  '1:52 ClientSpawn: 3'
161214 10:17:24 ERROR    "GeolocationPlugin: client Hedy <@7> geolocation terminated unexpectedtly when using FreeGeoIpGeolocator service: 'status'"
161214 10:17:24 DEBUG    'GeolocationPlugin: retrieving geolocation data for Hedy <@7>...'
161214 10:17:24 DEBUG    'GeolocationPlugin: retrieved geolocation data for Hedy <@7>: Location<cc=--, city=None, country=--, isp=None, lat=None, lon=None, rc=None, region=None, timezone=None, zipcode=None>'
161214 10:17:24 VERBOSE  'Queueing event Event client geolocation success : None'
161214 10:17:24 VERBOSE  'Parsing event: Event client geolocation success: LocationPlugin'
161214 10:17:24 CONSOLE  '1:55 ClientSpawn: 6'
161214 10:17:25 CONSOLE  '1:57 Hit: 8 4 4 5: Kelya hit Laszlo in the Vest'
161214 10:17:25 DEBUG    '_getDamagePoints(18, 4) -> 22'
161214 10:17:25 VERBOSE  "Queueing event Client Damage : (22, '18', '4')"
161214 10:17:25 VERBOSE  'Parsing event: Client Damage: Poweradminurt43Plugin'

News for this plugin.
The pbmute works, no prblem.
The tmute don t works. 
I give you the log of b3 concerned.

Fax

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: PBMuteUrT
« Reply #6 on: December 15, 2016, 08:30:50 AM »
it's my fault  :(

problem fixed 

Download -> Plugin-PBMuteUrT-1.3.1
PtitBigorneau

Offline faxtarus

  • Newbie
  • *
  • Posts: 6
Re: PBMuteUrT
« Reply #7 on: December 16, 2016, 10:22:37 AM »
It works! 
Ty Ptibig.  ;)

 


Rate this page +1 at Google Search

anything