summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenCommandsConfig.java
blob: 048ef2bab32ab4fc12a8fd8d6ef57431406fa199 (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
package at.hannibal2.skyhanni.config.features.garden;

import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorKeybind;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;

public class GardenCommandsConfig {
    @Expose
    @ConfigOption(name = "Warp Commands", desc = "Enable commands §e/home§7, §e/barn §7and §e/tp <plot>§7. §cOnly works while in the garden.")
    @ConfigEditorBoolean
    @FeatureToggle
    public boolean warpCommands = true;

    @Expose
    @ConfigOption(name = "Home Hotkey", desc = "Press this key to teleport you to your Garden home. §cOnly works while in the garden.")
    @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
    public int homeHotkey = Keyboard.KEY_NONE;

    @Expose
    @ConfigOption(name = "Sethome Hotkey", desc = "Press this key to set your Garden home. §cOnly works while in the garden.")
    @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
    public int sethomeHotkey = Keyboard.KEY_NONE;

    @Expose
    @ConfigOption(name = "Barn Hotkey", desc = "Press this key to teleport you to the Garden barn. §cOnly works while in the garden.")
    @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
    public int barnHotkey = Keyboard.KEY_NONE;
}