Updated Position of Config Options
-Added position to each of the options -Placed the delay at the bottom
This commit is contained in:
@@ -32,6 +32,7 @@ import net.runelite.client.config.ConfigItem;
|
|||||||
public interface StatusBarsConfig extends Config
|
public interface StatusBarsConfig extends Config
|
||||||
{
|
{
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
|
position = 1,
|
||||||
keyName = "enableCounter",
|
keyName = "enableCounter",
|
||||||
name = "Show hitpoints & prayer counter",
|
name = "Show hitpoints & prayer counter",
|
||||||
description = "Shows current amount of hitpoints & prayer on the status bars"
|
description = "Shows current amount of hitpoints & prayer on the status bars"
|
||||||
@@ -42,6 +43,7 @@ public interface StatusBarsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
|
position = 2,
|
||||||
keyName = "enableSkillIcon",
|
keyName = "enableSkillIcon",
|
||||||
name = "Show hitpoints & prayer icons",
|
name = "Show hitpoints & prayer icons",
|
||||||
description = "Adds skill icons at the top of the bars."
|
description = "Adds skill icons at the top of the bars."
|
||||||
@@ -52,6 +54,7 @@ public interface StatusBarsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
|
position = 3,
|
||||||
keyName = "enableRestorationBars",
|
keyName = "enableRestorationBars",
|
||||||
name = "Show amount of hitpoints and prayer restored",
|
name = "Show amount of hitpoints and prayer restored",
|
||||||
description = "Visually shows how much a food or prayer will heal/restore you on the bars."
|
description = "Visually shows how much a food or prayer will heal/restore you on the bars."
|
||||||
@@ -62,16 +65,7 @@ public interface StatusBarsConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "hideStatusBarDelay",
|
position = 4,
|
||||||
name = "Delay (seconds)",
|
|
||||||
description = "Number of seconds after combat to hide the status bars."
|
|
||||||
)
|
|
||||||
default int hideStatusBarDelay()
|
|
||||||
{
|
|
||||||
return 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
@ConfigItem(
|
|
||||||
keyName = "toggleRestorationBars",
|
keyName = "toggleRestorationBars",
|
||||||
name = "Toggle to Hide when not in Combat",
|
name = "Toggle to Hide when not in Combat",
|
||||||
description = "Visually hides the Status Bars when player is out of combat."
|
description = "Visually hides the Status Bars when player is out of combat."
|
||||||
@@ -80,4 +74,15 @@ public interface StatusBarsConfig extends Config
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 5,
|
||||||
|
keyName = "hideStatusBarDelay",
|
||||||
|
name = "Delay (seconds)",
|
||||||
|
description = "Number of seconds after combat to hide the status bars."
|
||||||
|
)
|
||||||
|
default int hideStatusBarDelay()
|
||||||
|
{
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user