Перейти к содержимому
Mineforgian

CursedAddons

A chat utility mod for modern Fabric Minecraft

Загрузки
316
Подписчики
0
Обновлён
14 мая 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 30 декабря 2025 г.

CursedAddons

Description

CursedAddons is a Minecraft Fabric mod that enhances chat functionality with keybindings, aliases, chat notifiers, and the ability to view onClick actions for rich messages.

Features

  • Command Keybindings: Define custom hotkeys and key combinations (e.g., Shift+F1) to instantly send predefined chat messages or commands.
  • Command Aliases: Create shortcuts for frequently used commands or messages (e.g., /s/say or /aboutHello, my name is John Smith).
  • Click Events Preview: When hovering over clickable text in chat, preview what actions will occur (opening URLs, running commands, copying to clipboard, etc.) before clicking.
  • Image Hover Preview: Preview images directly in chat by hovering over image URLs. Supports PNG, JPG, GIF, and WebP with domain whitelisting.
  • Chat Notifications: Set up custom notifications for specific chat messages using string matching or regex patterns. Notifications can play sounds, set window titles, or execute commands when triggered.
  • Fake Chat Messages: Send custom formatted messages to chat using tellraw JSON syntax, including colors, links, and interactive elements.
  • Fixes MC-122477: Fixes a bug on Unix systems where the key to open commands and/or chat can sometimes be doubled when pressed.

Installation

Prerequisites

  • Minecraft Java Edition 1.21.11 (currently supported; future versions may be supported in updates)
  • Fabric Loader 0.18.2 or newer
  • Fabric API 0.141.3+1.21.11 or newer

Steps

  1. Install Fabric Loader: If you haven't already, download and install the Fabric Loader for Minecraft 1.21.11 from the Fabric website.
  2. Download Fabric API: Download the Fabric API for 1.21.11 from its Modrinth page.
  3. Download CursedAddons
  4. Place Mods in mods folder:
    • Locate your Minecraft installation directory.
    • Navigate to the mods folder. If it doesn't exist, create one.
    • Place the downloaded fabric-api-*.jar and cursedaddons-*.jar files into the mods folder.
  5. Launch Minecraft: Start the Minecraft launcher, select the Fabric profile, and launch the game.

Usage

CursedAddons can be configured through its configuration screen, accessible in two ways:

  • Via ModMenu: If you have ModMenu installed, go to Mods → CursedAddons → Config
  • Via Command: Type /cursedaddons in chat to open the configuration screen

For per-feature setup instructions, see the Feature Guide.

Regex Tester

For debugging ChatNotifications regex patterns, use the online regex tester. It allows you to:

  • Test patterns against Minecraft chat messages with § color codes
  • See capture groups in the same format used by the mod ($0, $1, etc.)
  • Preview how color codes will appear visually
  • Convert & color codes to § automatically (like the mod does)

Contributing

Contributions are welcome! If you have suggestions, bug reports, or want to contribute code, please feel free to open an issue or pull request!

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

Big shout out to 70CentsApple for the original concept!

Ченджлог

1.0.8Релиз26.1, 26.1.1, 26.1.2 · 14 мая 2026 г.

[1.0.8] - 2026-05-13

Changed

+ Command Aliases: typing an alias in the chat box now shows live argument coloring and usage tooltips for the expanded command, no longer shows "unknown command"
1.0.7+26.1.2Релиз26.1, 26.1.1, 26.1.2 · 1 мая 2026 г.

[1.0.7] - 2026-05-01

What's New

+ Chat Notifications: added Pitch field for sound playback (0.5 – 2.0, default 1.0)

Fixed

- Opening chat or commands with a modifier key (e.g. Ctrl) no longer deletes the first character typed
- Click Events Preview no longer breaks in some edge cases
- GIF frames are now properly disposed when decoding fails, preventing memory leaks
- SSRF protection now checks each redirect hop *before* opening a TCP connection (previously the connection was made before the check, whoops!)
- OG:Image URL resolution now correctly prepends the full origin for relative image paths (e.g. /img/cat.png -> https://example.com/img/cat.png)

Changed

- Image texture cache now reserves a sub-limit of 5 GIF slots within the 50-texture total (e.g. 5 GIFs + 45 images, or 0 GIFs + 50 images)
- GIF playback is now capped at 100 frames per GIF
1.0.6+26.1-betaБета26.1, 26.1.1, 26.1.2 · 11 апреля 2026 г.

Experimental Minecraft 26.1.x branch. May be buggy, please report any issues encountered here: https://github.com/CursedAtom/CursedAddons/issues

1.0.6Релиз1.21.11 · 11 апреля 2026 г.

[1.0.6] - 2026-04-10

What's New

+ Copy Chat Messages: right-click any chat message to copy it to the clipboard
  + Right-click: plain text
  + Ctrl+Right-click: legacy formatted text (§ color codes preserved)
  + Ctrl+Shift+Right-click: raw JSON component
  + Chinese Simplified i18n (Thanks @70CentsApple!)

Fixed

- Image downscaling no longer produces a pixelated/pixel-art result for large images
- Image link tooltips are no longer removed when Image Hover Preview is disabled

Changed

+ Updated for Minecraft 1.21.11 ( ~~works for both 1.21.10 and 1.21.11~~ Edit: seems to cause crashes on 1.21.10 due to mixin application)  
1.0.5Релиз1.21.10 · 22 февраля 2026 г.

[1.0.5] - 2026-02-22

Fixed

- Adding new list items will no longer override a previously selected item. 
(Command Aliases, Domain Whitelist for Image Preview, Keybinds, 
Chat Notifiers)
- When a new list entry is added, it will no longer be selected by default
1.0.4Релиз1.21.10 · 20 февраля 2026 г.

[1.0.4] - 2026-02-20

Fixed

- Config now saves when closing the screen via Escape (previously only saved via the Done button)
- Pressing Escape while rebinding a macro key now restores the previous binding instead of clearing it
- Macro key-press state is cleared on config reload, preventing ghost activations after editing
- Config loading now gracefully handles an empty or null config file instead of logging an error

Changed

+ Image preview now follows HTTP redirects (up to 5 hops), with SSRF protection re-checked on each target
+ Edit, Delete, Add, Save, and Cancel buttons are now translatable via lang file
1.0.3Релиз1.21.10 · 16 февраля 2026 г.

What's New

+ Embed URL resolution: imgur, giphy, tenor links now resolve to direct images
  - Per-domain "Resolve Embed" toggle in whitelist, with og:image fallback for other platforms (e.g. tenor, imgur)
+ Plain text URL detection: image previews work even without clickable chat formatting
+ Sound event autocomplete dropdown in notification editor
+ Image Preview now has its own config tab
+ Error tooltip shown when image fails to load

Changed

- Removed tooltip background/padding from image previews — renders image directly
- Removed MaxWidth/MaxHeight/Padding config — auto-sizes to 25% of screen (Shift for full)
- Notification pattern max length reduced to 500 to match internal limit
- Config keys moved from general.ImageHoverPreview.* to imagepreview.Preview.*

Technical

  • Config caching with version-based invalidation (no more parsing the config every tick)
  • Image/texture caches now have proper cleanup
  • SSRF protection, timeouts, redirect rejection, and file-size limits on image loading (size configurable in the config file)
  • GIF memory reduction: frames encoded to PNG during decode; static images skip PNG roundtrip
  • Regex patterns pre-compiled and cached for notifications
  • Macro keybind conflict enforcement (auto-disables duplicates)
  • Removed LoggerUtils, WhitelistScreen; added ConfigKeys, UnitTypeRegistry, UrlResolver, PlainTextUrlAnnotator
1.0.2Релиз1.21.10, 1.21.11 · 2 февраля 2026 г.

[1.0.2] - 2026-02-01

What's New

+ Image Hover Preview: Preview images directly in chat by hovering over URLs
  - Supports PNG, JPG, JPEG, GIF, and WebP formats
  - Domain whitelist for security (only shows images from trusted domains)
  - GIF animation support
+ New fakechat command: Send formatted chat messages with tellraw syntax (client-side only)
  - Supports colors, click events, hover events, and selectors
  - Usage: `/cursedaddons fakechat <json>`
    - Example: `/cursedaddons fakechat {"text":"Hello","color":"red","click_event":{"action":"open_url","url":"https://example.com"}}`

Changed

- Removed ClothConfig dependency - no longer required for installation
- Replaced with custom configuration system
  - New custom GUI screens for all config features
  - Improved field editors and list management

Technical

  • Complete rewrite of configuration system using native Minecraft GUI components

Комментарии

Загружаем…