aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/config/annotations
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-10 17:48:05 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-10 17:48:05 +0200
commite299255d82e69e461893ce8ff0ec945c253d945f (patch)
tree24dea1adb3987d997db37bc3c636a65a55040426 /src/main/java/cc/polyfrost/oneconfig/config/annotations
parentf0aac9cac78fc14e2991741061c67b622c039f37 (diff)
downloadOneConfig-e299255d82e69e461893ce8ff0ec945c253d945f.tar.gz
OneConfig-e299255d82e69e461893ce8ff0ec945c253d945f.tar.bz2
OneConfig-e299255d82e69e461893ce8ff0ec945c253d945f.zip
button
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config/annotations')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java b/src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java
index 633e7b9..efcadc8 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/annotations/Option.java
@@ -82,4 +82,9 @@ public @interface Option {
* Option for info option type
*/
InfoType infoType() default InfoType.INFO;
+
+ /**
+ * Text displayed inside button
+ */
+ String buttonText() default "Activate";
}