blob: c2db26b8e176ea1aa379e4d0ed404a472703de60 (
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
|
package at.hannibal2.skyhanni.config.features.rift;
import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import io.github.notenoughupdates.moulconfig.observer.Property;
public class RiftTimerConfig {
@Expose
@ConfigOption(name = "Enabled", desc = "Show the remaining rift time, max time, percentage, and extra time changes.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = true;
@Expose
@ConfigOption(name = "Max Time", desc = "Show max time.")
@ConfigEditorBoolean
public Property<Boolean> maxTime = Property.of(true);
@Expose
@ConfigOption(name = "Percentage", desc = "Show percentage.")
@ConfigEditorBoolean
public Property<Boolean> percentage = Property.of(true);
@Expose
@ConfigLink(owner = RiftTimerConfig.class, field = "enabled")
public Position timerPosition = new Position(10, 10, false, true);
@Expose
@ConfigOption(name = "Nametag Format", desc = "Format the remaining rift time for other players in their nametag.")
@ConfigEditorBoolean
@FeatureToggle
public boolean nametag = true;
}
|