diff --git a/Readme.md b/Readme.md index 9e2aca9ef..5ad08ce0b 100644 --- a/Readme.md +++ b/Readme.md @@ -89,6 +89,13 @@ channels: The use of [PlaceholderAPI][2] placeholders in the channel format is possible. For example `[]%vault_rank% %player_name%: ` will work and replace the placeholders. +## Frequently Asked Questions + +### Are HEX colors supported? + +Yes they are. Use them just like the other colors, e.g. `<#ffffff>`. See this [formatting documentation][6] for +more details. + [1]: https://papermc.io/ [2]: https://www.spigotmc.org/resources/vault.34315/ @@ -97,4 +104,6 @@ example `[]%vault_rank% %player_name%: ` will work and re [4]: https://www.spigotmc.org/resources/protocollib.1997/ -[5]: https://github.com/Silthus/sChat/releases \ No newline at end of file +[5]: https://github.com/Silthus/sChat/releases + +[6]: https://docs.adventure.kyori.net/minimessage#format \ No newline at end of file diff --git a/src/main/resources/config.default.yml b/src/main/resources/config.default.yml index c73d096a7..2a1ecba6c 100644 --- a/src/main/resources/config.default.yml +++ b/src/main/resources/config.default.yml @@ -71,6 +71,7 @@ channels: # You can use the mini message format documented here: https://docs.adventure.kyori.net/minimessage#format # You can use the web viewer to preview how your chat will look: https://webui.adventure.kyori.net/ # You can use any PlaceholderAPI placeholders with the {placeholder} syntax. + # You can use any hex color inside the <...> brackets, e.g. <#ffffff> instead of or <#ffffff> # The following custom mini message placeholders are available: # - : The name of the channel (see above). # - : The Vault prefix of the sending player. Requires Vault to work. "Bleeding" color codes in prefix and suffix currently do not work. diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index c73d096a7..2a1ecba6c 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -71,6 +71,7 @@ channels: # You can use the mini message format documented here: https://docs.adventure.kyori.net/minimessage#format # You can use the web viewer to preview how your chat will look: https://webui.adventure.kyori.net/ # You can use any PlaceholderAPI placeholders with the {placeholder} syntax. + # You can use any hex color inside the <...> brackets, e.g. <#ffffff> instead of or <#ffffff> # The following custom mini message placeholders are available: # - : The name of the channel (see above). # - : The Vault prefix of the sending player. Requires Vault to work. "Bleeding" color codes in prefix and suffix currently do not work.