Staff Chatfor WHMCS · Documentation
v2.0.0

Settings Reference

Every option on the module Settings page, with its default.


Widget

SettingDefaultDescription
Staff Chat widgetOnMaster switch. Off hides the widget and stops polling.
Widget positionBottom rightBottom right or bottom left.
Accent colour#00A859Header, send button, bubbles and the active room.
Show online admin listOnHides the right-side “Chat with” list.
Show message timestampsOnHides the time beside each message.
Auto-open on messageOffExpands the widget when a new message arrives.
Unread count in titleOnShows the unread count and an @ marker in the browser title.
Chat box on first loadExpandedInitial expanded or minimized state for new admins.

Notifications

SettingDefaultDescription
Default notification soundPipSound used by admins who have not saved a choice.
Sound defaultOnWhether new admins hear sounds.
Sound volume60%0 to 100 percent.
Desktop notificationsOffInitial browser notification preference.

Messages and history

SettingDefaultDescription
Polling interval5 seconds1 to 60 seconds. Lower is faster but increases server load.
Private chatOnEnables 1:1 rooms.
Maximum message length2,0001 to 10,000 characters.
Messages per load100Initial widget and history load, 1 to 500.
Chat history retention90 days0 keeps forever. Applied by cron and when history is opened.
Maximum messages per room100Oldest messages are trimmed beyond this cap (1 to 5,000).
Live-only modeOffDisables History and wipes stored history daily.
Typing indicatorOnShows when another admin is typing.
Edit window5 minutesHow long an admin can edit their own message. 0 disables editing.
AttachmentsOnJPG, PNG, GIF, WebP, PDF, TXT and ZIP.
Maximum attachment size5 MB1 to 50 MB, also bounded by PHP upload limits.
Total attachment quota1,024 MBMaximum encrypted storage used by all attachments. 0 = unlimited.
Link previewsOnText-only title and description cards.

Access and safety

SettingDefaultDescription
Ghost modeNoneSelected admins stay in chat but disappear from presence and their names are masked.
Read-only rolesNoneRoles that can view and react but cannot send.
Rate limit30 per minutePer-admin send limit. 0 disables the limit.
Blocked wordsNoneMessages containing a blocked word are rejected server-side.
Allow linksOnOff rejects messages that contain a URL.

Activity log

SettingDefaultDescription
Activity log retention90 days0 keeps entries until the 1,000-row cap is reached.
Log IP addressesOnOff stores blank IP values.

Reset

Reset settings to defaults restores every option above. It is Full Administrator-only and CSRF-protected, and the change is written to the activity log.

Saving

Settings save over AJAX and show a toast on success, so you do not lose your place. A validation error is reported next to the field and nothing is written until the value is valid.