Roster.php

From Bebot Wiki 2
Jump to navigationJump to search
Roster[edit]

Description[edit]

This module updates the bot database (org + whois). It loads external ressources (e.g. Funcom's XLM service).


If offers several commands (be careful as some can be data destructive) :

!member = Shows the members count

!member add <name> = Adds player <name> as a member to the bot (can add more than 1 coma-separated eg: Toon1,Toon2,etc)

!member del <name> = Removes player <name> from the member list

!member list = Shows the members list

!guest = Shows the guest list

!guest add <name> = Adds player <name> as a guest to the bot (can add more than 1 coma-separated eg: Toon1,Toon2,etc)

!guest del <name> = Removes player <name> from the guest list

!rosterupdate = Forces the bot to run through a roster update

!buddylist = Displays a list of all of the bots buddies

!buddylist clear = Wipes all of the bots buddies from the bots buddylist


It offers somes complementary settings :

AllowedTime: Is there an exclusive hour (in server local time, from 0 to 23) you'd prefer for the bot autoupdate (use 24 otherwise to disable and allow any hour)?

Buddylistupdate: What difference is allowed between the bots buddylist and the number of members who should be on it before a roster update is forced?

Forcedupdate: Should the roster be forced updated if the buddylist difference exceeds the threshold?

RemoveDelay: After how many days should non-updatable & non-notified buddies be considered okay to delete?


It's also linked to a core element described here http://wiki.bebot.link/index.php/Members