Roster.php

From Bebot Wiki 2
Revision as of 22:41, 22 March 2022 by B3b0tUzR (talk | contribs)
Jump to navigationJump to search
Roster

Description

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

!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

!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