diff --git a/pom.xml b/pom.xml index 469b18d..579505d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ com.palmergames.bukkit TownyChat jar - 0.72 + 0.73 diff --git a/resources/changelog.txt b/resources/changelog.txt index 14cf2c5..de4b2cf 100644 --- a/resources/changelog.txt +++ b/resources/changelog.txt @@ -309,4 +309,11 @@ v0.71: - Bugfixes on the AsyncChatHookEvents, courtesy of Rebstew with PR #26. v0.72: - Fix ConcurrentModificationException caused by spies. - - Closes https://github.com/TownyAdvanced/Towny/issues/4077 \ No newline at end of file + - Closes https://github.com/TownyAdvanced/Towny/issues/4077 +v0.73: + - Add Hex Color Support to TownyChat, courtesy of Siris with PR #27. + - The format for hex colors is a # symbol followed by 6 numbers. + - You can use any of the 3 formats: + - #RRGGBB + - &#RRGGBB + - {#RRGGBB} \ No newline at end of file diff --git a/src/com/palmergames/bukkit/TownyChat/config/ChatConfigNodes.java b/src/com/palmergames/bukkit/TownyChat/config/ChatConfigNodes.java index 01fe172..062d142 100644 --- a/src/com/palmergames/bukkit/TownyChat/config/ChatConfigNodes.java +++ b/src/com/palmergames/bukkit/TownyChat/config/ChatConfigNodes.java @@ -70,7 +70,15 @@ public enum ChatConfigNodes { "# Text altering", "# -------------", "# Bold = &l, Italics = &o, Underlined = &n,", - "# Magic = &k, Strike = &m, Reset = &r"), + "# Magic = &k, Strike = &m, Reset = &r", + "#", + "# Hex Chat Coloring", + "# -----------------", + "# Valid formats: ", + "# #RRGGBB", + "# &#RRGGBB", + "# {#RRGGBB}"), + CHANNEL_FORMATS( "channel_formats", "",