idlenotifier: Fix checkstyle
This commit is contained in:
@@ -32,10 +32,10 @@ import net.runelite.client.config.ConfigItem;
|
|||||||
public interface IdleNotifierConfig extends Config
|
public interface IdleNotifierConfig extends Config
|
||||||
{
|
{
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "animationidle",
|
keyName = "animationidle",
|
||||||
name = "Idle Animation Notifications",
|
name = "Idle Animation Notifications",
|
||||||
description = "Configures if idle animation notifications are enabled",
|
description = "Configures if idle animation notifications are enabled",
|
||||||
position = 1
|
position = 1
|
||||||
)
|
)
|
||||||
default boolean animationIdle()
|
default boolean animationIdle()
|
||||||
{
|
{
|
||||||
@@ -43,21 +43,21 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "animationidlesound",
|
keyName = "animationidlesound",
|
||||||
name = "Idle Animation Sound",
|
name = "Idle Animation Sound",
|
||||||
description = "Plays a custom sound accompanying Idle Animation notifications",
|
description = "Plays a custom sound accompanying Idle Animation notifications",
|
||||||
position = 2
|
position = 2
|
||||||
)
|
)
|
||||||
default boolean animationIdleSound()
|
default boolean animationIdleSound()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "interactionidle",
|
keyName = "interactionidle",
|
||||||
name = "Idle Interaction Notifications",
|
name = "Idle Interaction Notifications",
|
||||||
description = "Configures if idle interaction notifications are enabled e.g. combat, fishing",
|
description = "Configures if idle interaction notifications are enabled e.g. combat, fishing",
|
||||||
position = 3
|
position = 3
|
||||||
)
|
)
|
||||||
default boolean interactionIdle()
|
default boolean interactionIdle()
|
||||||
{
|
{
|
||||||
@@ -65,21 +65,21 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "interactionidlesound",
|
keyName = "interactionidlesound",
|
||||||
name = "Idle Interaction Sound",
|
name = "Idle Interaction Sound",
|
||||||
description = "Plays a custom sound accompanying Idle Interaction notifications",
|
description = "Plays a custom sound accompanying Idle Interaction notifications",
|
||||||
position = 4
|
position = 4
|
||||||
)
|
)
|
||||||
default boolean interactionIdleSound()
|
default boolean interactionIdleSound()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "logoutidle",
|
keyName = "logoutidle",
|
||||||
name = "Idle Logout Notifications",
|
name = "Idle Logout Notifications",
|
||||||
description = "Configures if the idle logout notifications are enabled",
|
description = "Configures if the idle logout notifications are enabled",
|
||||||
position = 5
|
position = 5
|
||||||
)
|
)
|
||||||
default boolean logoutIdle()
|
default boolean logoutIdle()
|
||||||
{
|
{
|
||||||
@@ -87,21 +87,21 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "outofcombatsound",
|
keyName = "outofcombatsound",
|
||||||
name = "Out of Combat Sound",
|
name = "Out of Combat Sound",
|
||||||
description = "Plays a custom sound whenever you leave combat",
|
description = "Plays a custom sound whenever you leave combat",
|
||||||
position = 6
|
position = 6
|
||||||
)
|
)
|
||||||
default boolean outOfCombatSound()
|
default boolean outOfCombatSound()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 7,
|
position = 7,
|
||||||
keyName = "skullNotification",
|
keyName = "skullNotification",
|
||||||
name = "Skull Notification",
|
name = "Skull Notification",
|
||||||
description = "Receive a notification when you skull."
|
description = "Receive a notification when you skull."
|
||||||
)
|
)
|
||||||
default boolean showSkullNotification()
|
default boolean showSkullNotification()
|
||||||
{
|
{
|
||||||
@@ -109,10 +109,10 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 8,
|
position = 8,
|
||||||
keyName = "unskullNotification",
|
keyName = "unskullNotification",
|
||||||
name = "Unskull Notification",
|
name = "Unskull Notification",
|
||||||
description = "Receive a notification when you unskull."
|
description = "Receive a notification when you unskull."
|
||||||
)
|
)
|
||||||
default boolean showUnskullNotification()
|
default boolean showUnskullNotification()
|
||||||
{
|
{
|
||||||
@@ -120,10 +120,10 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "timeout",
|
keyName = "timeout",
|
||||||
name = "Idle Notification Delay (ms)",
|
name = "Idle Notification Delay (ms)",
|
||||||
description = "The notification delay after the player is idle",
|
description = "The notification delay after the player is idle",
|
||||||
position = 9
|
position = 9
|
||||||
)
|
)
|
||||||
default int getIdleNotificationDelay()
|
default int getIdleNotificationDelay()
|
||||||
{
|
{
|
||||||
@@ -131,10 +131,10 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "hitpoints",
|
keyName = "hitpoints",
|
||||||
name = "Hitpoints Notification Threshold",
|
name = "Hitpoints Notification Threshold",
|
||||||
description = "The amount of hitpoints to send a notification at. A value of 0 will disable notification.",
|
description = "The amount of hitpoints to send a notification at. A value of 0 will disable notification.",
|
||||||
position = 10
|
position = 10
|
||||||
)
|
)
|
||||||
default int getHitpointsThreshold()
|
default int getHitpointsThreshold()
|
||||||
{
|
{
|
||||||
@@ -142,21 +142,21 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "playHealthSound",
|
keyName = "playHealthSound",
|
||||||
name = "Play sound for Low Health",
|
name = "Play sound for Low Health",
|
||||||
description = "Will play a sound for every Low Health notification sent",
|
description = "Will play a sound for every Low Health notification sent",
|
||||||
position = 12
|
position = 12
|
||||||
)
|
)
|
||||||
default boolean getPlayHealthSound()
|
default boolean getPlayHealthSound()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "prayer",
|
keyName = "prayer",
|
||||||
name = "Prayer Notification Threshold",
|
name = "Prayer Notification Threshold",
|
||||||
description = "The amount of prayer points to send a notification at. A value of 0 will disable notification.",
|
description = "The amount of prayer points to send a notification at. A value of 0 will disable notification.",
|
||||||
position = 12
|
position = 12
|
||||||
)
|
)
|
||||||
default int getPrayerThreshold()
|
default int getPrayerThreshold()
|
||||||
{
|
{
|
||||||
@@ -164,21 +164,21 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "playPrayerSound",
|
keyName = "playPrayerSound",
|
||||||
name = "Play sound for Low Prayer",
|
name = "Play sound for Low Prayer",
|
||||||
description = "Will play a sound for every Low Prayer notification sent",
|
description = "Will play a sound for every Low Prayer notification sent",
|
||||||
position = 13
|
position = 13
|
||||||
)
|
)
|
||||||
default boolean getPlayPrayerSound()
|
default boolean getPlayPrayerSound()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "oxygen",
|
keyName = "oxygen",
|
||||||
name = "Oxygen Notification Threshold",
|
name = "Oxygen Notification Threshold",
|
||||||
position = 14,
|
position = 14,
|
||||||
description = "The amount of remaining oxygen to send a notification at. A value of 0 will disable notification."
|
description = "The amount of remaining oxygen to send a notification at. A value of 0 will disable notification."
|
||||||
)
|
)
|
||||||
default int getOxygenThreshold()
|
default int getOxygenThreshold()
|
||||||
{
|
{
|
||||||
@@ -186,10 +186,10 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "spec",
|
keyName = "spec",
|
||||||
name = "Special Attack Energy Notification Threshold",
|
name = "Special Attack Energy Notification Threshold",
|
||||||
position = 15,
|
position = 15,
|
||||||
description = "The amount of spec energy reached to send a notification at. A value of 0 will disable notification."
|
description = "The amount of spec energy reached to send a notification at. A value of 0 will disable notification."
|
||||||
)
|
)
|
||||||
default int getSpecEnergyThreshold()
|
default int getSpecEnergyThreshold()
|
||||||
{
|
{
|
||||||
@@ -197,34 +197,34 @@ public interface IdleNotifierConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "specSound",
|
keyName = "specSound",
|
||||||
name = "Special Attack Energy Sound",
|
name = "Special Attack Energy Sound",
|
||||||
description = "Plays a custom sound accompanying Special Attack energy notifications",
|
description = "Plays a custom sound accompanying Special Attack energy notifications",
|
||||||
position = 16
|
position = 16
|
||||||
)
|
)
|
||||||
default boolean getSpecSound()
|
default boolean getSpecSound()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "overspec",
|
keyName = "overspec",
|
||||||
name = "Over Special Energy Notification",
|
name = "Over Special Energy Notification",
|
||||||
description = "Will repeat notifications for any value over the special energy threshold",
|
description = "Will repeat notifications for any value over the special energy threshold",
|
||||||
position = 17
|
position = 17
|
||||||
)
|
)
|
||||||
default boolean getOverSpecEnergy()
|
default boolean getOverSpecEnergy()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "pkers",
|
keyName = "pkers",
|
||||||
name = "PKer Notifier",
|
name = "PKer Notifier",
|
||||||
position = 18,
|
position = 18,
|
||||||
description = "Notifies if an attackable player based on your level range appears on screen.",
|
description = "Notifies if an attackable player based on your level range appears on screen.",
|
||||||
group = "PvP",
|
group = "PvP",
|
||||||
warning = "This will not notify you if the player is in your cc or is online on your friends list."
|
warning = "This will not notify you if the player is in your cc or is online on your friends list."
|
||||||
)
|
)
|
||||||
default boolean notifyPkers()
|
default boolean notifyPkers()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ public class IdleNotifierPlugin extends Plugin
|
|||||||
case MINING_3A_PICKAXE:
|
case MINING_3A_PICKAXE:
|
||||||
case DENSE_ESSENCE_CHIPPING:
|
case DENSE_ESSENCE_CHIPPING:
|
||||||
case DENSE_ESSENCE_CHISELING:
|
case DENSE_ESSENCE_CHISELING:
|
||||||
/* Herblore */
|
/* Herblore */
|
||||||
case HERBLORE_PESTLE_AND_MORTAR:
|
case HERBLORE_PESTLE_AND_MORTAR:
|
||||||
case HERBLORE_POTIONMAKING:
|
case HERBLORE_POTIONMAKING:
|
||||||
case HERBLORE_MAKE_TAR:
|
case HERBLORE_MAKE_TAR:
|
||||||
@@ -258,7 +258,7 @@ public class IdleNotifierPlugin extends Plugin
|
|||||||
case FARMING_HARVEST_FRUIT_TREE:
|
case FARMING_HARVEST_FRUIT_TREE:
|
||||||
case FARMING_HARVEST_FLOWER:
|
case FARMING_HARVEST_FLOWER:
|
||||||
case FARMING_HARVEST_ALLOTMENT:
|
case FARMING_HARVEST_ALLOTMENT:
|
||||||
/* Misc */
|
/* Misc */
|
||||||
case PISCARILIUS_CRANE_REPAIR:
|
case PISCARILIUS_CRANE_REPAIR:
|
||||||
case HOME_MAKE_TABLET:
|
case HOME_MAKE_TABLET:
|
||||||
case SAND_COLLECTION:
|
case SAND_COLLECTION:
|
||||||
|
|||||||
Reference in New Issue
Block a user