- 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}
This commit is contained in:
Llm Dl committed 2020-07-11 17:12:34 -05:00
1 parent e193d72533
commit 74de8f816f
3 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
<groupId>com.palmergames.bukkit</groupId> <groupId>com.palmergames.bukkit</groupId>
<artifactId>TownyChat</artifactId> <artifactId>TownyChat</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>0.72</version> <version>0.73</version>
<licenses> <licenses>
<license> <license>
+7
View File
@@ -310,3 +310,10 @@ v0.71:
v0.72: v0.72:
- Fix ConcurrentModificationException caused by spies. - Fix ConcurrentModificationException caused by spies.
- Closes https://github.com/TownyAdvanced/Towny/issues/4077 - 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}
@@ -70,7 +70,15 @@ public enum ChatConfigNodes {
"# Text altering", "# Text altering",
"# -------------", "# -------------",
"# Bold = &l, Italics = &o, Underlined = &n,", "# 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(
"channel_formats", "channel_formats",
"", "",