Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors
This commit is contained in:
parent
8c6fb2c92e
commit
2bc9cfd761
4 changed files with 101 additions and 397 deletions
3
src/main/resources/chat.yml
Normal file
3
src/main/resources/chat.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
formats:
|
||||
global: "<gray>[G]</gray> {prefix}{name}<gray>:</gray> <white>{message}"
|
||||
local: "{prefix}{name}<gray>:</gray> <white>{message}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue