runecraft plugin: add positions for config options

This commit is contained in:
Adam
2018-07-10 16:41:10 -04:00
parent 688c049204
commit c6ea6900f2

View File

@@ -35,7 +35,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showPouch", keyName = "showPouch",
name = "Show Pouch count", 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() default boolean showPouch()
{ {
@@ -45,7 +46,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showBindNeck", keyName = "showBindNeck",
name = "Show Binding Neck charges", 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() default boolean showBindNeck()
{ {
@@ -55,7 +57,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showRifts", keyName = "showRifts",
name = "Show Rifts in Abyss", 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() default boolean showRifts()
{ {
@@ -65,7 +68,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showAir", keyName = "showAir",
name = "Show Air rift", 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() default boolean showAir()
{ {
@@ -75,7 +79,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showBlood", keyName = "showBlood",
name = "Show Blood rift", 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() default boolean showBlood()
{ {
@@ -85,7 +90,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showBody", keyName = "showBody",
name = "Show Body rift", 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() default boolean showBody()
{ {
@@ -95,7 +101,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showChaos", keyName = "showChaos",
name = "Show Chaos rift", 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() default boolean showChaos()
{ {
@@ -105,7 +112,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showCosmic", keyName = "showCosmic",
name = "Show Cosmic rift", 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() default boolean showCosmic()
{ {
@@ -115,7 +123,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showDeath", keyName = "showDeath",
name = "Show Death rift", 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() default boolean showDeath()
{ {
@@ -125,7 +134,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showEarth", keyName = "showEarth",
name = "Show Earth rift", 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() default boolean showEarth()
{ {
@@ -135,7 +145,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showFire", keyName = "showFire",
name = "Show Fire rift", 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() default boolean showFire()
{ {
@@ -145,7 +156,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showLaw", keyName = "showLaw",
name = "Show Law rift", 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() default boolean showLaw()
{ {
@@ -155,7 +167,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showMind", keyName = "showMind",
name = "Show Mind rift", 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() default boolean showMind()
{ {
@@ -165,7 +178,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showNature", keyName = "showNature",
name = "Show Nature rift", 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() default boolean showNature()
{ {
@@ -175,7 +189,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showSoul", keyName = "showSoul",
name = "Show Soul rift", 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() default boolean showSoul()
{ {
@@ -185,7 +200,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showWater", keyName = "showWater",
name = "Show Water rift", 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() default boolean showWater()
{ {
@@ -195,7 +211,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showClickBox", keyName = "showClickBox",
name = "Show Rift click box", 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() default boolean showClickBox()
{ {
@@ -205,7 +222,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "hightlightDarkMage", keyName = "hightlightDarkMage",
name = "Highlight Dark Mage NPC", 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() default boolean hightlightDarkMage()
{ {
@@ -215,7 +233,8 @@ public interface RunecraftConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "degradingNotification", keyName = "degradingNotification",
name = "Notify when pouch degrades", 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() default boolean degradingNotification()
{ {