diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/config')
3 files changed, 0 insertions, 55 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt b/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt deleted file mode 100644 index fd5ed3d..0000000 --- a/src/main/kotlin/moe/nea/ledger/config/DebugOptions.kt +++ /dev/null @@ -1,13 +0,0 @@ -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 -} diff --git a/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt b/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt deleted file mode 100644 index 367f1e2..0000000 --- a/src/main/kotlin/moe/nea/ledger/config/LedgerConfig.kt +++ /dev/null @@ -1,31 +0,0 @@ -package moe.nea.ledger.config - -import io.github.notenoughupdates.moulconfig.Config -import io.github.notenoughupdates.moulconfig.DescriptionRendereringBehaviour -import io.github.notenoughupdates.moulconfig.annotations.Category -import io.github.notenoughupdates.moulconfig.processor.ProcessedOption -import moe.nea.ledger.Ledger - -class LedgerConfig : Config() { - override fun getTitle(): String { - return "§6Ledger §7- §6Hypixel SkyBlock data logger §7by §anea89o" - } - - override fun saveNow() { - super.saveNow() - Ledger.managedConfig.saveToFile() - } - - override fun getDescriptionBehaviour(option: ProcessedOption?): DescriptionRendereringBehaviour { - return DescriptionRendereringBehaviour.EXPAND_PANEL - } - - @Category(name = "Synchronization", desc = "") - @JvmField - val synchronization = SynchronizationOptions() - - @Category(name = "Debug", desc = "") - @JvmField - val debug = DebugOptions() - -}
\ No newline at end of file diff --git a/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt b/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt deleted file mode 100644 index b8c740b..0000000 --- a/src/main/kotlin/moe/nea/ledger/config/SynchronizationOptions.kt +++ /dev/null @@ -1,11 +0,0 @@ -package moe.nea.ledger.config - -import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean -import io.github.notenoughupdates.moulconfig.annotations.ConfigOption - -class SynchronizationOptions { - @ConfigOption(name = "Test Option", desc = "Test Description") - @ConfigEditorBoolean - @JvmField - var testOption = false -}
\ No newline at end of file |