diff --git a/src/main/java/com/github/sebseb7/autotrade/config/Configs.java b/src/main/java/com/github/sebseb7/autotrade/config/Configs.java index a5a34e9..a36fdf8 100644 --- a/src/main/java/com/github/sebseb7/autotrade/config/Configs.java +++ b/src/main/java/com/github/sebseb7/autotrade/config/Configs.java @@ -42,23 +42,60 @@ public class Configs implements IConfigHandler { 35, "stacks to take from input container (or emerald container in buy-only mode)"); public static final ConfigInteger INPUT_CONTAINER_X = - new ConfigInteger("inputContainerX", 0, -30000000, 30000000, "Input container X"); + new ConfigInteger( + "inputContainerX", + 0, + -30000000, + 30000000, + "Input container X (not used when sell disabled)"); public static final ConfigInteger INPUT_CONTAINER_Y = - new ConfigInteger("inputContainerY", 0, -64, 320, "Input container Y"); + new ConfigInteger( + "inputContainerY", 0, -64, 320, "Input container Y (not used when sell disabled)"); public static final ConfigInteger INPUT_CONTAINER_Z = - new ConfigInteger("outputContainerZ", 0, -30000000, 30000000, "Input container Z"); + new ConfigInteger( + "outputContainerZ", + 0, + -30000000, + 30000000, + "Input container Z (not used when sell disabled)"); public static final ConfigInteger OUTPUT_CONTAINER_X = - new ConfigInteger("outputContainerX", 0, -30000000, 30000000, "Output container X"); + new ConfigInteger( + "outputContainerX", + 0, + -30000000, + 30000000, + "Input container X (not used when buy disabled)"); public static final ConfigInteger OUTPUT_CONTAINER_Y = - new ConfigInteger("outputContainerY", 0, -64, 320, "Output container Y"); + new ConfigInteger( + "outputContainerY", 0, -64, 320, "Output container Y (not used when buy disabled)"); public static final ConfigInteger OUTPUT_CONTAINER_Z = - new ConfigInteger("outputContainerZ", 0, -30000000, 30000000, "Output container Z"); + new ConfigInteger( + "outputContainerZ", + 0, + -30000000, + 30000000, + "Output container Z (not used when buy disabled)"); public static final ConfigInteger EMERALD_CONTAINER_X = - new ConfigInteger("emeraldContainerX", 0, -30000000, 30000000, "Emerald container X"); + new ConfigInteger( + "emeraldContainerX", + 0, + -30000000, + 30000000, + "Emerald container X (not used when buy&sell enabled)"); public static final ConfigInteger EMERALD_CONTAINER_Y = - new ConfigInteger("emeraldContainerY", 0, -64, 320, "Emerald container Y"); + new ConfigInteger( + "emeraldContainerY", + 0, + -64, + 320, + "Emerald container Y (not used when buy&sell enabled)"); public static final ConfigInteger EMERALD_CONTAINER_Z = - new ConfigInteger("emeraldContainerZ", 0, -30000000, 30000000, "Emerald container Z"); + new ConfigInteger( + "emeraldContainerZ", + 0, + -30000000, + 30000000, + "Emerald container Z (not used when buy&sell enabled)"); public static final ImmutableList OPTIONS = ImmutableList.of( diff --git a/src/main/java/com/github/sebseb7/autotrade/config/Hotkeys.java b/src/main/java/com/github/sebseb7/autotrade/config/Hotkeys.java index 165aed7..c7fe78b 100644 --- a/src/main/java/com/github/sebseb7/autotrade/config/Hotkeys.java +++ b/src/main/java/com/github/sebseb7/autotrade/config/Hotkeys.java @@ -7,6 +7,10 @@ import java.util.List; public class Hotkeys { public static final ConfigHotkey TOGGLE_KEY = new ConfigHotkey("toggleTrading", "", "Enables / disables auto trading"); + public static final ConfigHotkey SET_BUY_KEY = + new ConfigHotkey("setSellItem", "", "Sets the item to sell from hotbar"); + public static final ConfigHotkey SET_SELL_KEY = + new ConfigHotkey("setBuyItem", "", "Sets the item to buy from hotbar"); public static final ConfigHotkey SET_INPUT_KEY = new ConfigHotkey("setInputContainer", "", "Sets the input (item to sell) container"); public static final ConfigHotkey SET_OUTPUT_KEY = @@ -18,5 +22,11 @@ public class Hotkeys { public static final List HOTKEY_LIST = ImmutableList.of( - TOGGLE_KEY, SET_INPUT_KEY, SET_OUTPUT_KEY, SET_EMERALD_KEY, OPEN_GUI_SETTINGS); + TOGGLE_KEY, + SET_BUY_KEY, + SET_SELL_KEY, + SET_INPUT_KEY, + SET_OUTPUT_KEY, + SET_EMERALD_KEY, + OPEN_GUI_SETTINGS); }