-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Why migrate
Mojang and paper are phasing out legacy text formatting codes and text composition APIs (Bungee chat, Bukkit ChatColor, etc), in favor of Adventure API.
TerraPlusMinus uses legacy inline formatting codes and deprecated APIs in many places. We should aim to proactively migrate to Adventure API before those legacy interfaces are definitively removed.
The migration should be quite straightforward and mostly transparent to end users, except maybe for the prefix plugin configuration option.
Proposed approach for the prefix configuration option:
- migrate
prefixover to Adventure's legacy serializer - add a
chatPrefixoption taking a serialized text component, and fall back to it whenprefixis unset - log a warning when the plugin is loaded to encourage users to migrate from
prefixtochatPrefix
Useful resources:
Metadata
Metadata
Assignees
Labels
No labels