--- title: printColoredPrefix - --- //[KSpigot](../index.md)/[net.axay.kspigot.extensions.bukkit](index.md)/[printColoredPrefix](print-colored-prefix.md) # printColoredPrefix [jvm] Brief description Sends the given message and adds the given prefix with the given color to it. Content fun CommandSender.[printColoredPrefix](print-colored-prefix.md)(text: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), textColor: ChatColor, prefix: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), prefixColor: ChatColor)