fishing plugin: add position to config

This commit is contained in:
Adam
2018-07-27 23:00:46 -04:00
parent d9ca9f5060
commit f94af03a48

View File

@@ -34,7 +34,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showIcons",
name = "Display Fish icons",
description = "Configures whether icons or text is displayed"
description = "Configures whether icons or text is displayed",
position = 1
)
default boolean showIcons()
{
@@ -44,7 +45,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "statTimeout",
name = "Reset stats (minutes)",
description = "Configures the time until statistic is reset"
description = "Configures the time until statistic is reset",
position = 2
)
default int statTimeout()
{
@@ -54,7 +56,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showShrimp",
name = "Show Shrimp/Anchovies",
description = "Configures whether shrimp/anchovies is displayed"
description = "Configures whether shrimp/anchovies is displayed",
position = 3
)
default boolean showShrimp()
{
@@ -64,7 +67,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showLobster",
name = "Show Lobster/Swordfish/Tuna",
description = "Configures whether lobster/swordfish/tuna is displayed"
description = "Configures whether lobster/swordfish/tuna is displayed",
position = 4
)
default boolean showLobster()
{
@@ -74,7 +78,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showShark",
name = "Show Shark",
description = "Configures whether shark is displayed"
description = "Configures whether shark is displayed",
position = 5
)
default boolean showShark()
{
@@ -84,7 +89,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showMonkfish",
name = "Show Monkfish",
description = "Configures whether monkfish displayed"
description = "Configures whether monkfish displayed",
position = 6
)
default boolean showMonkfish()
{
@@ -94,7 +100,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showSalmon",
name = "Show Salmon/Trout",
description = "Configures whether salmon/trout is displayed"
description = "Configures whether salmon/trout is displayed",
position = 7
)
default boolean showSalmon()
{
@@ -104,7 +111,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showBarb",
name = "Show Barbarian fish",
description = "Configures whether barbarian fish is displayed"
description = "Configures whether barbarian fish is displayed",
position = 8
)
default boolean showBarb()
{
@@ -114,7 +122,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showAngler",
name = "Show Anglerfish",
description = "Configures whether anglerfish is displayed"
description = "Configures whether anglerfish is displayed",
position = 9
)
default boolean showAngler()
{
@@ -124,7 +133,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showMinnow",
name = "Show Minnow fish",
description = "Configures whether minnow fish is displayed"
description = "Configures whether minnow fish is displayed",
position = 10
)
default boolean showMinnow()
{
@@ -134,7 +144,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showInfernalEel",
name = "Show Infernal Eel",
description = "Configures whether infernal eel is displayed"
description = "Configures whether infernal eel is displayed",
position = 11
)
default boolean showInfernalEel()
{
@@ -144,7 +155,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showSacredEel",
name = "Show Sacred Eel",
description = "Configures whether sacred eel is displayed"
description = "Configures whether sacred eel is displayed",
position = 12
)
default boolean showSacredEel()
{
@@ -154,7 +166,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showCaveEel",
name = "Show Cave Eel",
description = "Configures whether cave eel is displayed"
description = "Configures whether cave eel is displayed",
position = 13
)
default boolean showCaveEel()
{
@@ -164,7 +177,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showSlimyEel",
name = "Show Slimy Eel",
description = "Configures whether slimy eel is displayed"
description = "Configures whether slimy eel is displayed",
position = 14
)
default boolean showSlimyEel()
{
@@ -174,7 +188,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showKarambwanji",
name = "Show Karambwanji",
description = "Configures whether karambwanji is displayed"
description = "Configures whether karambwanji is displayed",
position = 15
)
default boolean showKarambwanji()
{
@@ -184,7 +199,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showKarambwan",
name = "Show Karambwan",
description = "Configures whether karambwan is displayed"
description = "Configures whether karambwan is displayed",
position = 16
)
default boolean showKarambwan()
{
@@ -194,7 +210,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showFishingStats",
name = "Show Fishing session stats",
description = "Configures whether to display the fishing session stats"
description = "Configures whether to display the fishing session stats",
position = 17
)
default boolean showFishingStats()
{
@@ -204,7 +221,8 @@ public interface FishingConfig extends Config
@ConfigItem(
keyName = "showMinnowOverlay",
name = "Show Minnow Movement overlay",
description = "Configures whether to display the minnow progress pie overlay"
description = "Configures whether to display the minnow progress pie overlay",
position = 18
)
default boolean showMinnowOverlay()
{