Add setColor function & bump to 1.0.1

This commit is contained in:
Lncvrt committed 2025-04-09 21:56:55 -07:00
1 parent be659c80ef
commit dfd546f64b
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ plugins {
}
group = "xyz.lncvrt"
version = "1.0.1-SNAPSHOT"
version = "1.0.1"
repositories {
mavenCentral()
@@ -10,5 +10,9 @@ class MessageFormat {
fun setStaffPrefix(text: String): String {
return "<bold><gradient:#${Messages.PRIMARY_COLOR}:#${Messages.SECONDARY_COLOR}:#${Messages.PRIMARY_COLOR}>GalaxyNetwork</gradient> <gradient:green:dark_green:green>Staff Mode</gradient> <gray>»</gray></bold> $text"
}
fun setColor(text: String): String {
return "<color:${Messages.SECONDARY_COLOR}>$text</color>"
}
}
}