Skip to content

Commit 9e3f287

Browse files
committed
also allow shadows
1 parent 8d16307 commit 9e3f287

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/main/java/dev/plex/module/minimessage/chatstyle/ChatStyles.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class ChatStyles
2323
// Opt in to color tags only, so a future standard tag does not expand what a style can do.
2424
private static final MiniMessage COLORS = MiniMessage.builder().tags(TagResolver.resolver(
2525
StandardTags.color(),
26+
StandardTags.shadowColor(),
2627
StandardTags.gradient(),
2728
StandardTags.rainbow(),
2829
StandardTags.transition(),

‎src/main/resources/messages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ nickUnavailable: "<red>EssentialsX is not enabled, so nicknames are unavailable.
22
chatStyleSet: "<gray>Your chat style is set. Your messages now look like this:"
33
chatStyleCleared: "<gray>Your chat style is off. Your messages now look like this:"
44
chatStyleExample: "<gray>Example: <white>/chatstyle \\<gradient:red:blue>"
5-
chatStyleInvalid: "<red>A chat style is one or more color tags, for example <white>\\<gradient:red:blue><red>, <white>\\<rainbow><red>, <white>\\<pride><red>, or <white>\\<#ff8800><red>. The maximum length is 255 characters."
5+
chatStyleInvalid: "<red>A chat style is one or more color tags, for example <white>\\<gradient:red:blue><red>, <white>\\<rainbow><red>, <white>\\<pride><red>, <white>\\<#ff8800><red>, or <white>\\<shadow:black><red>. The maximum length is 255 characters."
66
chatStyleFailed: "<red>The server could not save your chat style."

0 commit comments

Comments
 (0)