aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/BingoConfig.java
blob: 733b3a5a33498ed6b9fccd37616a69553f4be010 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package at.hannibal2.skyhanni.config.features;

import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.Accordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import io.github.moulberry.moulconfig.observer.Property;

public class BingoConfig {

    @Expose
    @ConfigOption(name = "Bingo Card", desc = "")
    @Accordion
    public BingoCard bingoCard = new BingoCard();

    public static class BingoCard {
        @Expose
        @ConfigOption(name = "Enable", desc = "Displays the Bingo Card.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean enabled = true;
        @Expose
        @ConfigOption(name = "Quick Toggle", desc = "Quickly toggle the Bingo Card or the step helper by sneaking with SkyBlock Menu in hand.")
        @ConfigEditorBoolean
        public boolean quickToggle = true;

        @Expose
        @ConfigOption(name = "Bingo Steps", desc = "Show help with the next step in Bingo instead of the Bingo Card. " +
                "§cThis feature is in early development. Expect bugs and missing goals.")
        @ConfigEditorBoolean
        public boolean stepHelper = false;

        @Expose
        @ConfigOption(name = "Hide Community Goals", desc = "Hide Community Goals from the Bingo Card display.")
        @ConfigEditorBoolean
        public Property<Boolean> hideCommunityGoals = Property.of(false);

        @Expose
        @ConfigOption(
                name = "Show Guide",
                desc = "Show tips and difficulty for bingo goals inside the Bingo Card inventory.\n" +
                        "These tips are made from inspirations and guides from the community,\n"+
                        "aiming to help you to complete the bingo card."
        )
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean bingoSplashGuide = true;

        @Expose
        public Position bingoCardPos = new Position(10, 10, false, true);
    }

    @Expose
    @ConfigOption(name = "Compact Chat Messages", desc = "")
    @Accordion
    public CompactChat compactChat = new CompactChat();

    public static class CompactChat {

        @Expose
        @ConfigOption(name = "Enable", desc = "Shortens chat messages about skill level ups, collection gains, " +
                "new area discoveries and SkyBlock level up messages while on Bingo.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean enabled = true;

        @Expose
        @ConfigOption(name = "Hide Border", desc = "Hide the border messages before and after the compact level up messages.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean hideBorder = true;

        @Expose
        @ConfigOption(name = "Outside Bingo", desc = "Compact the level up chat messages outside of an Bingo profile as well.")
        @ConfigEditorBoolean
        public boolean outsideBingo = false;
    }

    @Expose
    @ConfigOption(name = "Minion Craft Helper", desc = "Show how many more items you need to upgrade the minion in your inventory. Especially useful for Bingo.")
    @ConfigEditorBoolean
    @FeatureToggle
    public boolean minionCraftHelperEnabled = true;

    @Expose
    public Position minionCraftHelperPos = new Position(10, 10, false, true);
}