Allows setting alternate greetings that are specific to group chats.
  • JavaScript 100%
Find a file
2026-04-06 01:07:08 +03:00
dist Fix npm audit 2026-04-06 01:07:08 +03:00
src Fix JSON data field handing 2026-01-29 01:30:13 +02:00
.gitignore Initial commit 2024-03-14 23:07:21 +02:00
LICENSE Create LICENSE 2024-03-14 23:19:59 +02:00
manifest.json Initial commit 2024-03-14 23:07:21 +02:00
package-lock.json Fix npm audit 2026-04-06 01:07:08 +03:00
package.json Fix JSON data field handing 2026-01-29 01:30:13 +02:00
README.md Update README to clarify precedence of Spec v3 field over legacy fields 2026-01-23 23:06:13 +02:00
webpack.config.js Fix JSON data field handing 2026-01-29 01:30:13 +02:00

Extension-GroupGreetings

About

This extension allows setting alternate greetings that are specific to group chats.

How to use

  1. Open an existing character or a character creation form.
  2. Find a new button next to the "Alt. Greetings" option in the "First message" block.
  3. Click the button to bring up the editor. Add greetings to your liking (they save automatically).
  4. Optionally, set a selection mode: random or user pick.
  5. Start a new group chat with a character you've added greetings for.
  6. Depending on the chosen mode, one of the added group greetings will be picked by you or randomly.

Tip

Group greetings are saved to the character card. They will be visible to other people if they have this extension installed. When both Spec v3 and legacy fields are present, Spec v3 field takes precedence.

Prerequisites

SillyTavern - latest staging version preferred, or stable release >= 1.11.6.

This won't work on any older versions.

Nerd zone 🤓

React? In MY SillyTavern?

Yes.

How to build

  1. Clone the repo
  2. Run npm install
  3. Run npm run build
  4. Minimized plugin file will be in the /dist folder

Data model

{
    "data": {
        // Spec v3 field
        // https://github.com/kwaroran/character-card-spec-v3/blob/main/SPEC_V3.md#group_only_greetings
        "group_only_greetings": [
            "your",
            "strings",
            "here"
        ],
        "extensions": {
            // Legacy field, kept for backward compatibility
            "group_greetings": [
                "your",
                "strings",
                "here"
            ],
            "group_greetings_mode": 0
        }
    }
}

const ACTIVATION_MODE = {
    RANDOM: 0,
    PICK: 1,
};

License

AGPLv3