---
title: broadcast -
---
//[KSpigot](../index.md)/[net.axay.kspigot.extensions](index.md)/[broadcast](broadcast.md)
# broadcast
[jvm]
Brief description
Broadcasts a message (msg) on the server.
#### Return
the number of recipients
## See also
jvm
| Name| Summary|
|---|---|
| Bukkit.broadcastMessage|
Content
fun [broadcast](broadcast.md)(msg: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)