team Msg
fun teamMsg(entity: Entity, playerTeam: PlayerTeam, list: MutableList<ServerPlayer>, playerChatMessage: PlayerChatMessage, commandSourceStack: CommandSourceStack = requireServer().createCommandSourceStack())
Send a team chat message to a list of players with filtering and formatting.
Parameters
entity
source entity (sender)
player Team
team being messaged
list
recipients
player Chat Message
message content
command Source Stack
command source used for formatting and filtering