Skip to content

Chat2 Plugin

Daniel Neto edited this page May 4, 2025 · 20 revisions

Chat2 Plugin – Interactive Communication for Creators and Viewers

The Chat2 plugin serves as a vital communication bridge between content creators and viewers, offering a real-time space for interaction during live streams, video playback, and more. Additionally, it allows users to chat with each other, enhancing community engagement on your platform.

Key Features

  • 📺 Multi-Location Display: Embed the chat on Channels, LiveStreams, the Main Video Player page, and Embedded Videos.
  • ⚙️ Customizable Placement: Choose where the chat is displayed by enabling/disabling it per your platform's needs.
  • 📱 Mobile App Support: We are working on bringing full Chat2 functionality to the mobile app (in development).

💸 Integrating Wallet Donation Buttons in Chat

You can allow users to send donations directly through the chat interface.

To enable this:

  1. Activate the donation feature via the [CustomizeUser Plugin](https://github.com/WWBN/AVideo/wiki/YPTWallet-Usage#donation-from-wallet).
  2. Ensure the user wallet is funded and the donation button will appear alongside their chat messages.

The Sockets plugin is essential for enabling and optimizing real-time features such as:

  • Chat message delivery
  • Live status updates
  • Real-time interactions

Without it, the chat may not function or may perform poorly. Installation and proper configuration are highly recommended.


🙈 Ignoring Users in Chat

The Chat2 plugin allows users to ignore specific users in the chat interface. This feature is useful to mute unwanted messages without affecting the experience of others.

How It Works

  • Each chat message includes an "Ignore".
  • When clicked, the sender’s messages are visually muted: the text is hidden and the message appears with a faded or gray style, indicating it's from an ignored user.
  • A tooltip or placeholder such as "Message from ignored user" is shown instead of the original content.
  • This behavior is local to the user — it doesn’t affect what other users see.

Unignoring a User

  • To reverse the action, click the "Unignore" on any muted message.
  • The previously hidden messages will be restored instantly in the chat.

Visual Example

In the animation below, you can see:

  • Normal chat messages being rendered.
  • A user being ignored, causing their messages to fade and show a placeholder.
  • The same user being unignored, restoring their full message text.

chrome-capture-2025-5-3 (1)

How to Create a Poll

Admins can create polls and display them in the chat to gather viewer opinions.

Step-by-step:

  1. Click the Actions menu (⋮) at the top-right corner of the chat.
  2. Select Poll Opinions.
  3. You will see a form like this:

image

  • Poll Question: Type your question.
  • Poll Options: Add at least two answer options.
  • Use drag-and-drop to reorder options if needed.
  • Click + Add Option to insert more choices.
  1. Navigate to the My Polls tab.
  2. Click the green Add to Chat Room button next to the poll.

The poll will appear immediately in the current chat and users will be able to vote in real time.

chrome-capture-2025-5-3 (2)

Add the Poll in the chat

make sure you click this button to add the poll into the chat

image

Clone this wiki locally