From c6ea6900f2f49406b3e04dbb42f3430a725d9967 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 10 Jul 2018 16:41:10 -0400 Subject: [PATCH] runecraft plugin: add positions for config options --- .../plugins/runecraft/RunecraftConfig.java | 57 ++++++++++++------- 1 file changed, 38 insertions(+), 19 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/runecraft/RunecraftConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/runecraft/RunecraftConfig.java index c609686251..c5b3ac892e 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/runecraft/RunecraftConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/runecraft/RunecraftConfig.java @@ -35,7 +35,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showPouch", name = "Show Pouch count", - description = "Configures whether the pouch ess count is displayed" + description = "Configures whether the pouch ess count is displayed", + position = 1 ) default boolean showPouch() { @@ -45,7 +46,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showBindNeck", name = "Show Binding Neck charges", - description = "Configures whether the binding neck charge is displayed" + description = "Configures whether the binding neck charge is displayed", + position = 2 ) default boolean showBindNeck() { @@ -55,7 +57,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showRifts", name = "Show Rifts in Abyss", - description = "Configures whether the rifts in the abyss will be displayed" + description = "Configures whether the rifts in the abyss will be displayed", + position = 3 ) default boolean showRifts() { @@ -65,7 +68,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showAir", name = "Show Air rift", - description = "Configures whether to display the air rift" + description = "Configures whether to display the air rift", + position = 4 ) default boolean showAir() { @@ -75,7 +79,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showBlood", name = "Show Blood rift", - description = "Configures whether to display the Blood rift" + description = "Configures whether to display the Blood rift", + position = 5 ) default boolean showBlood() { @@ -85,7 +90,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showBody", name = "Show Body rift", - description = "Configures whether to display the Body rift" + description = "Configures whether to display the Body rift", + position = 6 ) default boolean showBody() { @@ -95,7 +101,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showChaos", name = "Show Chaos rift", - description = "Configures whether to display the Chaos rift" + description = "Configures whether to display the Chaos rift", + position = 7 ) default boolean showChaos() { @@ -105,7 +112,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showCosmic", name = "Show Cosmic rift", - description = "Configures whether to display the Cosmic rift" + description = "Configures whether to display the Cosmic rift", + position = 8 ) default boolean showCosmic() { @@ -115,7 +123,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showDeath", name = "Show Death rift", - description = "Configures whether to display the Death rift" + description = "Configures whether to display the Death rift", + position = 9 ) default boolean showDeath() { @@ -125,7 +134,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showEarth", name = "Show Earth rift", - description = "Configures whether to display the Earth rift" + description = "Configures whether to display the Earth rift", + position = 10 ) default boolean showEarth() { @@ -135,7 +145,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showFire", name = "Show Fire rift", - description = "Configures whether to display the Fire rift" + description = "Configures whether to display the Fire rift", + position = 11 ) default boolean showFire() { @@ -145,7 +156,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showLaw", name = "Show Law rift", - description = "Configures whether to display the Law rift" + description = "Configures whether to display the Law rift", + position = 12 ) default boolean showLaw() { @@ -155,7 +167,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showMind", name = "Show Mind rift", - description = "Configures whether to display the Mind rift" + description = "Configures whether to display the Mind rift", + position = 13 ) default boolean showMind() { @@ -165,7 +178,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showNature", name = "Show Nature rift", - description = "Configures whether to display the Nature rift" + description = "Configures whether to display the Nature rift", + position = 14 ) default boolean showNature() { @@ -175,7 +189,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showSoul", name = "Show Soul rift", - description = "Configures whether to display the Soul rift" + description = "Configures whether to display the Soul rift", + position = 15 ) default boolean showSoul() { @@ -185,7 +200,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showWater", name = "Show Water rift", - description = "Configures whether to display the Water rift" + description = "Configures whether to display the Water rift", + position = 16 ) default boolean showWater() { @@ -195,7 +211,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "showClickBox", name = "Show Rift click box", - description = "Configures whether to display the click box of the rift" + description = "Configures whether to display the click box of the rift", + position = 17 ) default boolean showClickBox() { @@ -205,7 +222,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "hightlightDarkMage", name = "Highlight Dark Mage NPC", - description = "Configures whether to highlight the Dark Mage when pouches are degraded" + description = "Configures whether to highlight the Dark Mage when pouches are degraded", + position = 18 ) default boolean hightlightDarkMage() { @@ -215,7 +233,8 @@ public interface RunecraftConfig extends Config @ConfigItem( keyName = "degradingNotification", name = "Notify when pouch degrades", - description = "Send a notification when a pouch degrades" + description = "Send a notification when a pouch degrades", + position = 19 ) default boolean degradingNotification() {