documentation
download & extend
community & support
B3 hosting
May 24, 2012, 06:02:38 AM
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 ...
The creator of these plugins has not shown activity in a while. Posting in this board may not result in a fast reply or a reply at all.
[ Read the full Support Disclaimer here ]
You are here:
Big Brother Bot Forum
Add-Ons
Plugins Discussion
Plugins by Ismael
(Moderator:
Ismael
)SuperAdmin plugin
Pages: [
1
]
2
3
Go Down
« previous
next »
Print
Author
Topic: SuperAdmin plugin (Read 12658 times)
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
SuperAdmin plugin
«
on:
February 21, 2009, 01:52:53 PM »
********* New functionality provided *********
**** General Admin ****
!superlookup or !slookup
Superlookup extends the lookup mechanism. Currently, lookup will only find players that are currently using a certain name. Superlookup will also find all players that used a name and changed it. This is useful for hunting people that use another's player name, cheat in their name, and change it.
!allaliases or !allalias
Allaliases extends the alias command, and will not limit itself to 10 answers as alias does. Optional parameter <detailed> will show alias creation and modification time plus number of times the alias was used.
!listbans or !lb
Listbans will display *ALL* active bans, expiration time, which admin applied it and what reason the admin gave. Optional parameter <admin> will list bans only by that admin.
!superbaninfo or !sbaninfo
Superbaninfo will display more information on a player's ban, including expiration time, which admin applied it and what reason the admin gave.
!listids or !lids
Listids will display the player ids of every online player. Alternatively, it can be used with a name, in which case, it will display the id of that player. By default, it's available to all players. The idea is that when someone demos a cheater, they can include the player id for easier banning afterwards.
**** Ban Watcher ****
** New commands **
!pastbans or !pab
Pastbans will display all past bans (tempbans and bans) of a player, who applied the ban and the expiration of the ban.
** New functionality **
If enabled is set to True, every time an admin applies a ban or a banned player tries to join all online admins will be told the amount of past bans that player has.
**** Notices ****
This plugin will enhance the functionality on notices. To apply a notice to a player use !notice (normal bot command).
** New commands **
!lookupnotices or !lnot
Lookupnotices will display all active notices for a player
!deletenotice or !delnot
Deletenotice will mark notice #number as inactive. The number is obtained from the !lnot listing.
** New functionality **
If lookup_on_login is set to True, the bot will search for a player's notices whenever it connects. If the player has notices, every online admin will get the listing of notices the player has.
*** Notes
This plugin has only been tested with the latest development (git head as of 21/02/09) B3 and on UrT 4.1 on python 2.5 and python 2.4. It will probably work on older B3 and other games.
Download:
SuperAdmin1.4.7.1.zip
«
Last Edit: August 25, 2009, 10:33:29 AM by Ismael
»
Logged
Bakes
B3 Contrib/Support
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline
Support Specialty:
B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
Re: Superlookup and allaliases plugin
«
Reply #1 on:
February 21, 2009, 02:26:08 PM »
This is a good idea, but remember, b3 sometimes (v. rare) messes up the aliases, especially if you are running it remote or restart it.
So, you might end up with bogus results.
Logged
[
Openbanter
|
Scrim (cod4)
|
BanTweeter
|
FTPyTail
|
ForumLink
]
flinkaflenkaflrsk
Sr. Member
Posts: 238
Offline
Re: Superlookup and allaliases plugin
«
Reply #2 on:
February 22, 2009, 12:46:39 AM »
yeah especially if you have been running it with urt the aliases are not as reliable
Logged
Deathslap
Registered plugin
Mapcycle plugin
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: Superlookup and allaliases plugin
«
Reply #3 on:
February 23, 2009, 04:53:11 PM »
New release. Details in top post.
Logged
flinkaflenkaflrsk
Sr. Member
Posts: 238
Offline
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #4 on:
February 23, 2009, 10:55:35 PM »
question on the listbans
I noticed your SQL statement
Code:
SELECT c.id, c.name, p.time_expire, p.reason
FROM penalties p, clients c
WHERE p.client_id = c.id AND
p.inactive = 0 AND
(type='Ban' OR type='TempBan') AND
p.time_expire >= UNIX_TIMESTAMP() """)
Since we have quite a big DB with a lot of permabans it would block B3 if we would execute a listban for some time if he has to dump out everything.
Suggestions:
Make Permbans a setting yes/no so it can dump them out or not
make the tables configurable?
Logged
Deathslap
Registered plugin
Mapcycle plugin
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #5 on:
February 24, 2009, 06:41:58 AM »
Quote
Since we have quite a big DB with a lot of permabans it would block B3 if we would execute a listban for some time if he has to dump out everything.
Yes, both !listbans and !allaliases have the potential to take a good while for the bot. They're not supposed to be "everyday" commands, but rather a tool for admins.
Quote
Suggestions:
Make Permbans a setting yes/no so it can dump them out or not
make the tables configurable?
I'm sorry, I don't quite get what you mean. Could you please explain a bit more?
You mean having a command that will only list BANS and not TempBans depending on a setting?
Logged
eire.32
Echelon v2. Dev.
Former Dev. (senate)
OS: Linux
Type: Owner dedicated server(s)
Gameservers:
CoD4
Posts: 114
Offline
Support Specialty:
Echelon v.2
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #6 on:
February 24, 2009, 07:48:55 AM »
Well even if it is not an everyday command even for admins it will still kill the bot. I have over 4500 bans in my database. If i was to list bans the bot would either die or crash. Maybe adding ceteria to the command like !listbans <name> or !listbans <id> or !listbans <adminname>. Something like that. Its a good idea, I really like it.
Eire.32
Logged
Eire.32
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #7 on:
February 24, 2009, 08:34:48 AM »
Quote
Well even if it is not an everyday command even for admins it will still kill the bot. I have over 4500 bans in my database. If i was to list bans the bot would either die or crash. Maybe adding ceteria to the command like !listbans <name> or !listbans <id> or !listbans <adminname>. Something like that. Its a good idea, I really like it.
The first two cases are handled by !sbaninfo, it will tell you specifics of the bans applied to a certain player.
!listbans <adminname> is a good idea. I'll implement it later
Logged
flinkaflenkaflrsk
Sr. Member
Posts: 238
Offline
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #8 on:
February 24, 2009, 09:23:57 AM »
my suggestion was to only list temp bans. with specification is even better ofcourse
not to take away your enthousiasm because I really think it is great you are taking this up, however doesnt echelon provide a webfront for not every day tasks or even a direct interface on the database if needed.
Logged
Deathslap
Registered plugin
Mapcycle plugin
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #9 on:
February 24, 2009, 09:33:19 AM »
Of course you can look this all up in the DB if you have access to it. But I don't, so I need the plugin
New release
- Fixed stupid typo (sorry if I crashed your bot!
)
- allalias now takes optional parameter to show more details
- listbans now takes optional parameter to show only bans by that admin
Logged
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: Superlookup, allaliases, listbans, superbaninfo plugin
«
Reply #10 on:
March 25, 2009, 10:08:33 AM »
New release!
Renamed to SuperAdmin because I have added many different services by now.
New in this release:
**** Ban Watcher ****
** New commands **
!pastbans or !pb
Pastbans will display all past bans (tempbans and bans) of a player, who applied the ban and the expiration of the ban.
** New functionality **
If enabled is set to True, every time an admin applies a ban a !pb will be executed on the banned player. Every online admin will get the ban history.
**** Notices ****
This plugin will enhance the functionality on notices. To apply a notice to a player use !notice (normal bot command).
** New commands **
!lookupnotices or !lnot
Lookupnotices will display all active notices for a player
!deletenotice or !delnot
Deletenotice will mark notice #number as inactive. The number is obtained from the !lnot listing.
** New functionality **
If lookup_on_login is set to True, the bot will search for a player's notices whenever it connects. If the player has notices, every online admin will get the listing of notices the player has.
Logged
Bakes
B3 Contrib/Support
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline
Support Specialty:
B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
Re: SuperAdmin plugin
«
Reply #11 on:
March 25, 2009, 10:57:37 AM »
1 problem:
!pb is also an alias for permban
Logged
[
Openbanter
|
Scrim (cod4)
|
BanTweeter
|
FTPyTail
|
ForumLink
]
Ismael
Moderator
OS: Linux
Type: Home user
Gameservers:
UrT
Posts: 70
Offline
Re: SuperAdmin plugin
«
Reply #12 on:
April 10, 2009, 12:24:07 PM »
Updated.
Changes:
- Changed pb to pab (thanks Bakes)
- When client connects or is banned, the bot will only tell amount of past bans. Full history still accesible through !pastbans.
Any ideas for enhancements are welcomed!
Logged
FinePoints
Jr. Member
Posts: 21
Offline
Re: SuperAdmin plugin
«
Reply #13 on:
April 19, 2009, 09:48:32 AM »
I really like the idea of this plugin!
Though when using any of its commands B3 pretty much dies. It don't seem to be crashing all the way as it still is throwing up our spams we got setup with B3.
Side Note: We do have quite a large database
Logged
Bakes
B3 Contrib/Support
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline
Support Specialty:
B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
Re: SuperAdmin plugin
«
Reply #14 on:
April 19, 2009, 10:06:35 AM »
does it return, at any point?
Logged
[
Openbanter
|
Scrim (cod4)
|
BanTweeter
|
FTPyTail
|
ForumLink
]
Tags:
Pages: [
1
]
2
3
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