Package-level declarations

Types

Link copied to clipboard
class MessageFormatter(prefix: String)

Formats messages with a prefix and color.

Link copied to clipboard
open class PluginLogger(isDebug: Boolean, prefix: String)

A logger for the plugin.

Functions

Link copied to clipboard
fun CommandSender.sendConfirm(plugin: ColosseumPlugin, message: String)

Sends a confirmation message to the command sender.

Link copied to clipboard
fun CommandSender.sendCustom(plugin: ColosseumPlugin, prefixColor: ChatColor, messageColor: ChatColor, message: String)

Sends a custom colored message to the command sender.

Link copied to clipboard
fun CommandSender.sendError(plugin: ColosseumPlugin, message: String)

Sends an error message to the command sender.

Link copied to clipboard
fun CommandSender.sendInfo(plugin: ColosseumPlugin, message: String)

Sends an info message to the command sender.

Link copied to clipboard
fun CommandSender.sendUrl(plugin: ColosseumPlugin, url: String)

Sends a url message to the command sender.

Link copied to clipboard
fun CommandSender.sendWarn(plugin: ColosseumPlugin, message: String)

Sends a warning message to the command sender.