aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt
diff options
context:
space:
mode:
Diffstat (limited to 'mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt')
-rw-r--r--mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt b/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt
new file mode 100644
index 0000000..fd5ed3d
--- /dev/null
+++ b/mod/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt
@@ -0,0 +1,13 @@
+package moe.nea.ledger.config
+
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption
+
+class DebugOptions {
+ @ConfigOption(name = "Log entries to chat",
+ desc = "Appends all logged entries into the chat as they are logged. This option does not persist on restarts.")
+ @Transient
+ @ConfigEditorBoolean
+ @JvmField
+ var logEntries = false
+}