PocketMine-MP 5.14.2 git-50e2c469a547a16a23b2dc691e70a51d34e29395
|
Public Member Functions | |
format (string $username, string $message) | |
Standard chat formatter, formats messages in the default Minecraft way.
Definition at line 32 of file StandardChatFormatter.php.
pocketmine\player\chat\StandardChatFormatter::format | ( | string | $username, |
string | $message | ||
) |
Returns the formatted message to broadcast. This can return a plain string (which will be used as-is) or a Translatable (which will be translated into each recipient's language).
Implements pocketmine\player\chat\ChatFormatter.
Definition at line 34 of file StandardChatFormatter.php.