Sueta

RainbowChat ☆ EULA Compliant

1.0

Unique way to highlight VIP/admin messages in chat.

·Plugin

RainbowChat is a plugin which allows you to chat with every character colored another color.

One of predefined scheme
It is a great advantage for VIP players as it is EULA Compliant! There are some predefined styles, but you can configure your own.

Message in czech language using rainbow colors
Commands:
You can use /rc or /rainbowchat

  • /rc help - prints ingame help commands list
  • /rc list - prints a list of schemes you can use and you cannot use (configurable)
  • /rc enable <scheme> - enables color scheme
  • /rc disable - disables current scheme
  • /rc reload - reloads the configuration

Permissions:

  • rainbowchat.admin.* - permission for all admin commands
  • rainbowchat.default - permission to use /rainbowchat
  • rainbowchat.list - permission to use /rainbowchat list
  • rainbowchat.disable - permission to use /rainbowchat disable
  • rainbowchat.scheme.<schemeName> - permission to use schemes
  • rainbowchat.admin.reload - permission to use /rainbowchat reload

Configuration:
You can add as many color schemes/styles as you want. You can change any message in config. Tutorial how to setup a new scheme is in the config.

# Set the prefix of plugin messages
prefix: "&b[&aRainbow&bChat&a]"

# Chat priority of plugin
# Values can be: LOW, NORMAL, HIGH
# If plugin doesn't work well, change this to another value
priority: "LOW"

# Schemes (colors) section
schemes:
  # Names of schemes
  gray:
    # Colors:
    # Every single character in "colors" means one color code
    # Example: "hello" will result as "&7h&8e&7l&8l&7o"
    colors: "78"
  rainbow:
    # Just another example with the colors of a rainbow
    colors: "4c6eab95"
  admin:
    # If you need more color codes for each character, use brackets
    # Example: "hello" will result as "&b&lh&c&le&b&ll&c&ll&b&lo"
    colors: "(bl)(cl)"
  green:
    # You can also combine "without brackets" and "with brackets"
    # Example: "hello" will result as "&a&oh&2e&a&ol&2l&a&oo"
    colors: "(ao)2"
  rgby:
    colors: "ca9e"
  red:
    colors: "cc44"
  pink:
    colors: "(dn)(5n)"
  redgreen:
    colors: "(clo)(alo)"

# Plugin messages/phrases section:
messages:
  # Global placeholders/variables (you can use them in every message below - exceptions are written before the section starts):
  # %prefix% - Replaced by prefix configured in config.yml
  # %cmd% - Replaced by used command (/rainbowchat or /rc)
  use_help_for_help: "%prefix% &cUse /%cmd% help for help"
  help_message: "%prefix% &aList of subcommands:"
  # Special placeholders only for help_cmdformat: %subcmd% - subcommand with args; %desc% - subcommand description
  help_cmdformat: "&a/%cmd% %subcmd% &e%desc%"
  # In the following lines (*_desc and arg_*) you cannot use any placeholders
  help_help_desc: "This list"
  help_list_desc: "List of loaded schemes"
  help_enable_desc: "Enables scheme"
  help_disable_desc: "Disables your current scheme"
  help_reload_desc: "Reloads configuration file"
  arg_name: "<name>"
  list_message: "%prefix% &aList of styles/schemes:"
  # Prefix for name of scheme in /rc list for which the command sender has permission (rainbowchat.scheme.name):
  list_has_permission: "&a- "
  # The opposite
  # If you write "<hide>", the scheme won't be shown (to players without permission for scheme)
  list_no_permission: "&c- "
  err_no_perms_list: "&cSorry, but you don't have permission to use that command (rainbowchat.list)!"
  err_enable_second_arg: "%prefix% &cYou need to use name as second argument!"
  err_style_not_found: "%prefix% &cStyle not found, check /%cmd% list!"
  # Special placeholder for two next lines: %style% - enabled style name
  enable_activated: "%prefix% &aStyle %style% activated, try chat!"
  err_no_perms_for_style: "&cYou don't have permission to use style %style%!"
  disable_disabled: "%prefix% &aScheme disabled"
  err_no_perms_disable: "&cYou don't have permission to use this command (rainbowchat.disable)"
  reload_reloaded: "%prefix% &aPlugin config reloaded!"
  err_no_perms_reload: "&cYou don't have permission to use this command (rainbowchat.admin.reload)"
  err_no_perms_default: "&cSorry, but you don't have permission to use that command (rainbowchat.default)!"

More screenshots:
They are made in CraftChat Android app.

Default no permission message

Default schemes list message

Testing of a few of default styles

It is compatible with EssentialsChat

Similar projects

Plugin →