Package dev.jaims.mcutils.bungee

Functions

colorize
Link copied to clipboard
Turn a string into a colored string.
fun String.colorize(): String
fun List<String>.colorize(): List<String>
log
Link copied to clipboard
A way to log messages to your plugins console much easier.
fun Plugin.log(message: Any?, severity: Severity)
register
Link copied to clipboard
Register a command
fun Plugin.register(vararg command: Array<Out Command>)
Register a listener
fun Plugin.register(vararg listener: Array<Out Listener>)
send
Link copied to clipboard
Send a message to someone
fun CommandSender.send(message: String)
Send multiple messsages at once
fun CommandSender.send(messages: MutableList<String>)
Send a message to a list of command senders
fun <T : CommandSender> MutableList<T>.send(message: String)
Send a list of messages
fun <T : CommandSender> MutableList<T>.send(messages: MutableList<String>)