Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
/ chat-notifications Public archive

ExtPlug plugin that shows some useful notification messages in chat.

License

Notifications You must be signed in to change notification settings

extplug/chat-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ExtPlug plugin that shows some useful notification messages in chat.

Resources

License

Stars

Watchers

Forks

Packages

No packages published