broadcastText

inline fun MinecraftServer.broadcastText(baseText: String? = null, builder: LiteralTextBuilder.() -> Unit = { })(source)

Opens a LiteralTextBuilder and sends the resulting Component to each player on the server.

See also


fun MinecraftServer.broadcastText(text: Component)(source)

Sends the given Component to each player on the server.