Companion
Defines utilities for general purposes across multiple platforms.
Functions
Creates a chat button String in MiniMessage formatting, with the text "ACCEPT" in bold green, that when clicked, executes the given command.
Creates a chat button String in MiniMessage formatting, with a checkmark, that when clicked, executed the given command.
Creates a chat button String in MiniMessage formatting, with the text "DECLINE" in bold red, that when clicked, executes the given command.
Creates a chat button String in MiniMessage formatting, with the text "NO" in bold red, that when clicked, executes the given command.
Creates a chat button String in MiniMessage formatting, with the text "OK" in bold green, that when clicked, executes the given command.
Creates a chat button String in MiniMessage formatting, with the text "x" in bold red, that when clicked, executes the given command.
Creates a chat button String in MiniMessage formatting, with the text "YES" in bold green, that when clicked, executes the given command.
Converts the given String into its censored version, where each blacklisted word in blacklistedWords is replaced by its censored version. E. G. "fuck" -> "f***".
Converts the given Component into an Array of BaseComponent, usable on BungeeCord systems.
Converts the given String into its censored version, where each blacklisted word in blacklistedWords is replaced by its censored version. E. G. "fuck" -> "f***".
Converts the given Component into a String with legacy ampersand (&) formatting.
Converts the given Component into a String with legacy section (§) formatting.
Converts the given String into a Component using MiniMessage.deserialize.
Converts the given Component into a String with MiniMessage formatting.
Converts the given Component into a plain text String with no formatting.