diff --git a/chatformatter-core/src/main/java/com/eternalcode/formatter/ChatHandlerImpl.java b/chatformatter-core/src/main/java/com/eternalcode/formatter/ChatHandlerImpl.java index 5f07052..764348e 100644 --- a/chatformatter-core/src/main/java/com/eternalcode/formatter/ChatHandlerImpl.java +++ b/chatformatter-core/src/main/java/com/eternalcode/formatter/ChatHandlerImpl.java @@ -64,6 +64,7 @@ class ChatHandlerImpl implements ChatHandler { .put("chatformatter.selector", StandardTags.selector()) .put("chatformatter.keybind", StandardTags.keybind()) .put("chatformatter.newline", StandardTags.newline()) + .put("chatformatter.rainbow", StandardTags.rainbow()) .build(); private static final GsonComponentSerializer GSON = GsonComponentSerializer.gson(); diff --git a/chatformatter-paper-plugin/build.gradle.kts b/chatformatter-paper-plugin/build.gradle.kts index 5f53799..da37e02 100644 --- a/chatformatter-paper-plugin/build.gradle.kts +++ b/chatformatter-paper-plugin/build.gradle.kts @@ -39,7 +39,8 @@ bukkit { "chatformatter.translatable", "chatformatter.selector", "chatformatter.keybind", - "chatformatter.newline" + "chatformatter.newline", + "chatformatter.rainbow" ) default = Default.OP } @@ -67,6 +68,7 @@ bukkit { register("chatformatter.selector") { default = Default.OP } register("chatformatter.keybind") { default = Default.OP } register("chatformatter.newline") { default = Default.OP } + register("chatformatter.rainbow") { default = Default.OP } register("chatformatter.color.*") { children = listOf(