Home›Java›Mods›StrayTags
StrayTags
ModsJava

StrayTags

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by Colusite · on Modrinth

Tired of clan leaders changing their tag clan tag colour every 5 minutes? With this mod, you can freely customise the nametags of players so that your…

⬇ Download on Modrinth
StrayTags — screenshot 1StrayTags — screenshot 2

Showcase of own/ally tags at the sword spawn Image of the config menu

Stray Tags

Tested on Fabric 1.21, 1.21.4, 1.21.8, 1.21.11

Tired of clan leaders changing their clan tag colour every 5 minutes?
With this mod, you can freely customise the nametags of players so that your colour recognition isn't messed up by clan leaders.

Dependencies

Rundown

User Defined Categories

The Own/Allied/Enemy/Neutral split is no longer hardcoded. You can create as many categories as you want, name them whatever you want (with MiniMessage formatting on the name itself), and reorder them. The first category whose lists match a player's nametag wins.

Each category has:

Categories not matched fall through to the Neutral format (player has a clan tag) or No Clan format (no clan tag).

Generic Regex Groups

The screen builder discovers regex groups dynamically from your Default Matching Regex and creates one ListOption per named group. Format strings use %groupName% placeholders for any group.

Example regex with three groups:

^(?:<(?<Rank>[^>]+)>\s+)?(?<Usernames>\S+)(?:\s+\[(?<Clans>[^\]]+)\])?$

Each category now exposes three lists (Rank, Usernames, Clans) and the format can use %Rank% %Usernames% [%Clans%].

%username% and %clan% are kept as legacy aliases (mapped to the first / second named group) so old configs keep rendering correctly.

Format Preview

The config screen shows a static preview below each format field. Previews update on save - close and reopen Mod Menu (or click Save Changes) to refresh.
Blank formats show (unchanged - blank format).

Server Whitelist & Per-Server Configs

Configure different categories per server. The __default__ fallback applies to any whitelisted server that doesn't have its own config. The default stray.gg config ships with Own / Allied / Elysium / Enemy categories tuned for Latte.

The "Elysium" category demonstrates server filtering - Elysium clans are tagged as enemy on eu.stray.gg only; on NA/AS they fall through to the neutral format.

Import / Export

Share your config with other players using Base64 share codes:

Codes use the ST2: prefix. Legacy ST1:, ST1C:, and ST1F: codes are still accepted and migrated automatically.

Commands

The following commands require "Enable Debug Commands" to be turned on in the General tab:

Config

JSON config at config/straytags.json. YACL + Mod Menu integration for in-game editing.
Legacy configs (Cloth Config era + hardcoded Own/Allied/Enemy) auto-migrate on load.

Showcase of enemy tags at the sword lobby

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more