Мова

Algrim Chat

Algrim Chat

Modrinth

A chat styling fabric mod for clients

612 завантажень 2 підписників оновлено 8mo ago
остання v2.0.0+1.21.8 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.

Версії

Beta
2.0.0+1.21.8
fabric · 1.21.8, 1.21.9, 1.21.10 · 8mo ago
Breaking Changes: - Nested style patterns no longer require escaping, which makes them much more readable, and avoids escape hell. (This may break existing…
37
Beta
1.2.1+1.21.8
fabric · 1.21.8 · 10mo ago
- Fixed invisible labels/text.
22
Beta
1.2.0+1.21.8
fabric · 1.21.8 · 10mo ago
- updated to 1.21.8
16
Beta
1.1.0+1.21.0
fabric · 1.21, 1.21.1, 1.21.2 · 16mo ago
- Increased the max length of text fields to 2048
58
Beta
1.0.0+1.21.0
fabric · 1.21, 1.21.1, 1.21.2 · 23mo ago
- Updated for 1.21.0
70
Beta
0.2.0+1.20.6
fabric · 1.20.6 · 23mo ago
- Updated for 1.20.6
37
Beta
0.1.3+1.20.4
fabric · 1.20.4 · 28mo ago
- Fixed a crash with unclosed regex parts
79
Beta
0.0.8+1.20.1
fabric · 1.20.1, 1.20.2 · 28mo ago
- Fixed a crash with unclosed regex parts
69
Beta
0.1.2+1.20.4
fabric · 1.20.4 · 30mo ago
- Added ability to name and enable/disable patterns
38
Beta
0.0.7+1.20.1
fabric · 1.20.1, 1.20.2 · 30mo ago
- Added ability to name and enable/disable patterns
37
Beta
0.1.1+1.20.4
fabric · 1.20.4 · 30mo ago
- Updated homepage - Removed dependency on Fabric API
33
Beta
0.0.6+1.20.1
fabric · 1.20.1, 1.20.2 · 30mo ago
- Updated homepage - Removed dependency on Fabric API
39

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.