Archive > AoC 0.6.x Custom/Unofficial modules

UserAdmin module for Bebot

(1/6) > >>

Kentarii:
This module is for bebot owners who have neglected to clean up their memberlist as people have left the guild or quit the game.

It will give you an overview of how many members are in the bot's database and how many buddies the bot has among other things.

An extra feature can be enabled which will lookup which guild a character belongs to on YG, so that you can delete those who have joined another guild.

There are too many features to explain in detail here, so I guess you better check out for yourselves if you need this module.
An easy way to do that is to run this command:

--- Code: ---!member
--- End code ---
If the number returned by the bot is above 1000, then yes... you probably want this module.
This module will also help you delete members who have left your guild/server/game.
The dreaded "[BUDDY-ADD] -1 error" will most likely also be "fixed" when you delete the members causing this error.

But before you even think about downloading this module, please take a backup of your bot's database. I don't want people coming to this thread crying about how they lost their member data, PERIOD.

If you don't know how to backup your database, don't bother downloading this module.
With that out of the way, here are some screenshots of what you can expect:





Note: Just shows how many members there are and what guilds they are in. Will open up the two overview pages which will let you do all the work.



Note: All the list commands are safe to run, but some might take some time and you will probably get spammed by the bot depending on how many members there are. If the total members count match the total buddies count, that means that your member base is healthy and everyone will get notified correctly and show up in the !online command.



Note: YG doesn't always pickup which guild a character is a member of, that's why you see a lot of entries in UNKNOWN GUILD and some other guilds. By clicking on list, you can choose to delete members who you know for sure has left the guild or has quit the game.

Configuration and installation:
Please read the installation/configuration instructions in the top of the module (especially if you want to enable the YG functionality).

Download:
UserAdmin module for Bebot v0.0.5 :: 2011-02-07 :: [ phps | zip ]

Kentarii:
*RESERVED*

F.A.Q.

maikee:
hi

nice work.
but one question.

how i can delete the anonymous(deleted) under the categorie Users?

Kentarii:
Guess I can add it in the next version. It's also possible to just run an sql statement directly towards the database.

Kentarii:
REMEMBER TO BACKUP YOUR DATABASE!!

Here are the queries by the way:

To clear banned chars:

--- Code: ---DELETE FROM <botname>_users WHERE user_level = -1
--- End code ---

To clear anonymous/deleted chars:

--- Code: ---DELETE FROM <botname>_users WHERE user_level = 0
--- End code ---

To clear guest chars:

--- Code: ---DELETE FROM <botname>_users WHERE user_level = 1
--- End code ---

user_level = 2 are members, so you probably don't want to delete those.

You obviously have to replace <botname> with the appropriate prefix for your database table.

EDIT: This functionality is now added to the module in version 0.0.4

Navigation

[0] Message Index

[#] Next page

Go to full version