Where is TextSerializers.FORMATTING_CODE.stripCodes in sponge 8.0?

In sponge 7.0 I can strip test by using this code

TextSerializers.FORMATTING_CODE.stripCodes

but In sponge 8.0 I couldn’t find it.

Please help me.

Sponge 8 uses a 3rd party library known as Text Component now for messages. This 3rd party library can also be found in paper.

I think its official docs on the Legacy format codes are what you want

https://docs.adventure.kyori.net/serializer/index.html

Edit:
Just seen you meant stripCodes. That would be the plane serializer

1 Like

Thank for you care!