forEachPlayerInRegion
suspend fun forEachPlayerInRegion(action: suspend (player: Player) -> Unit, concurrent: Boolean = false)
Executes a suspendable action on each online player, optionally concurrently.
Parameters
action
The suspendable action to perform on each player.
concurrent
If true
, actions will run concurrently; otherwise, sequentially. Default is false
.