Skip to content

sendMessage request: Overload with string param #763

Description

@theboomer

Would it be possible/feasable for the sendMessage() method used in command sender, player.. to have a String parameter argument that it then just converts into text.

Having to wrap every simple, non colored, non formatted simple string with Texts.of() within the argument get tedious and seems overkill, when a simple String could be detected and converted in the method itself. Then Text is still there for its robust, feature rich use, but not required .

Or is the concern that folks may take porting to an extreme and encode color characters in the string that would break a simple Texts.of() wrapping of it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions