Difference between revisions of "Roster.php"

From Bebot Wiki 2
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
!member = Shows the members count
 
!member = Shows the members count
  
!member add <name> = Adds player <name> as a member to the bot
+
!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 del <name> = Removes player <name> from the member list
Line 18: Line 18:
 
!guest = Shows the guest list
 
!guest = Shows the guest list
  
!guest add <name> = Adds player <name> as a guest to the bot
+
!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
 
!guest del <name> = Removes player <name> from the guest list
Line 34: Line 34:
  
 
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?
 
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
 
It's also linked to a core element described here http://wiki.bebot.link/index.php/Members

Latest revision as of 22:11, 3 April 2024

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 (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