Escapegoat

Escapegoat

A mod that adds various escape sequences to SNBT.

by
82 Downloads
fabriclibrarytechnologyutility
Rent Server with this Mod

Screenshots

Example

About this Mod

Escapegoat

Escapegoat is a Fabric mod that adds various escape sequences to SNBT strings.
This mod was made because of the change made in snapshot 25w02a regarding text components in commands like tellraw, because they now use SNBT instead of JSON.
Because of this change, some functionality was lost, such as the ability to escape most characters.
This mod is there to fix that by adding the escape functionality to SNBT.
See the bug reports MC-279229 and MC-279250 for more information.

Escape sequences work both ways, for input and for output, though note that stringifying data only works with NBT.
This is something that is very likely to change in the future to make it independent of NBT, either by Mojang or by me in this mod, so please watch out for that.

Examples

  • /tellraw @a "Mi\necraft"
  • /tellraw @a {text: 'Abracadabra: \u{2728}', bold: true, color: "yellow"}
  • /item modify entity @s weapon {function: 'minecraft:set_writable_book_pages', pages: ['Line 1\nLine 2\nLine 3'], mode: 'replace_all'}

Escape Sequences

All escape sequences start with the \ character.

Simple escape sequences

  • \\: Backslash
  • \': Single quote (context-dependent, see below)
  • \": Double quote (context-dependent, see below)
  • \n: Line feed

Other common simple escape sequences are currently not allowed due to Minecraft not rendering them properly.

Escape sequences for surrounders are only allowed when used in a string with that surrounder.
This means that ' and " may be escaped depending on which one is used for a string that is surrounded by that character.
In other words: '\'' is valid, but '\"' is not, and vice versa, just like how it works in Minecraft already.

Complicated escape sequences

These complicated escape sequences can be used to represent any Unicode character.

  • \uXXXX: A fixed-length four-character hexadecimal UTF-16 character.
    The same as the one used in languages like JSON and JavaScript.
    Examples:
    • \u004D (M)
    • \u2605 (★)
    • \uD83D\uDE0A (😊)
  • \u{XXXXXX}: A variable-length hexadecimal UTF-32 character.
    The same as the one used in JavaScript.
    Examples:
    • \u{4D} (M)
    • \u{2605} (★)
    • \u{1F60A} (😊)

Available Versions

Escapegoat 1.0.0release
MC 25w06a, 25w07a, 25w08afabric
February 7, 2025

How to Install Escapegoat on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (25w08a).

3

Install Mod

Open the mod browser in the dashboard and search for "Escapegoat". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

25w08a, 25w07a, 25w06a

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Escapegoat server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (25w08a). You can switch loaders with one click in the panel.

Is Escapegoat compatible with fabric?

Escapegoat officially supports fabric for Minecraft 25w08a, 25w07a, 25w06a. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Escapegoat – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Escapegoat consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Escapegoat with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Optional

Supported Versions

25w08a25w07a25w06a