SpongeAPI icon indicating copy to clipboard operation
SpongeAPI copied to clipboard

Server-scoped PlayerChatRouter

Open ejm opened this issue 3 years ago • 0 comments

Major SpongeAPI version

8

Is this likely to be a breaking change?

No

What are you requesting?

It would be useful to be able to set a server- or maybe game-scoped PlayerChatFormatter to replace the default one that is used if the formatter isn't overridden by the ServerPlayer or within an event.

I would use this for my chat plugin instead of just setting the formatter for every message with an event.

ejm avatar Feb 10 '22 12:02 ejm