extplug-chat-notifications

2.0.0 • Public • Published

Chat Notifications

ExtPlug plugin that shows additional notification messages in chat when users join or leave, grab, meh or woot a song, and when the next song starts. (Woot notifications are disabled by default.)

Chat Notifications

Installation

If you do not have ExtPlug yet, get it here.

You can install this plugin by going to your ExtPlug settings menu, pressing "Install Plugin", and entering this Plugin URL:

https://unpkg.com/extplug-chat-notifications

Room Settings

Note: This section is intended for room hosts only.

You can add custom Room Styles for notification messages. All notification messages have the .cm.extplug-notification CSS class. Different notification types also get their own CSS classes:

  • .extplug-user-join, plus .extplug-friend-join for friends
  • .extplug-user-leave, plus .extplug-friend-leave for friends
  • .extplug-grab
  • .extplug-woot
  • .extplug-meh
  • .extplug-advance

Example to give meh notifications a painful red background:

{
  "css": {
    "rule": {
      ".cm.extplug-meh": { "background": "#f00" }
    }
  }
}

Building

Note: this section is intended for developers only.

First, install dependencies:

npm install

Then, use:

npm run build

The plugin will be built using the ExtPlug CLI.

The built plugin will be stored at build/chat-notifications.js.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    1

Package Sidebar

Install

npm i extplug-chat-notifications

Weekly Downloads

1

Version

2.0.0

License

MIT

Last publish

Collaborators

  • goto-bus-stop