aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/config/Config.kt
blob: b8dc20af3eb524fd96f260924a107d0c29e539a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package dulkirmod.config

import gg.essential.vigilance.Vigilant
import gg.essential.vigilance.data.Category
import gg.essential.vigilance.data.Property
import gg.essential.vigilance.data.PropertyType
import gg.essential.vigilance.data.SortingBehavior
import dulkirmod.DulkirMod.Companion.display
import java.awt.Color
import java.io.File
import java.util.function.Consumer

object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod") {

    @Property(
        type = PropertyType.SWITCH,
        name = "Hide Enchant Rune Particles",
        description = "ugly ass",
        category = "General"
    )
    var hideEnchantRune = false

    @Property(
        type = PropertyType.SWITCH,
        name = "Hide Healer fairy",
        description = "Probably disable when not in dungeons for now. Will fix later.",
        category = "General"
    )
    var hideHealerFairy = false

    @Property(
        type = PropertyType.SWITCH,
        name = "Hide Heart Particles",
        description = "Useful for hyperion and healer bullshit",
        category = "General"
    )
    var hideHeartParticles = false

    @Property(
        type = PropertyType.SWITCH,
        name = "Throttle Notifier",
        description = "Making features out of bugs wow",
        category = "General"
    )
    var throttleNotifier = false

    @Property(
        type = PropertyType.TEXT,
        name = "Throttle Notifier String",
        description = "How do you want to tell people you are throttled?",
        category = "General",
        placeholder = "i am being throttled zzz",
        protectedText = false
    )
    var customMessage: String = "i am being throttled zzz"
    fun init() {
        initialize()
        addDependency("customMessage", "throttleNotifier")
    }

}