broadcastText

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

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

See also


fun MinecraftServer.broadcastText(text: Component)

Sends the given Component to each player on the server.