Language

Algrim Chat

Algrim Chat

Modrinth

A chat styling fabric mod for clients

612 downloads 2 followers updated 8mo ago
Modrinth
Fabric 1.20.1 – 1.21.10 Social

Algrim Chat

Algrim Chat is a chat styling fabric mod for clients.

About

The mod applies custom styling to server messages through use of "patterns". These patterns tell the mod which messages
should be styled, and how to style them.

Dependencies

Dependencies are listed with each release.

Configuration

Config GUI can be opened with R,C, by default.

Patterns

Patterns consist of three components:

  • Literal

    Literal pattern parts are the simplest. They match characters exactly (with a few exceptions).

    Example Patterns:

    | Pattern | Message | Matches |
    |-------------------|--------------------|:-------:|
    | You leveled up! | "You leveled up!" | ✅ |
    | <Player6> Hello | "<Player6> Hello" | ✅ |
    | <Player6> Hello | "<Player6> Bye" | ❌ |
    | <Player6> Hello | "<Player2> Hello" | ❌ |

    They're great for matching static messages that don't change, but not too useful on their own in terms of
    chat on a server where player names and message content change.



    Some special characters may also be mistaken as other pattern parts, avoid this by escaping them with \​

  • Regex

    Regex pattern parts are denoted by a / at the beginning and end.

    Example Patterns:

    | Pattern | Message | Matches | Note |
    |---------------------|--------------------|:-------:|-----------------------------------------------------------------------------|
    | /You leveled up!/ | "You leveled up!" | ✅ | While regex can match static messages, it's often simpler to use a Literal. |
    | /.*/ | "<Player6> Hello" | ✅ | Will technically match all messages. |
    | </\\w+/> /.*/ | "<Player6> Bye" | ✅ | Here we are using a combination of Literal "<" and "> ", and Regex parts. |

  • Style

    Style pattern parts apply style to messages (Finally!!!) and are split into two
    sections: [Style, Overrides] and (Content)


    • Style Overrides are a comma separated list of styles.
    • Content consists of Literal or Regex components.

    Example Patterns:

    | Pattern | Message | Matches | Note |
    |---------------------------------------|---------------------|:-------:|-------------------------------------------------------------|
    | [green](You leveled up!) | "You leveled up!" | ✅ | Styles the message green. |
    | <[#00FFFF](/\\w+/)> [white,i](/.*/) | "<Player6> Hello" | ✅ | Styles the player's name in aqua and their message white. |

Style Overrides

The valid Style Overrides are:

| | Override Name(s) |
|:----------------------------------:|-----------------------|
| Bold | bold, b |
| Italics | italic, it, i |
| Underlined | underline, u |
| Strikethrough | strikethrough, s |
| ͅO͆b̼f̧u̺s̓c͠a̿t̝e̿d̮͒ | obfuscate, o |
| Colour | #<hex>, <mc name> |

Styles can be removed by prefixing ! to the Override Name. ! on its own will strip all styles.
ex: [!bold](/.*/) remove bold.
or: [!](/.*/) remove all styling.

Versions

No version history available. Use the Download button to get the latest from the source.

Comments 0

No comments yet. Be the first to share your thoughts.

Download Algrim Chat

Files are served directly from the original source. Modgrid does not host or modify them.