add sections to various configs

This commit is contained in:
Hydrox6
2020-06-05 22:55:21 +01:00
committed by Adam
parent 30681d8935
commit 40f17648b4
14 changed files with 730 additions and 310 deletions

View File

@@ -30,19 +30,37 @@ import net.runelite.client.ui.JagexColors;
@ConfigGroup("textrecolor") @ConfigGroup("textrecolor")
public interface ChatColorConfig extends Config public interface ChatColorConfig extends Config
{ {
@ConfigSection(
name = "Opaque",
description = "The options that control the colours for the Opaque Chatbox",
position = 0,
closedByDefault = true
)
String opaqueSection = "opaqueSection";
@ConfigSection(
name = "Transparent",
description = "The options that control the colours for the Transparent Chatbox",
position = 50,
closedByDefault = true
)
String transparentSection = "transparentSection";
@ConfigItem( @ConfigItem(
position = 31, position = 1,
keyName = "opaquePublicChat", keyName = "opaquePublicChat",
name = "Public chat", name = "Public chat",
description = "Color of Public chat" description = "Color of Public chat",
section = opaqueSection
) )
Color opaquePublicChat(); Color opaquePublicChat();
@ConfigItem( @ConfigItem(
position = 32, position = 2,
keyName = "opaquePublicChatHighlight", keyName = "opaquePublicChatHighlight",
name = "Public chat highlight", name = "Public chat highlight",
description = "Color of highlights in Public chat" description = "Color of highlights in Public chat",
section = opaqueSection
) )
default Color opaquePublicChatHighlight() default Color opaquePublicChatHighlight()
{ {
@@ -50,18 +68,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 33, position = 3,
keyName = "opaquePrivateMessageSent", keyName = "opaquePrivateMessageSent",
name = "Sent private messages", name = "Sent private messages",
description = "Color of Private messages you've sent" description = "Color of Private messages you've sent",
section = opaqueSection
) )
Color opaquePrivateMessageSent(); Color opaquePrivateMessageSent();
@ConfigItem( @ConfigItem(
position = 34, position = 4,
keyName = "opaquePrivateMessageSentHighlight", keyName = "opaquePrivateMessageSentHighlight",
name = "Sent private messages highlight", name = "Sent private messages highlight",
description = "Color of highlights in Private messages you've sent" description = "Color of highlights in Private messages you've sent",
section = opaqueSection
) )
default Color opaquePrivateMessageSentHighlight() default Color opaquePrivateMessageSentHighlight()
{ {
@@ -69,18 +89,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 35, position = 5,
keyName = "opaquePrivateMessageReceived", keyName = "opaquePrivateMessageReceived",
name = "Received private messages", name = "Received private messages",
description = "Color of Private messages you've received" description = "Color of Private messages you've received",
section = opaqueSection
) )
Color opaquePrivateMessageReceived(); Color opaquePrivateMessageReceived();
@ConfigItem( @ConfigItem(
position = 36, position = 6,
keyName = "opaquePrivateMessageReceivedHighlight", keyName = "opaquePrivateMessageReceivedHighlight",
name = "Received private messages highlight", name = "Received private messages highlight",
description = "Color of highlights in Private messages you've received" description = "Color of highlights in Private messages you've received",
section = opaqueSection
) )
default Color opaquePrivateMessageReceivedHighlight() default Color opaquePrivateMessageReceivedHighlight()
{ {
@@ -88,10 +110,11 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 37, position = 7,
keyName = "opaqueClanChatInfo", keyName = "opaqueClanChatInfo",
name = "Clan chat info", name = "Clan chat info",
description = "Clan Chat Information (eg. when joining a channel)" description = "Clan Chat Information (eg. when joining a channel)",
section = opaqueSection
) )
default Color opaqueClanChatInfo() default Color opaqueClanChatInfo()
{ {
@@ -99,10 +122,11 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 38, position = 8,
keyName = "opaqueClanChatInfoHighlight", keyName = "opaqueClanChatInfoHighlight",
name = "Clan chat info highlight", name = "Clan chat info highlight",
description = "Clan Chat Information highlight (used for the Raids plugin)" description = "Clan Chat Information highlight (used for the Raids plugin)",
section = opaqueSection
) )
default Color opaqueClanChatInfoHighlight() default Color opaqueClanChatInfoHighlight()
{ {
@@ -110,18 +134,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 39, position = 9,
keyName = "opaqueClanChatMessage", keyName = "opaqueClanChatMessage",
name = "Clan chat message", name = "Clan chat message",
description = "Color of Clan Chat Messages" description = "Color of Clan Chat Messages",
section = opaqueSection
) )
Color opaqueClanChatMessage(); Color opaqueClanChatMessage();
@ConfigItem( @ConfigItem(
position = 40, position = 10,
keyName = "opaqueClanChatMessageHighlight", keyName = "opaqueClanChatMessageHighlight",
name = "Clan chat message highlight", name = "Clan chat message highlight",
description = "Color of highlights in Clan Chat Messages" description = "Color of highlights in Clan Chat Messages",
section = opaqueSection
) )
default Color opaqueClanChatMessageHighlight() default Color opaqueClanChatMessageHighlight()
{ {
@@ -129,66 +155,74 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 41, position = 11,
keyName = "opaqueAutochatMessage", keyName = "opaqueAutochatMessage",
name = "Autochat", name = "Autochat",
description = "Color of Autochat messages" description = "Color of Autochat messages",
section = opaqueSection
) )
Color opaqueAutochatMessage(); Color opaqueAutochatMessage();
@ConfigItem( @ConfigItem(
position = 42, position = 12,
keyName = "opaqueAutochatMessageHighlight", keyName = "opaqueAutochatMessageHighlight",
name = "Autochat highlight", name = "Autochat highlight",
description = "Color of highlights in Autochat messages" description = "Color of highlights in Autochat messages",
section = opaqueSection
) )
Color opaqueAutochatMessageHighlight(); Color opaqueAutochatMessageHighlight();
@ConfigItem( @ConfigItem(
position = 43, position = 13,
keyName = "opaqueTradeChatMessage", keyName = "opaqueTradeChatMessage",
name = "Trade chat", name = "Trade chat",
description = "Color of Trade Chat Messages" description = "Color of Trade Chat Messages",
section = opaqueSection
) )
Color opaqueTradeChatMessage(); Color opaqueTradeChatMessage();
@ConfigItem( @ConfigItem(
position = 44, position = 14,
keyName = "opaqueTradeChatMessageHighlight", keyName = "opaqueTradeChatMessageHighlight",
name = "Trade chat highlight", name = "Trade chat highlight",
description = "Color of highlights in Trade Chat Messages" description = "Color of highlights in Trade Chat Messages",
section = opaqueSection
) )
Color opaqueTradeChatMessageHighlight(); Color opaqueTradeChatMessageHighlight();
@ConfigItem( @ConfigItem(
position = 45, position = 15,
keyName = "opaqueServerMessage", keyName = "opaqueServerMessage",
name = "Server message", name = "Server message",
description = "Color of Server Messages (eg. 'Welcome to RuneScape')" description = "Color of Server Messages (eg. 'Welcome to RuneScape')",
section = opaqueSection
) )
Color opaqueServerMessage(); Color opaqueServerMessage();
@ConfigItem( @ConfigItem(
position = 46, position = 16,
keyName = "opaqueServerMessageHighlight", keyName = "opaqueServerMessageHighlight",
name = "Server message highlight", name = "Server message highlight",
description = "Color of highlights in Server Messages" description = "Color of highlights in Server Messages",
section = opaqueSection
) )
Color opaqueServerMessageHighlight(); Color opaqueServerMessageHighlight();
@ConfigItem( @ConfigItem(
position = 47, position = 17,
keyName = "opaqueGameMessage", keyName = "opaqueGameMessage",
name = "Game message", name = "Game message",
description = "Color of Game Messages" description = "Color of Game Messages",
section = opaqueSection
) )
Color opaqueGameMessage(); Color opaqueGameMessage();
@ConfigItem( @ConfigItem(
position = 48, position = 18,
keyName = "opaqueGameMessageHighlight", keyName = "opaqueGameMessageHighlight",
name = "Game message highlight", name = "Game message highlight",
description = "Color of highlights in Game Messages" description = "Color of highlights in Game Messages",
section = opaqueSection
) )
default Color opaqueGameMessageHighlight() default Color opaqueGameMessageHighlight()
{ {
@@ -196,18 +230,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 49, position = 19,
keyName = "opaqueExamine", keyName = "opaqueExamine",
name = "Examine", name = "Examine",
description = "Color of Examine Text" description = "Color of Examine Text",
section = opaqueSection
) )
Color opaqueExamine(); Color opaqueExamine();
@ConfigItem( @ConfigItem(
position = 50, position = 20,
keyName = "opaqueExamineHighlight", keyName = "opaqueExamineHighlight",
name = "Examine highlight", name = "Examine highlight",
description = "Color of highlights in Examine Text" description = "Color of highlights in Examine Text",
section = opaqueSection
) )
default Color opaqueExamineHighlight() default Color opaqueExamineHighlight()
{ {
@@ -215,74 +251,83 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 51, position = 21,
keyName = "opaqueFiltered", keyName = "opaqueFiltered",
name = "Filtered", name = "Filtered",
description = "Color of Filtered Text (messages that aren't shown when Game messages are filtered)" description = "Color of Filtered Text (messages that aren't shown when Game messages are filtered)",
section = opaqueSection
) )
Color opaqueFiltered(); Color opaqueFiltered();
@ConfigItem( @ConfigItem(
position = 52, position = 22,
keyName = "opaqueFilteredHighlight", keyName = "opaqueFilteredHighlight",
name = "Filtered highlight", name = "Filtered highlight",
description = "Color of highlights in Filtered Text" description = "Color of highlights in Filtered Text",
section = opaqueSection
) )
Color opaqueFilteredHighlight(); Color opaqueFilteredHighlight();
@ConfigItem( @ConfigItem(
position = 53, position = 23,
keyName = "opaqueUsername", keyName = "opaqueUsername",
name = "Usernames", name = "Usernames",
description = "Color of Usernames" description = "Color of Usernames",
section = opaqueSection
) )
Color opaqueUsername(); Color opaqueUsername();
@ConfigItem( @ConfigItem(
position = 54, position = 24,
keyName = "opaquePrivateUsernames", keyName = "opaquePrivateUsernames",
name = "Private chat usernames", name = "Private chat usernames",
description = "Color of Usernames in Private Chat" description = "Color of Usernames in Private Chat",
section = opaqueSection
) )
Color opaquePrivateUsernames(); Color opaquePrivateUsernames();
@ConfigItem( @ConfigItem(
position = 55, position = 25,
keyName = "opaqueClanChannelName", keyName = "opaqueClanChannelName",
name = "Clan channel name", name = "Clan channel name",
description = "Color of Clan Channel Name" description = "Color of Clan Channel Name",
section = opaqueSection
) )
Color opaqueClanChannelName(); Color opaqueClanChannelName();
@ConfigItem( @ConfigItem(
position = 56, position = 26,
keyName = "opaqueClanUsernames", keyName = "opaqueClanUsernames",
name = "Clan usernames", name = "Clan usernames",
description = "Color of Usernames in Clan Chat" description = "Color of Usernames in Clan Chat",
section = opaqueSection
) )
Color opaqueClanUsernames(); Color opaqueClanUsernames();
@ConfigItem( @ConfigItem(
position = 57, position = 27,
keyName = "opaquePublicFriendUsernames", keyName = "opaquePublicFriendUsernames",
name = "Public friend usernames", name = "Public friend usernames",
description = "Color of Friend Usernames in Public Chat" description = "Color of Friend Usernames in Public Chat",
section = opaqueSection
) )
Color opaquePublicFriendUsernames(); Color opaquePublicFriendUsernames();
@ConfigItem( @ConfigItem(
position = 61, position = 51,
keyName = "transparentPublicChat", keyName = "transparentPublicChat",
name = "Public chat (transparent)", name = "Public chat (transparent)",
description = "Color of Public chat (transparent)" description = "Color of Public chat (transparent)",
section = transparentSection
) )
Color transparentPublicChat(); Color transparentPublicChat();
@ConfigItem( @ConfigItem(
position = 62, position = 52,
keyName = "transparentPublicChatHighlight", keyName = "transparentPublicChatHighlight",
name = "Public chat highlight (transparent)", name = "Public chat highlight (transparent)",
description = "Color of highlights in Public chat (transparent)" description = "Color of highlights in Public chat (transparent)",
section = transparentSection
) )
default Color transparentPublicChatHighlight() default Color transparentPublicChatHighlight()
{ {
@@ -290,18 +335,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 63, position = 53,
keyName = "transparentPrivateMessageSent", keyName = "transparentPrivateMessageSent",
name = "Sent private messages (transparent)", name = "Sent private messages (transparent)",
description = "Color of Private messages you've sent (transparent)" description = "Color of Private messages you've sent (transparent)",
section = transparentSection
) )
Color transparentPrivateMessageSent(); Color transparentPrivateMessageSent();
@ConfigItem( @ConfigItem(
position = 64, position = 54,
keyName = "transparentPrivateMessageSentHighlight", keyName = "transparentPrivateMessageSentHighlight",
name = "Sent private messages highlight (transparent)", name = "Sent private messages highlight (transparent)",
description = "Color of highlights in Private messages you've sent (transparent)" description = "Color of highlights in Private messages you've sent (transparent)",
section = transparentSection
) )
default Color transparentPrivateMessageSentHighlight() default Color transparentPrivateMessageSentHighlight()
{ {
@@ -309,18 +356,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 65, position = 55,
keyName = "transparentPrivateMessageReceived", keyName = "transparentPrivateMessageReceived",
name = "Received private messages (transparent)", name = "Received private messages (transparent)",
description = "Color of Private messages you've received (transparent)" description = "Color of Private messages you've received (transparent)",
section = transparentSection
) )
Color transparentPrivateMessageReceived(); Color transparentPrivateMessageReceived();
@ConfigItem( @ConfigItem(
position = 66, position = 56,
keyName = "transparentPrivateMessageReceivedHighlight", keyName = "transparentPrivateMessageReceivedHighlight",
name = "Received private messages highlight (transparent)", name = "Received private messages highlight (transparent)",
description = "Color of highlights in Private messages you've received (transparent)" description = "Color of highlights in Private messages you've received (transparent)",
section = transparentSection
) )
default Color transparentPrivateMessageReceivedHighlight() default Color transparentPrivateMessageReceivedHighlight()
{ {
@@ -328,10 +377,11 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 67, position = 57,
keyName = "transparentClanChatInfo", keyName = "transparentClanChatInfo",
name = "Clan chat info (transparent)", name = "Clan chat info (transparent)",
description = "Clan Chat Information (eg. when joining a channel) (transparent)" description = "Clan Chat Information (eg. when joining a channel) (transparent)",
section = transparentSection
) )
default Color transparentClanChatInfo() default Color transparentClanChatInfo()
{ {
@@ -339,10 +389,11 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 68, position = 58,
keyName = "transparentClanChatInfoHighlight", keyName = "transparentClanChatInfoHighlight",
name = "Clan chat info highlight (transparent)", name = "Clan chat info highlight (transparent)",
description = "Clan Chat Information highlight (used for the Raids plugin) (transparent)" description = "Clan Chat Information highlight (used for the Raids plugin) (transparent)",
section = transparentSection
) )
default Color transparentClanChatInfoHighlight() default Color transparentClanChatInfoHighlight()
{ {
@@ -350,18 +401,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 69, position = 59,
keyName = "transparentClanChatMessage", keyName = "transparentClanChatMessage",
name = "Clan chat message (transparent)", name = "Clan chat message (transparent)",
description = "Color of Clan Chat Messages (transparent)" description = "Color of Clan Chat Messages (transparent)",
section = transparentSection
) )
Color transparentClanChatMessage(); Color transparentClanChatMessage();
@ConfigItem( @ConfigItem(
position = 70, position = 60,
keyName = "transparentClanChatMessageHighlight", keyName = "transparentClanChatMessageHighlight",
name = "Clan chat message highlight (transparent)", name = "Clan chat message highlight (transparent)",
description = "Color of highlights in Clan Chat Messages (transparent)" description = "Color of highlights in Clan Chat Messages (transparent)",
section = transparentSection
) )
default Color transparentClanChatMessageHighlight() default Color transparentClanChatMessageHighlight()
{ {
@@ -369,66 +422,74 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 71, position = 61,
keyName = "transparentAutochatMessage", keyName = "transparentAutochatMessage",
name = "Autochat (transparent)", name = "Autochat (transparent)",
description = "Color of Autochat messages (transparent)" description = "Color of Autochat messages (transparent)",
section = transparentSection
) )
Color transparentAutochatMessage(); Color transparentAutochatMessage();
@ConfigItem( @ConfigItem(
position = 72, position = 62,
keyName = "transparentAutochatMessageHighlight", keyName = "transparentAutochatMessageHighlight",
name = "Autochat highlight (transparent)", name = "Autochat highlight (transparent)",
description = "Color of highlights in Autochat messages (transparent)" description = "Color of highlights in Autochat messages (transparent)",
section = transparentSection
) )
Color transparentAutochatMessageHighlight(); Color transparentAutochatMessageHighlight();
@ConfigItem( @ConfigItem(
position = 73, position = 63,
keyName = "transparentTradeChatMessage", keyName = "transparentTradeChatMessage",
name = "Trade chat (transparent)", name = "Trade chat (transparent)",
description = "Color of Trade Chat Messages (transparent)" description = "Color of Trade Chat Messages (transparent)",
section = transparentSection
) )
Color transparentTradeChatMessage(); Color transparentTradeChatMessage();
@ConfigItem( @ConfigItem(
position = 74, position = 64,
keyName = "transparentTradeChatMessageHighlight", keyName = "transparentTradeChatMessageHighlight",
name = "Trade chat highlight (transparent)", name = "Trade chat highlight (transparent)",
description = "Color of highlights in Trade Chat Messages (transparent)" description = "Color of highlights in Trade Chat Messages (transparent)",
section = transparentSection
) )
Color transparentTradeChatMessageHighlight(); Color transparentTradeChatMessageHighlight();
@ConfigItem( @ConfigItem(
position = 75, position = 65,
keyName = "transparentServerMessage", keyName = "transparentServerMessage",
name = "Server message (transparent)", name = "Server message (transparent)",
description = "Color of Server Messages (eg. 'Welcome to RuneScape') (transparent)" description = "Color of Server Messages (eg. 'Welcome to RuneScape') (transparent)",
section = transparentSection
) )
Color transparentServerMessage(); Color transparentServerMessage();
@ConfigItem( @ConfigItem(
position = 76, position = 66,
keyName = "transparentServerMessageHighlight", keyName = "transparentServerMessageHighlight",
name = "Server message highlight (transparent)", name = "Server message highlight (transparent)",
description = "Color of highlights in Server Messages (transparent)" description = "Color of highlights in Server Messages (transparent)",
section = transparentSection
) )
Color transparentServerMessageHighlight(); Color transparentServerMessageHighlight();
@ConfigItem( @ConfigItem(
position = 77, position = 67,
keyName = "transparentGameMessage", keyName = "transparentGameMessage",
name = "Game message (transparent)", name = "Game message (transparent)",
description = "Color of Game Messages (transparent)" description = "Color of Game Messages (transparent)",
section = transparentSection
) )
Color transparentGameMessage(); Color transparentGameMessage();
@ConfigItem( @ConfigItem(
position = 78, position = 68,
keyName = "transparentGameMessageHighlight", keyName = "transparentGameMessageHighlight",
name = "Game message highlight (transparent)", name = "Game message highlight (transparent)",
description = "Color of highlights in Game Messages (transparent)" description = "Color of highlights in Game Messages (transparent)",
section = transparentSection
) )
default Color transparentGameMessageHighlight() default Color transparentGameMessageHighlight()
{ {
@@ -436,18 +497,20 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 79, position = 69,
keyName = "transparentExamine", keyName = "transparentExamine",
name = "Examine (transparent)", name = "Examine (transparent)",
description = "Color of Examine Text (transparent)" description = "Color of Examine Text (transparent)",
section = transparentSection
) )
Color transparentExamine(); Color transparentExamine();
@ConfigItem( @ConfigItem(
position = 80, position = 70,
keyName = "transparentExamineHighlight", keyName = "transparentExamineHighlight",
name = "Examine highlight (transparent)", name = "Examine highlight (transparent)",
description = "Color of highlights in Examine Text (transparent)" description = "Color of highlights in Examine Text (transparent)",
section = transparentSection
) )
default Color transparentExamineHighlight() default Color transparentExamineHighlight()
{ {
@@ -455,58 +518,65 @@ public interface ChatColorConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 81, position = 71,
keyName = "transparentFiltered", keyName = "transparentFiltered",
name = "Filtered (transparent)", name = "Filtered (transparent)",
description = "Color of Filtered Text (messages that aren't shown when Game messages are filtered) (transparent)" description = "Color of Filtered Text (messages that aren't shown when Game messages are filtered) (transparent)",
section = transparentSection
) )
Color transparentFiltered(); Color transparentFiltered();
@ConfigItem( @ConfigItem(
position = 82, position = 72,
keyName = "transparentFilteredHighlight", keyName = "transparentFilteredHighlight",
name = "Filtered highlight (transparent)", name = "Filtered highlight (transparent)",
description = "Color of highlights in Filtered Text (transparent)" description = "Color of highlights in Filtered Text (transparent)",
section = transparentSection
) )
Color transparentFilteredHighlight(); Color transparentFilteredHighlight();
@ConfigItem( @ConfigItem(
position = 83, position = 73,
keyName = "transparentUsername", keyName = "transparentUsername",
name = "Usernames (transparent)", name = "Usernames (transparent)",
description = "Color of Usernames (transparent)" description = "Color of Usernames (transparent)",
section = transparentSection
) )
Color transparentUsername(); Color transparentUsername();
@ConfigItem( @ConfigItem(
position = 84, position = 74,
keyName = "transparentPrivateUsernames", keyName = "transparentPrivateUsernames",
name = "Private chat usernames (transparent)", name = "Private chat usernames (transparent)",
description = "Color of Usernames in Private Chat (transparent)" description = "Color of Usernames in Private Chat (transparent)",
section = transparentSection
) )
Color transparentPrivateUsernames(); Color transparentPrivateUsernames();
@ConfigItem( @ConfigItem(
position = 85, position = 75,
keyName = "transparentClanChannelName", keyName = "transparentClanChannelName",
name = "Clan channel name (transparent)", name = "Clan channel name (transparent)",
description = "Color of Clan Channel Name (transparent)" description = "Color of Clan Channel Name (transparent)",
section = transparentSection
) )
Color transparentClanChannelName(); Color transparentClanChannelName();
@ConfigItem( @ConfigItem(
position = 86, position = 76,
keyName = "transparentClanUsernames", keyName = "transparentClanUsernames",
name = "Clan usernames (transparent)", name = "Clan usernames (transparent)",
description = "Color of Usernames in Clan Chat (transparent)" description = "Color of Usernames in Clan Chat (transparent)",
section = transparentSection
) )
Color transparentClanUsernames(); Color transparentClanUsernames();
@ConfigItem( @ConfigItem(
position = 87, position = 77,
keyName = "transparentPublicFriendUsernames", keyName = "transparentPublicFriendUsernames",
name = "Public friend usernames (transparent)", name = "Public friend usernames (transparent)",
description = "Color of Friend Usernames in Public Chat (transparent)" description = "Color of Friend Usernames in Public Chat (transparent)",
section = transparentSection
) )
Color transparentPublicFriendUsernames(); Color transparentPublicFriendUsernames();
} }

View File

@@ -38,11 +38,33 @@ public interface RuneLiteConfig extends Config
{ {
String GROUP_NAME = "runelite"; String GROUP_NAME = "runelite";
@ConfigSection(
name = "Window Settings",
description = "Settings relating to the client's window and frame",
position = 0
)
String windowSettings = "windowSettings";
@ConfigSection(
name = "Notification Settings",
description = "Settings relating to notifications",
position = 1
)
String notificationSettings = "notificationSettings";
@ConfigSection(
name = "Overlay Settings",
description = "Settings relating to fonts",
position = 2
)
String overlaySettings = "overlaySettings";
@ConfigItem( @ConfigItem(
keyName = "gameSize", keyName = "gameSize",
name = "Game size", name = "Game size",
description = "The game will resize to this resolution upon starting the client", description = "The game will resize to this resolution upon starting the client",
position = 10 position = 10,
section = windowSettings
) )
default Dimension gameSize() default Dimension gameSize()
{ {
@@ -53,7 +75,8 @@ public interface RuneLiteConfig extends Config
keyName = "automaticResizeType", keyName = "automaticResizeType",
name = "Resize type", name = "Resize type",
description = "Choose how the window should resize when opening and closing panels", description = "Choose how the window should resize when opening and closing panels",
position = 11 position = 11,
section = windowSettings
) )
default ExpandResizeType automaticResizeType() default ExpandResizeType automaticResizeType()
{ {
@@ -64,7 +87,8 @@ public interface RuneLiteConfig extends Config
keyName = "lockWindowSize", keyName = "lockWindowSize",
name = "Lock window size", name = "Lock window size",
description = "Determines if the window resizing is allowed or not", description = "Determines if the window resizing is allowed or not",
position = 12 position = 12,
section = windowSettings
) )
default boolean lockWindowSize() default boolean lockWindowSize()
{ {
@@ -75,7 +99,8 @@ public interface RuneLiteConfig extends Config
keyName = "containInScreen2", keyName = "containInScreen2",
name = "Contain in screen", name = "Contain in screen",
description = "Makes the client stay contained in the screen when attempted to move out of it.<br>Note: 'Always' only works if custom chrome is enabled.", description = "Makes the client stay contained in the screen when attempted to move out of it.<br>Note: 'Always' only works if custom chrome is enabled.",
position = 13 position = 13,
section = windowSettings
) )
default ContainableFrame.Mode containInScreen() default ContainableFrame.Mode containInScreen()
{ {
@@ -86,7 +111,8 @@ public interface RuneLiteConfig extends Config
keyName = "rememberScreenBounds", keyName = "rememberScreenBounds",
name = "Remember client position", name = "Remember client position",
description = "Save the position and size of the client after exiting", description = "Save the position and size of the client after exiting",
position = 14 position = 14,
section = windowSettings
) )
default boolean rememberScreenBounds() default boolean rememberScreenBounds()
{ {
@@ -98,7 +124,8 @@ public interface RuneLiteConfig extends Config
name = "Enable custom window chrome", name = "Enable custom window chrome",
description = "Use Runelite's custom window title and borders.", description = "Use Runelite's custom window title and borders.",
warning = "Please restart your client after changing this setting", warning = "Please restart your client after changing this setting",
position = 15 position = 15,
section = windowSettings
) )
default boolean enableCustomChrome() default boolean enableCustomChrome()
{ {
@@ -113,7 +140,8 @@ public interface RuneLiteConfig extends Config
keyName = "uiWindowOpacity", keyName = "uiWindowOpacity",
name = "Window opacity", name = "Window opacity",
description = "Set the windows opacity. Requires \"Enable custom window chrome\" to be enabled.", description = "Set the windows opacity. Requires \"Enable custom window chrome\" to be enabled.",
position = 16 position = 16,
section = windowSettings
) )
default int windowOpacity() default int windowOpacity()
{ {
@@ -124,7 +152,8 @@ public interface RuneLiteConfig extends Config
keyName = "gameAlwaysOnTop", keyName = "gameAlwaysOnTop",
name = "Enable client always on top", name = "Enable client always on top",
description = "The game will always be on the top of the screen", description = "The game will always be on the top of the screen",
position = 17 position = 17,
section = windowSettings
) )
default boolean gameAlwaysOnTop() default boolean gameAlwaysOnTop()
{ {
@@ -135,7 +164,8 @@ public interface RuneLiteConfig extends Config
keyName = "warningOnExit", keyName = "warningOnExit",
name = "Display warning on exit", name = "Display warning on exit",
description = "Toggles a warning popup when trying to exit the client", description = "Toggles a warning popup when trying to exit the client",
position = 18 position = 18,
section = windowSettings
) )
default WarningOnExit warningOnExit() default WarningOnExit warningOnExit()
{ {
@@ -146,7 +176,8 @@ public interface RuneLiteConfig extends Config
keyName = "usernameInTitle", keyName = "usernameInTitle",
name = "Show display name in title", name = "Show display name in title",
description = "Toggles displaying of local player's display name in client title", description = "Toggles displaying of local player's display name in client title",
position = 19 position = 19,
section = windowSettings
) )
default boolean usernameInTitle() default boolean usernameInTitle()
{ {
@@ -157,7 +188,8 @@ public interface RuneLiteConfig extends Config
keyName = "notificationTray", keyName = "notificationTray",
name = "Enable tray notifications", name = "Enable tray notifications",
description = "Enables tray notifications", description = "Enables tray notifications",
position = 20 position = 20,
section = notificationSettings
) )
default boolean enableTrayNotifications() default boolean enableTrayNotifications()
{ {
@@ -168,7 +200,8 @@ public interface RuneLiteConfig extends Config
keyName = "notificationRequestFocus", keyName = "notificationRequestFocus",
name = "Request focus on notification", name = "Request focus on notification",
description = "Configures the window focus request type on notification", description = "Configures the window focus request type on notification",
position = 21 position = 21,
section = notificationSettings
) )
default RequestFocusType notificationRequestFocus() default RequestFocusType notificationRequestFocus()
{ {
@@ -179,7 +212,8 @@ public interface RuneLiteConfig extends Config
keyName = "notificationSound", keyName = "notificationSound",
name = "Notification sound", name = "Notification sound",
description = "Enables the playing of a beep sound when notifications are displayed", description = "Enables the playing of a beep sound when notifications are displayed",
position = 22 position = 22,
section = notificationSettings
) )
default Notifier.NativeCustomOff notificationSound() default Notifier.NativeCustomOff notificationSound()
{ {
@@ -190,7 +224,8 @@ public interface RuneLiteConfig extends Config
keyName = "notificationGameMessage", keyName = "notificationGameMessage",
name = "Enable game message notifications", name = "Enable game message notifications",
description = "Puts a notification message in the chatbox", description = "Puts a notification message in the chatbox",
position = 23 position = 23,
section = notificationSettings
) )
default boolean enableGameMessageNotification() default boolean enableGameMessageNotification()
{ {
@@ -201,7 +236,8 @@ public interface RuneLiteConfig extends Config
keyName = "flashNotification", keyName = "flashNotification",
name = "Flash notification", name = "Flash notification",
description = "Flashes the game frame as a notification", description = "Flashes the game frame as a notification",
position = 24 position = 24,
section = notificationSettings
) )
default FlashNotification flashNotification() default FlashNotification flashNotification()
{ {
@@ -212,7 +248,8 @@ public interface RuneLiteConfig extends Config
keyName = "notificationFocused", keyName = "notificationFocused",
name = "Send notifications when focused", name = "Send notifications when focused",
description = "Toggles all notifications for when the client is focused", description = "Toggles all notifications for when the client is focused",
position = 25 position = 25,
section = notificationSettings
) )
default boolean sendNotificationsWhenFocused() default boolean sendNotificationsWhenFocused()
{ {
@@ -223,7 +260,8 @@ public interface RuneLiteConfig extends Config
keyName = "fontType", keyName = "fontType",
name = "Dynamic Overlay Font", name = "Dynamic Overlay Font",
description = "Configures what font type is used for in-game overlays such as player name, ground items, etc.", description = "Configures what font type is used for in-game overlays such as player name, ground items, etc.",
position = 30 position = 30,
section = overlaySettings
) )
default FontType fontType() default FontType fontType()
{ {
@@ -234,7 +272,8 @@ public interface RuneLiteConfig extends Config
keyName = "tooltipFontType", keyName = "tooltipFontType",
name = "Tooltip Font", name = "Tooltip Font",
description = "Configures what font type is used for in-game tooltips such as food stats, NPC names, etc.", description = "Configures what font type is used for in-game tooltips such as food stats, NPC names, etc.",
position = 31 position = 31,
section = overlaySettings
) )
default FontType tooltipFontType() default FontType tooltipFontType()
{ {
@@ -245,7 +284,8 @@ public interface RuneLiteConfig extends Config
keyName = "interfaceFontType", keyName = "interfaceFontType",
name = "Interface Overlay Font", name = "Interface Overlay Font",
description = "Configures what font type is used for in-game interface overlays such as panels, opponent info, clue scrolls etc.", description = "Configures what font type is used for in-game interface overlays such as panels, opponent info, clue scrolls etc.",
position = 32 position = 32,
section = overlaySettings
) )
default FontType interfaceFontType() default FontType interfaceFontType()
{ {
@@ -256,7 +296,8 @@ public interface RuneLiteConfig extends Config
keyName = "menuEntryShift", keyName = "menuEntryShift",
name = "Require Shift for overlay menu", name = "Require Shift for overlay menu",
description = "Overlay right-click menu will require shift to be added", description = "Overlay right-click menu will require shift to be added",
position = 33 position = 33,
section = overlaySettings
) )
default boolean menuEntryShift() default boolean menuEntryShift()
{ {
@@ -267,7 +308,8 @@ public interface RuneLiteConfig extends Config
keyName = "tooltipPosition", keyName = "tooltipPosition",
name = "Tooltip Position", name = "Tooltip Position",
description = "Configures whether to show the tooltip above or under the cursor", description = "Configures whether to show the tooltip above or under the cursor",
position = 35 position = 35,
section = overlaySettings
) )
default TooltipPositionType tooltipPosition() default TooltipPositionType tooltipPosition()
{ {
@@ -278,7 +320,8 @@ public interface RuneLiteConfig extends Config
keyName = "infoBoxVertical", keyName = "infoBoxVertical",
name = "Display infoboxes vertically", name = "Display infoboxes vertically",
description = "Toggles the infoboxes to display vertically", description = "Toggles the infoboxes to display vertically",
position = 40 position = 40,
section = overlaySettings
) )
default boolean infoBoxVertical() default boolean infoBoxVertical()
{ {
@@ -289,7 +332,8 @@ public interface RuneLiteConfig extends Config
keyName = "infoBoxSize", keyName = "infoBoxSize",
name = "Infobox size", name = "Infobox size",
description = "Configures the size of each infobox in pixels", description = "Configures the size of each infobox in pixels",
position = 42 position = 42,
section = overlaySettings
) )
@Units(Units.PIXELS) @Units(Units.PIXELS)
default int infoBoxSize() default int infoBoxSize()
@@ -301,7 +345,8 @@ public interface RuneLiteConfig extends Config
keyName = "overlayBackgroundColor", keyName = "overlayBackgroundColor",
name = "Overlay Color", name = "Overlay Color",
description = "Configures the background color of infoboxes and overlays", description = "Configures the background color of infoboxes and overlays",
position = 43 position = 43,
section = overlaySettings
) )
@Alpha @Alpha
default Color overlayBackgroundColor() default Color overlayBackgroundColor()
@@ -324,7 +369,8 @@ public interface RuneLiteConfig extends Config
keyName = "sidebarToggleKey", keyName = "sidebarToggleKey",
name = "Sidebar Toggle Key", name = "Sidebar Toggle Key",
description = "The key that will toggle the sidebar (accepts modifiers)", description = "The key that will toggle the sidebar (accepts modifiers)",
position = 45 position = 45,
section = windowSettings
) )
default Keybind sidebarToggleKey() default Keybind sidebarToggleKey()
{ {
@@ -335,7 +381,8 @@ public interface RuneLiteConfig extends Config
keyName = "panelToggleKey", keyName = "panelToggleKey",
name = "Plugin Panel Toggle Key", name = "Plugin Panel Toggle Key",
description = "The key that will toggle the current or last opened plugin panel (accepts modifiers)", description = "The key that will toggle the current or last opened plugin panel (accepts modifiers)",
position = 46 position = 46,
section = windowSettings
) )
default Keybind panelToggleKey() default Keybind panelToggleKey()
{ {

View File

@@ -30,6 +30,7 @@ import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.Units; import net.runelite.client.config.Units;
import net.runelite.client.config.ConfigSection;
import net.runelite.client.plugins.grounditems.config.HighlightTier; import net.runelite.client.plugins.grounditems.config.HighlightTier;
import net.runelite.client.plugins.grounditems.config.ItemHighlightMode; import net.runelite.client.plugins.grounditems.config.ItemHighlightMode;
import net.runelite.client.plugins.grounditems.config.MenuHighlightMode; import net.runelite.client.plugins.grounditems.config.MenuHighlightMode;
@@ -39,11 +40,20 @@ import net.runelite.client.plugins.grounditems.config.ValueCalculationMode;
@ConfigGroup("grounditems") @ConfigGroup("grounditems")
public interface GroundItemsConfig extends Config public interface GroundItemsConfig extends Config
{ {
@ConfigSection(
name = "Item Lists",
description = "The highlighted and hidden item lists",
position = 0,
closedByDefault = true
)
String itemLists = "itemLists";
@ConfigItem( @ConfigItem(
keyName = "highlightedItems", keyName = "highlightedItems",
name = "Highlighted Items", name = "Highlighted Items",
description = "Configures specifically highlighted ground items. Format: (item), (item)", description = "Configures specifically highlighted ground items. Format: (item), (item)",
position = 0 position = 0,
section = itemLists
) )
default String getHighlightItems() default String getHighlightItems()
{ {
@@ -61,7 +71,8 @@ public interface GroundItemsConfig extends Config
keyName = "hiddenItems", keyName = "hiddenItems",
name = "Hidden Items", name = "Hidden Items",
description = "Configures hidden ground items. Format: (item), (item)", description = "Configures hidden ground items. Format: (item), (item)",
position = 1 position = 1,
section = itemLists
) )
default String getHiddenItems() default String getHiddenItems()
{ {

View File

@@ -28,6 +28,7 @@ import java.awt.Color;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
/** /**
* *
@@ -43,11 +44,19 @@ public interface ImplingsConfig extends Config
NOTIFY NOTIFY
} }
@ConfigSection(
name = "Impling Type Settings",
description = "Configuration for each type of impling",
position = 99
)
String implingSection = "implings";
@ConfigItem( @ConfigItem(
position = 1, position = 1,
keyName = "showbaby", keyName = "showbaby",
name = "Show Baby implings", name = "Show Baby implings",
description = "Configures whether or not Baby impling tags are displayed" description = "Configures whether or not Baby impling tags are displayed",
section = implingSection
) )
default ImplingMode showBaby() default ImplingMode showBaby()
{ {
@@ -58,7 +67,8 @@ public interface ImplingsConfig extends Config
position = 2, position = 2,
keyName = "babyColor", keyName = "babyColor",
name = "Baby impling color", name = "Baby impling color",
description = "Text color for Baby implings" description = "Text color for Baby implings",
section = implingSection
) )
default Color getBabyColor() default Color getBabyColor()
{ {
@@ -69,7 +79,8 @@ public interface ImplingsConfig extends Config
position = 3, position = 3,
keyName = "showyoung", keyName = "showyoung",
name = "Show Young implings", name = "Show Young implings",
description = "Configures whether or not Young impling tags are displayed" description = "Configures whether or not Young impling tags are displayed",
section = implingSection
) )
default ImplingMode showYoung() default ImplingMode showYoung()
{ {
@@ -80,7 +91,8 @@ public interface ImplingsConfig extends Config
position = 4, position = 4,
keyName = "youngColor", keyName = "youngColor",
name = "Young impling color", name = "Young impling color",
description = "Text color for Young implings" description = "Text color for Young implings",
section = implingSection
) )
default Color getYoungColor() default Color getYoungColor()
{ {
@@ -91,7 +103,8 @@ public interface ImplingsConfig extends Config
position = 5, position = 5,
keyName = "showgourmet", keyName = "showgourmet",
name = "Show Gourmet implings", name = "Show Gourmet implings",
description = "Configures whether or not Gourmet impling tags are displayed" description = "Configures whether or not Gourmet impling tags are displayed",
section = implingSection
) )
default ImplingMode showGourmet() default ImplingMode showGourmet()
{ {
@@ -102,7 +115,8 @@ public interface ImplingsConfig extends Config
position = 6, position = 6,
keyName = "gourmetColor", keyName = "gourmetColor",
name = "Gourmet impling color", name = "Gourmet impling color",
description = "Text color for Gourmet implings" description = "Text color for Gourmet implings",
section = implingSection
) )
default Color getGourmetColor() default Color getGourmetColor()
{ {
@@ -113,7 +127,8 @@ public interface ImplingsConfig extends Config
position = 7, position = 7,
keyName = "showearth", keyName = "showearth",
name = "Show Earth implings", name = "Show Earth implings",
description = "Configures whether or not Earth impling tags are displayed" description = "Configures whether or not Earth impling tags are displayed",
section = implingSection
) )
default ImplingMode showEarth() default ImplingMode showEarth()
{ {
@@ -124,7 +139,8 @@ public interface ImplingsConfig extends Config
position = 8, position = 8,
keyName = "earthColor", keyName = "earthColor",
name = "Earth impling color", name = "Earth impling color",
description = "Text color for Earth implings" description = "Text color for Earth implings",
section = implingSection
) )
default Color getEarthColor() default Color getEarthColor()
{ {
@@ -135,7 +151,8 @@ public interface ImplingsConfig extends Config
position = 9, position = 9,
keyName = "showessence", keyName = "showessence",
name = "Show Essence implings", name = "Show Essence implings",
description = "Configures whether or not Essence impling tags are displayed" description = "Configures whether or not Essence impling tags are displayed",
section = implingSection
) )
default ImplingMode showEssence() default ImplingMode showEssence()
{ {
@@ -146,7 +163,8 @@ public interface ImplingsConfig extends Config
position = 10, position = 10,
keyName = "essenceColor", keyName = "essenceColor",
name = "Essence impling color", name = "Essence impling color",
description = "Text color for Essence implings" description = "Text color for Essence implings",
section = implingSection
) )
default Color getEssenceColor() default Color getEssenceColor()
{ {
@@ -157,7 +175,8 @@ public interface ImplingsConfig extends Config
position = 11, position = 11,
keyName = "showeclectic", keyName = "showeclectic",
name = "Show Eclectic implings", name = "Show Eclectic implings",
description = "Configures whether or not Eclectic impling tags are displayed" description = "Configures whether or not Eclectic impling tags are displayed",
section = implingSection
) )
default ImplingMode showEclectic() default ImplingMode showEclectic()
{ {
@@ -168,7 +187,8 @@ public interface ImplingsConfig extends Config
position = 12, position = 12,
keyName = "eclecticColor", keyName = "eclecticColor",
name = "Eclectic impling color", name = "Eclectic impling color",
description = "Text color for Eclectic implings" description = "Text color for Eclectic implings",
section = implingSection
) )
default Color getEclecticColor() default Color getEclecticColor()
{ {
@@ -179,7 +199,8 @@ public interface ImplingsConfig extends Config
position = 13, position = 13,
keyName = "shownature", keyName = "shownature",
name = "Show Nature implings", name = "Show Nature implings",
description = "Configures whether or not Nature impling tags are displayed" description = "Configures whether or not Nature impling tags are displayed",
section = implingSection
) )
default ImplingMode showNature() default ImplingMode showNature()
{ {
@@ -190,7 +211,8 @@ public interface ImplingsConfig extends Config
position = 14, position = 14,
keyName = "natureColor", keyName = "natureColor",
name = "Nature impling color", name = "Nature impling color",
description = "Text color for Nature implings" description = "Text color for Nature implings",
section = implingSection
) )
default Color getNatureColor() default Color getNatureColor()
{ {
@@ -201,7 +223,8 @@ public interface ImplingsConfig extends Config
position = 15, position = 15,
keyName = "showmagpie", keyName = "showmagpie",
name = "Show Magpie implings", name = "Show Magpie implings",
description = "Configures whether or not Magpie impling tags are displayed" description = "Configures whether or not Magpie impling tags are displayed",
section = implingSection
) )
default ImplingMode showMagpie() default ImplingMode showMagpie()
{ {
@@ -212,7 +235,8 @@ public interface ImplingsConfig extends Config
position = 16, position = 16,
keyName = "magpieColor", keyName = "magpieColor",
name = "Magpie impling color", name = "Magpie impling color",
description = "Text color for Magpie implings" description = "Text color for Magpie implings",
section = implingSection
) )
default Color getMagpieColor() default Color getMagpieColor()
{ {
@@ -223,7 +247,8 @@ public interface ImplingsConfig extends Config
position = 17, position = 17,
keyName = "showninja", keyName = "showninja",
name = "Show Ninja implings", name = "Show Ninja implings",
description = "Configures whether or not Ninja impling tags are displayed" description = "Configures whether or not Ninja impling tags are displayed",
section = implingSection
) )
default ImplingMode showNinja() default ImplingMode showNinja()
{ {
@@ -234,7 +259,8 @@ public interface ImplingsConfig extends Config
position = 18, position = 18,
keyName = "ninjaColor", keyName = "ninjaColor",
name = "Ninja impling color", name = "Ninja impling color",
description = "Text color for Ninja implings" description = "Text color for Ninja implings",
section = implingSection
) )
default Color getNinjaColor() default Color getNinjaColor()
{ {
@@ -245,7 +271,8 @@ public interface ImplingsConfig extends Config
position = 19, position = 19,
keyName = "showCrystal", keyName = "showCrystal",
name = "Show Crystal implings", name = "Show Crystal implings",
description = "Configures whether or not Crystal implings are displayed" description = "Configures whether or not Crystal implings are displayed",
section = implingSection
) )
default ImplingMode showCrystal() default ImplingMode showCrystal()
{ {
@@ -256,7 +283,8 @@ public interface ImplingsConfig extends Config
position = 20, position = 20,
keyName = "crystalColor", keyName = "crystalColor",
name = "Crystal impling color", name = "Crystal impling color",
description = "Text color for Crystal implings" description = "Text color for Crystal implings",
section = implingSection
) )
default Color getCrystalColor() default Color getCrystalColor()
{ {
@@ -267,7 +295,8 @@ public interface ImplingsConfig extends Config
position = 21, position = 21,
keyName = "showdragon", keyName = "showdragon",
name = "Show Dragon implings", name = "Show Dragon implings",
description = "Configures whether or not Dragon impling tags are displayed" description = "Configures whether or not Dragon impling tags are displayed",
section = implingSection
) )
default ImplingMode showDragon() default ImplingMode showDragon()
{ {
@@ -278,7 +307,8 @@ public interface ImplingsConfig extends Config
position = 22, position = 22,
keyName = "dragonColor", keyName = "dragonColor",
name = "Dragon impling color", name = "Dragon impling color",
description = "Text color for Dragon implings" description = "Text color for Dragon implings",
section = implingSection
) )
default Color getDragonColor() default Color getDragonColor()
{ {
@@ -289,7 +319,8 @@ public interface ImplingsConfig extends Config
position = 23, position = 23,
keyName = "showlucky", keyName = "showlucky",
name = "Show Lucky implings", name = "Show Lucky implings",
description = "Configures whether or not Lucky impling tags are displayed" description = "Configures whether or not Lucky impling tags are displayed",
section = implingSection
) )
default ImplingMode showLucky() default ImplingMode showLucky()
{ {
@@ -300,7 +331,8 @@ public interface ImplingsConfig extends Config
position = 24, position = 24,
keyName = "luckyColor", keyName = "luckyColor",
name = "Lucky impling color", name = "Lucky impling color",
description = "Text color for Lucky implings" description = "Text color for Lucky implings",
section = implingSection
) )
default Color getLuckyColor() default Color getLuckyColor()
{ {

View File

@@ -29,10 +29,25 @@ import java.awt.Color;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("itemCharge") @ConfigGroup("itemCharge")
public interface ItemChargeConfig extends Config public interface ItemChargeConfig extends Config
{ {
@ConfigSection(
name = "Charge Settings",
description = "Configuration for which charges should be displayed",
position = 98
)
String chargesSection = "charges";
@ConfigSection(
name = "Notification Settings",
description = "Configuration for notifications",
position = 99
)
String notificationSection = "notifications";
@ConfigItem( @ConfigItem(
keyName = "veryLowWarningColor", keyName = "veryLowWarningColor",
name = "Very Low Warning Color", name = "Very Low Warning Color",
@@ -81,7 +96,8 @@ public interface ItemChargeConfig extends Config
keyName = "showTeleportCharges", keyName = "showTeleportCharges",
name = "Show Teleport Charges", name = "Show Teleport Charges",
description = "Configures if teleport item count is shown", description = "Configures if teleport item count is shown",
position = 5 position = 5,
section = chargesSection
) )
default boolean showTeleportCharges() default boolean showTeleportCharges()
{ {
@@ -92,7 +108,8 @@ public interface ItemChargeConfig extends Config
keyName = "showDodgyCount", keyName = "showDodgyCount",
name = "Dodgy Necklace Count", name = "Dodgy Necklace Count",
description = "Configures if Dodgy Necklace charge count is shown", description = "Configures if Dodgy Necklace charge count is shown",
position = 6 position = 6,
section = chargesSection
) )
default boolean showDodgyCount() default boolean showDodgyCount()
{ {
@@ -103,7 +120,8 @@ public interface ItemChargeConfig extends Config
keyName = "dodgyNotification", keyName = "dodgyNotification",
name = "Dodgy Necklace Notification", name = "Dodgy Necklace Notification",
description = "Configures if the dodgy necklace breaking notification is shown", description = "Configures if the dodgy necklace breaking notification is shown",
position = 7 position = 7,
section = notificationSection
) )
default boolean dodgyNotification() default boolean dodgyNotification()
{ {
@@ -132,7 +150,8 @@ public interface ItemChargeConfig extends Config
keyName = "showImpCharges", keyName = "showImpCharges",
name = "Show Imp-in-a-box charges", name = "Show Imp-in-a-box charges",
description = "Configures if imp-in-a-box item charges is shown", description = "Configures if imp-in-a-box item charges is shown",
position = 8 position = 8,
section = chargesSection
) )
default boolean showImpCharges() default boolean showImpCharges()
{ {
@@ -143,7 +162,8 @@ public interface ItemChargeConfig extends Config
keyName = "showFungicideCharges", keyName = "showFungicideCharges",
name = "Show Fungicide Charges", name = "Show Fungicide Charges",
description = "Configures if fungicide item charges is shown", description = "Configures if fungicide item charges is shown",
position = 9 position = 9,
section = chargesSection
) )
default boolean showFungicideCharges() default boolean showFungicideCharges()
{ {
@@ -154,7 +174,8 @@ public interface ItemChargeConfig extends Config
keyName = "showWateringCanCharges", keyName = "showWateringCanCharges",
name = "Show Watering Can Charges", name = "Show Watering Can Charges",
description = "Configures if watering can item charge is shown", description = "Configures if watering can item charge is shown",
position = 10 position = 10,
section = chargesSection
) )
default boolean showWateringCanCharges() default boolean showWateringCanCharges()
{ {
@@ -165,7 +186,8 @@ public interface ItemChargeConfig extends Config
keyName = "showWaterskinCharges", keyName = "showWaterskinCharges",
name = "Show Waterskin Charges", name = "Show Waterskin Charges",
description = "Configures if waterskin item charge is shown", description = "Configures if waterskin item charge is shown",
position = 11 position = 11,
section = chargesSection
) )
default boolean showWaterskinCharges() default boolean showWaterskinCharges()
{ {
@@ -176,7 +198,8 @@ public interface ItemChargeConfig extends Config
keyName = "showBellowCharges", keyName = "showBellowCharges",
name = "Show Bellow Charges", name = "Show Bellow Charges",
description = "Configures if ogre bellow item charge is shown", description = "Configures if ogre bellow item charge is shown",
position = 12 position = 12,
section = chargesSection
) )
default boolean showBellowCharges() default boolean showBellowCharges()
{ {
@@ -187,7 +210,8 @@ public interface ItemChargeConfig extends Config
keyName = "showBasketCharges", keyName = "showBasketCharges",
name = "Show Basket Charges", name = "Show Basket Charges",
description = "Configures if fruit basket item charge is shown", description = "Configures if fruit basket item charge is shown",
position = 13 position = 13,
section = chargesSection
) )
default boolean showBasketCharges() default boolean showBasketCharges()
{ {
@@ -198,7 +222,8 @@ public interface ItemChargeConfig extends Config
keyName = "showSackCharges", keyName = "showSackCharges",
name = "Show Sack Charges", name = "Show Sack Charges",
description = "Configures if sack item charge is shown", description = "Configures if sack item charge is shown",
position = 14 position = 14,
section = chargesSection
) )
default boolean showSackCharges() default boolean showSackCharges()
{ {
@@ -209,7 +234,8 @@ public interface ItemChargeConfig extends Config
keyName = "showAbyssalBraceletCharges", keyName = "showAbyssalBraceletCharges",
name = "Show Abyssal Bracelet Charges", name = "Show Abyssal Bracelet Charges",
description = "Configures if abyssal bracelet item charge is shown", description = "Configures if abyssal bracelet item charge is shown",
position = 15 position = 15,
section = chargesSection
) )
default boolean showAbyssalBraceletCharges() default boolean showAbyssalBraceletCharges()
{ {
@@ -220,7 +246,8 @@ public interface ItemChargeConfig extends Config
keyName = "showAmuletOfChemistryCharges", keyName = "showAmuletOfChemistryCharges",
name = "Show Amulet of Chemistry Charges", name = "Show Amulet of Chemistry Charges",
description = "Configures if amulet of chemistry item charge is shown", description = "Configures if amulet of chemistry item charge is shown",
position = 16 position = 16,
section = chargesSection
) )
default boolean showAmuletOfChemistryCharges() default boolean showAmuletOfChemistryCharges()
{ {
@@ -249,7 +276,8 @@ public interface ItemChargeConfig extends Config
keyName = "showAmuletOfBountyCharges", keyName = "showAmuletOfBountyCharges",
name = "Show Amulet of Bounty Charges", name = "Show Amulet of Bounty Charges",
description = "Configures if amulet of bounty item charge is shown", description = "Configures if amulet of bounty item charge is shown",
position = 17 position = 17,
section = chargesSection
) )
default boolean showAmuletOfBountyCharges() default boolean showAmuletOfBountyCharges()
{ {
@@ -278,7 +306,8 @@ public interface ItemChargeConfig extends Config
keyName = "recoilNotification", keyName = "recoilNotification",
name = "Ring of Recoil Notification", name = "Ring of Recoil Notification",
description = "Configures if the ring of recoil breaking notification is shown", description = "Configures if the ring of recoil breaking notification is shown",
position = 18 position = 18,
section = notificationSection
) )
default boolean recoilNotification() default boolean recoilNotification()
{ {
@@ -289,7 +318,8 @@ public interface ItemChargeConfig extends Config
keyName = "showBindingNecklaceCharges", keyName = "showBindingNecklaceCharges",
name = "Show Binding Necklace Charges", name = "Show Binding Necklace Charges",
description = "Configures if binding necklace item charge is shown", description = "Configures if binding necklace item charge is shown",
position = 19 position = 19,
section = chargesSection
) )
default boolean showBindingNecklaceCharges() default boolean showBindingNecklaceCharges()
{ {
@@ -318,7 +348,8 @@ public interface ItemChargeConfig extends Config
keyName = "bindingNotification", keyName = "bindingNotification",
name = "Binding Necklace Notification", name = "Binding Necklace Notification",
description = "Configures if the binding necklace breaking notification is shown", description = "Configures if the binding necklace breaking notification is shown",
position = 20 position = 20,
section = notificationSection
) )
default boolean bindingNotification() default boolean bindingNotification()
{ {
@@ -329,7 +360,8 @@ public interface ItemChargeConfig extends Config
keyName = "showExplorerRingCharges", keyName = "showExplorerRingCharges",
name = "Show Explorer's Ring Alch Charges", name = "Show Explorer's Ring Alch Charges",
description = "Configures if explorer's ring alchemy charges are shown", description = "Configures if explorer's ring alchemy charges are shown",
position = 21 position = 21,
section = chargesSection
) )
default boolean showExplorerRingCharges() default boolean showExplorerRingCharges()
{ {
@@ -358,7 +390,8 @@ public interface ItemChargeConfig extends Config
keyName = "showRingOfForgingCount", keyName = "showRingOfForgingCount",
name = "Show Ring of Forging Charges", name = "Show Ring of Forging Charges",
description = "Configures if the Ring of Forging charge count is shown", description = "Configures if the Ring of Forging charge count is shown",
position = 22 position = 22,
section = chargesSection
) )
default boolean showRingOfForgingCount() default boolean showRingOfForgingCount()
{ {
@@ -387,7 +420,8 @@ public interface ItemChargeConfig extends Config
keyName = "ringOfForgingNotification", keyName = "ringOfForgingNotification",
name = "Ring of Forging Notification", name = "Ring of Forging Notification",
description = "Configures if the Ring of Forging breaking notification is enabled", description = "Configures if the Ring of Forging breaking notification is enabled",
position = 23 position = 23,
section = notificationSection
) )
default boolean ringOfForgingNotification() default boolean ringOfForgingNotification()
{ {
@@ -409,7 +443,8 @@ public interface ItemChargeConfig extends Config
keyName = "showPotionDoseCount", keyName = "showPotionDoseCount",
name = "Show Potion Doses", name = "Show Potion Doses",
description = "Configures if potion doses are shown", description = "Configures if potion doses are shown",
position = 25 position = 25,
section = chargesSection
) )
default boolean showPotionDoseCount() default boolean showPotionDoseCount()
{ {

View File

@@ -28,10 +28,18 @@ import java.awt.Color;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("itemidentification") @ConfigGroup("itemidentification")
public interface ItemIdentificationConfig extends Config public interface ItemIdentificationConfig extends Config
{ {
@ConfigSection(
name = "Categories",
description = "The categories of items to identify",
position = 99
)
String identificationSection = "identification";
@ConfigItem( @ConfigItem(
keyName = "identificationType", keyName = "identificationType",
name = "Identification Type", name = "Identification Type",
@@ -57,7 +65,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showSeeds", keyName = "showSeeds",
name = "Seeds", name = "Seeds",
description = "Show identification on Seeds" description = "Show identification on Seeds",
section = identificationSection
) )
default boolean showSeeds() default boolean showSeeds()
{ {
@@ -67,7 +76,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showHerbs", keyName = "showHerbs",
name = "Herbs", name = "Herbs",
description = "Show identification on Herbs" description = "Show identification on Herbs",
section = identificationSection
) )
default boolean showHerbs() default boolean showHerbs()
{ {
@@ -77,7 +87,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showSaplings", keyName = "showSaplings",
name = "Saplings", name = "Saplings",
description = "Show identification on Saplings and Seedlings" description = "Show identification on Saplings and Seedlings",
section = identificationSection
) )
default boolean showSaplings() default boolean showSaplings()
{ {
@@ -87,7 +98,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showOres", keyName = "showOres",
name = "Ores", name = "Ores",
description = "Show identification on Ores" description = "Show identification on Ores",
section = identificationSection
) )
default boolean showOres() default boolean showOres()
{ {
@@ -97,7 +109,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showGems", keyName = "showGems",
name = "Gems", name = "Gems",
description = "Show identification on Gems" description = "Show identification on Gems",
section = identificationSection
) )
default boolean showGems() default boolean showGems()
{ {
@@ -107,7 +120,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showPotions", keyName = "showPotions",
name = "Potions", name = "Potions",
description = "Show identification on Potions" description = "Show identification on Potions",
section = identificationSection
) )
default boolean showPotions() default boolean showPotions()
{ {
@@ -117,7 +131,8 @@ public interface ItemIdentificationConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "showImplingJars", keyName = "showImplingJars",
name = "Impling jars", name = "Impling jars",
description = "Show identification on Impling jars" description = "Show identification on Impling jars",
section = identificationSection
) )
default boolean showImplingJars() default boolean showImplingJars()
{ {

View File

@@ -28,16 +28,32 @@ import java.awt.event.KeyEvent;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
import net.runelite.client.config.ModifierlessKeybind; import net.runelite.client.config.ModifierlessKeybind;
@ConfigGroup("keyremapping") @ConfigGroup("keyremapping")
public interface KeyRemappingConfig extends Config public interface KeyRemappingConfig extends Config
{ {
@ConfigSection(
name = "Camera Remapping",
description = "Settings for remapping the camera",
position = 0
)
String cameraSection = "camera";
@ConfigSection(
name = "F Key Remapping",
description = "Settings for remapping the F Keys",
position = 1
)
String fKeySection = "fKeys";
@ConfigItem( @ConfigItem(
position = 1, position = 1,
keyName = "cameraRemap", keyName = "cameraRemap",
name = "Remap Camera", name = "Remap Camera",
description = "Configures whether the camera movement uses remapped keys" description = "Configures whether the camera movement uses remapped keys",
section = cameraSection
) )
default boolean cameraRemap() default boolean cameraRemap()
{ {
@@ -48,7 +64,8 @@ public interface KeyRemappingConfig extends Config
position = 2, position = 2,
keyName = "up", keyName = "up",
name = "Camera Up key", name = "Camera Up key",
description = "The key which will replace up." description = "The key which will replace up.",
section = cameraSection
) )
default ModifierlessKeybind up() default ModifierlessKeybind up()
{ {
@@ -59,7 +76,8 @@ public interface KeyRemappingConfig extends Config
position = 3, position = 3,
keyName = "down", keyName = "down",
name = "Camera Down key", name = "Camera Down key",
description = "The key which will replace down." description = "The key which will replace down.",
section = cameraSection
) )
default ModifierlessKeybind down() default ModifierlessKeybind down()
{ {
@@ -70,7 +88,8 @@ public interface KeyRemappingConfig extends Config
position = 4, position = 4,
keyName = "left", keyName = "left",
name = "Camera Left key", name = "Camera Left key",
description = "The key which will replace left." description = "The key which will replace left.",
section = cameraSection
) )
default ModifierlessKeybind left() default ModifierlessKeybind left()
{ {
@@ -81,7 +100,8 @@ public interface KeyRemappingConfig extends Config
position = 5, position = 5,
keyName = "right", keyName = "right",
name = "Camera Right key", name = "Camera Right key",
description = "The key which will replace right." description = "The key which will replace right.",
section = cameraSection
) )
default ModifierlessKeybind right() default ModifierlessKeybind right()
{ {
@@ -92,7 +112,8 @@ public interface KeyRemappingConfig extends Config
position = 6, position = 6,
keyName = "fkeyRemap", keyName = "fkeyRemap",
name = "Remap F Keys", name = "Remap F Keys",
description = "Configures whether F-Keys use remapped keys" description = "Configures whether F-Keys use remapped keys",
section = fKeySection
) )
default boolean fkeyRemap() default boolean fkeyRemap()
{ {
@@ -103,7 +124,8 @@ public interface KeyRemappingConfig extends Config
position = 7, position = 7,
keyName = "f1", keyName = "f1",
name = "F1", name = "F1",
description = "The key which will replace {F1}." description = "The key which will replace {F1}.",
section = fKeySection
) )
default ModifierlessKeybind f1() default ModifierlessKeybind f1()
{ {
@@ -114,7 +136,8 @@ public interface KeyRemappingConfig extends Config
position = 8, position = 8,
keyName = "f2", keyName = "f2",
name = "F2", name = "F2",
description = "The key which will replace {F2}." description = "The key which will replace {F2}.",
section = fKeySection
) )
default ModifierlessKeybind f2() default ModifierlessKeybind f2()
{ {
@@ -125,7 +148,8 @@ public interface KeyRemappingConfig extends Config
position = 9, position = 9,
keyName = "f3", keyName = "f3",
name = "F3", name = "F3",
description = "The key which will replace {F3}." description = "The key which will replace {F3}.",
section = fKeySection
) )
default ModifierlessKeybind f3() default ModifierlessKeybind f3()
{ {
@@ -136,7 +160,8 @@ public interface KeyRemappingConfig extends Config
position = 10, position = 10,
keyName = "f4", keyName = "f4",
name = "F4", name = "F4",
description = "The key which will replace {F4}." description = "The key which will replace {F4}.",
section = fKeySection
) )
default ModifierlessKeybind f4() default ModifierlessKeybind f4()
{ {
@@ -147,7 +172,8 @@ public interface KeyRemappingConfig extends Config
position = 11, position = 11,
keyName = "f5", keyName = "f5",
name = "F5", name = "F5",
description = "The key which will replace {F5}." description = "The key which will replace {F5}.",
section = fKeySection
) )
default ModifierlessKeybind f5() default ModifierlessKeybind f5()
{ {
@@ -158,7 +184,8 @@ public interface KeyRemappingConfig extends Config
position = 12, position = 12,
keyName = "f6", keyName = "f6",
name = "F6", name = "F6",
description = "The key which will replace {F6}." description = "The key which will replace {F6}.",
section = fKeySection
) )
default ModifierlessKeybind f6() default ModifierlessKeybind f6()
{ {
@@ -169,7 +196,8 @@ public interface KeyRemappingConfig extends Config
position = 13, position = 13,
keyName = "f7", keyName = "f7",
name = "F7", name = "F7",
description = "The key which will replace {F7}." description = "The key which will replace {F7}.",
section = fKeySection
) )
default ModifierlessKeybind f7() default ModifierlessKeybind f7()
{ {
@@ -180,7 +208,8 @@ public interface KeyRemappingConfig extends Config
position = 14, position = 14,
keyName = "f8", keyName = "f8",
name = "F8", name = "F8",
description = "The key which will replace {F8}." description = "The key which will replace {F8}.",
section = fKeySection
) )
default ModifierlessKeybind f8() default ModifierlessKeybind f8()
{ {
@@ -191,7 +220,8 @@ public interface KeyRemappingConfig extends Config
position = 15, position = 15,
keyName = "f9", keyName = "f9",
name = "F9", name = "F9",
description = "The key which will replace {F9}." description = "The key which will replace {F9}.",
section = fKeySection
) )
default ModifierlessKeybind f9() default ModifierlessKeybind f9()
{ {
@@ -202,7 +232,8 @@ public interface KeyRemappingConfig extends Config
position = 16, position = 16,
keyName = "f10", keyName = "f10",
name = "F10", name = "F10",
description = "The key which will replace {F10}." description = "The key which will replace {F10}.",
section = fKeySection
) )
default ModifierlessKeybind f10() default ModifierlessKeybind f10()
{ {
@@ -213,7 +244,8 @@ public interface KeyRemappingConfig extends Config
position = 17, position = 17,
keyName = "f11", keyName = "f11",
name = "F11", name = "F11",
description = "The key which will replace {F11}." description = "The key which will replace {F11}.",
section = fKeySection
) )
default ModifierlessKeybind f11() default ModifierlessKeybind f11()
{ {
@@ -224,7 +256,8 @@ public interface KeyRemappingConfig extends Config
position = 18, position = 18,
keyName = "f12", keyName = "f12",
name = "F12", name = "F12",
description = "The key which will replace {F12}." description = "The key which will replace {F12}.",
section = fKeySection
) )
default ModifierlessKeybind f12() default ModifierlessKeybind f12()
{ {
@@ -235,7 +268,8 @@ public interface KeyRemappingConfig extends Config
position = 19, position = 19,
keyName = "esc", keyName = "esc",
name = "ESC", name = "ESC",
description = "The key which will replace {ESC}." description = "The key which will replace {ESC}.",
section = fKeySection
) )
default ModifierlessKeybind esc() default ModifierlessKeybind esc()
{ {

View File

@@ -28,14 +28,24 @@ package net.runelite.client.plugins.loottracker;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("loottracker") @ConfigGroup("loottracker")
public interface LootTrackerConfig extends Config public interface LootTrackerConfig extends Config
{ {
@ConfigSection(
name = "Ignored Entries",
description = "The Ignore items and Ignore groups options",
position = -2,
closedByDefault = true
)
String ignored = "ignored";
@ConfigItem( @ConfigItem(
keyName = "ignoredItems", keyName = "ignoredItems",
name = "Ignored items", name = "Ignored items",
description = "Configures which items should be ignored when calculating loot prices." description = "Configures which items should be ignored when calculating loot prices.",
section = ignored
) )
default String getIgnoredItems() default String getIgnoredItems()
{ {
@@ -94,7 +104,8 @@ public interface LootTrackerConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "ignoredEvents", keyName = "ignoredEvents",
name = "Ignored Loot Sources", name = "Ignored Loot Sources",
description = "Hide specific NPCs or sources of loot in the loot tracker (e.g., Goblin, Barrows Chest, H.A.M. Member)." description = "Hide specific NPCs or sources of loot in the loot tracker (e.g., Goblin, Barrows Chest, H.A.M. Member).",
section = ignored
) )
default String getIgnoredEvents() default String getIgnoredEvents()
{ {

View File

@@ -27,15 +27,49 @@ package net.runelite.client.plugins.menuentryswapper;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("menuentryswapper") @ConfigGroup("menuentryswapper")
public interface MenuEntrySwapperConfig extends Config public interface MenuEntrySwapperConfig extends Config
{ {
@ConfigSection(
name = "Item Swaps",
description = "All options that swap item menu entries",
position = 0,
closedByDefault = true
)
String itemSection = "items";
@ConfigSection(
name = "NPC Swaps",
description = "All options that swap NPC menu entries",
position = 1,
closedByDefault = true
)
String npcSection = "npcs";
@ConfigSection(
name = "Object Swaps",
description = "All options that swap object menu entries",
position = 2,
closedByDefault = true
)
String objectSection = "objects";
@ConfigSection(
name = "UI Swaps",
description = "All options that swap entries in the UI (except Items)",
position = 3,
closedByDefault = true
)
String uiSection = "ui";
@ConfigItem( @ConfigItem(
position = -2, position = -2,
keyName = "shiftClickCustomization", keyName = "shiftClickCustomization",
name = "Customizable shift-click", name = "Customizable shift-click",
description = "Allows customization of shift-clicks on items" description = "Allows customization of shift-clicks on items",
section = itemSection
) )
default boolean shiftClickCustomization() default boolean shiftClickCustomization()
{ {
@@ -45,7 +79,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapAdmire", keyName = "swapAdmire",
name = "Admire", name = "Admire",
description = "Swap Admire with Teleport, Spellbook and Perks (max cape) for mounted skill capes." description = "Swap Admire with Teleport, Spellbook and Perks (max cape) for mounted skill capes.",
section = objectSection
) )
default boolean swapAdmire() default boolean swapAdmire()
{ {
@@ -55,7 +90,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapAssignment", keyName = "swapAssignment",
name = "Assignment", name = "Assignment",
description = "Swap Talk-to with Assignment for Slayer Masters. This will take priority over swapping Trade." description = "Swap Talk-to with Assignment for Slayer Masters. This will take priority over swapping Trade.",
section = npcSection
) )
default boolean swapAssignment() default boolean swapAssignment()
{ {
@@ -65,7 +101,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapBanker", keyName = "swapBanker",
name = "Bank", name = "Bank",
description = "Swap Talk-to with Bank on Bank NPC<br>Example: Banker" description = "Swap Talk-to with Bank on Bank NPC<br>Example: Banker",
section = npcSection
) )
default boolean swapBank() default boolean swapBank()
{ {
@@ -75,7 +112,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapBirdhouseEmpty", keyName = "swapBirdhouseEmpty",
name = "Birdhouse", name = "Birdhouse",
description = "Swap Interact with Empty for birdhouses on Fossil Island" description = "Swap Interact with Empty for birdhouses on Fossil Island",
section = objectSection
) )
default boolean swapBirdhouseEmpty() default boolean swapBirdhouseEmpty()
{ {
@@ -85,7 +123,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapBones", keyName = "swapBones",
name = "Bury", name = "Bury",
description = "Swap Bury with Use on Bones" description = "Swap Bury with Use on Bones",
section = itemSection
) )
default boolean swapBones() default boolean swapBones()
{ {
@@ -95,7 +134,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapContract", keyName = "swapContract",
name = "Contract", name = "Contract",
description = "Swap Talk-to with Contract on Guildmaster Jane" description = "Swap Talk-to with Contract on Guildmaster Jane",
section = npcSection
) )
default boolean swapContract() default boolean swapContract()
{ {
@@ -105,7 +145,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapChase", keyName = "swapChase",
name = "Chase", name = "Chase",
description = "Allows to left click your cat to chase" description = "Allows to left click your cat to chase",
section = npcSection
) )
default boolean swapChase() default boolean swapChase()
{ {
@@ -115,7 +156,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "claimSlime", keyName = "claimSlime",
name = "Claim Slime", name = "Claim Slime",
description = "Swap Talk-to with Claim Slime from Morytania diaries" description = "Swap Talk-to with Claim Slime from Morytania diaries",
section = npcSection
) )
default boolean claimSlime() default boolean claimSlime()
{ {
@@ -125,7 +167,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapDarkMage", keyName = "swapDarkMage",
name = "Repairs", name = "Repairs",
description = "Swap Talk-to with Repairs for Dark Mage" description = "Swap Talk-to with Repairs for Dark Mage",
section = npcSection
) )
default boolean swapDarkMage() default boolean swapDarkMage()
{ {
@@ -135,7 +178,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapCaptainKhaled", keyName = "swapCaptainKhaled",
name = "Task", name = "Task",
description = "Swap Talk-to with Task for Captain Khaled in Port Piscarilius" description = "Swap Talk-to with Task for Captain Khaled in Port Piscarilius",
section = npcSection
) )
default boolean swapCaptainKhaled() default boolean swapCaptainKhaled()
{ {
@@ -145,7 +189,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapDecant", keyName = "swapDecant",
name = "Decant", name = "Decant",
description = "Swap Talk-to with Decant for Bob Barter and Murky Matt at the Grand Exchange." description = "Swap Talk-to with Decant for Bob Barter and Murky Matt at the Grand Exchange.",
section = npcSection
) )
default boolean swapDecant() default boolean swapDecant()
{ {
@@ -155,7 +200,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapExchange", keyName = "swapExchange",
name = "Exchange", name = "Exchange",
description = "Swap Talk-to with Exchange on NPC<br>Example: Grand Exchange Clerk, Tool Leprechaun, Void Knight" description = "Swap Talk-to with Exchange on NPC<br>Example: Grand Exchange Clerk, Tool Leprechaun, Void Knight",
section = npcSection
) )
default boolean swapExchange() default boolean swapExchange()
{ {
@@ -165,7 +211,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapFairyRing", keyName = "swapFairyRing",
name = "Fairy ring", name = "Fairy ring",
description = "Swap Zanaris with Last-destination or Configure on Fairy rings" description = "Swap Zanaris with Last-destination or Configure on Fairy rings",
section = objectSection
) )
default FairyRingMode swapFairyRing() default FairyRingMode swapFairyRing()
{ {
@@ -185,7 +232,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapHarpoon", keyName = "swapHarpoon",
name = "Harpoon", name = "Harpoon",
description = "Swap Cage, Big Net with Harpoon on Fishing spot" description = "Swap Cage, Big Net with Harpoon on Fishing spot",
section = objectSection
) )
default boolean swapHarpoon() default boolean swapHarpoon()
{ {
@@ -195,7 +243,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapHelp", keyName = "swapHelp",
name = "Help", name = "Help",
description = "Swap Talk-to with Help on Arceuus library customers" description = "Swap Talk-to with Help on Arceuus library customers",
section = npcSection
) )
default boolean swapHelp() default boolean swapHelp()
{ {
@@ -205,7 +254,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapHomePortal", keyName = "swapHomePortal",
name = "Home", name = "Home",
description = "Swap Enter with Home or Build or Friend's house on Portal" description = "Swap Enter with Home or Build or Friend's house on Portal",
section = objectSection
) )
default HouseMode swapHomePortal() default HouseMode swapHomePortal()
{ {
@@ -215,7 +265,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapHouseAdvertisement", keyName = "swapHouseAdvertisement",
name = "House Advertisement", name = "House Advertisement",
description = "Swap View with Add-House or Visit-Last on House Advertisement board" description = "Swap View with Add-House or Visit-Last on House Advertisement board",
section = objectSection
) )
default HouseAdvertisementMode swapHouseAdvertisement() default HouseAdvertisementMode swapHouseAdvertisement()
{ {
@@ -225,7 +276,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapPay", keyName = "swapPay",
name = "Pay", name = "Pay",
description = "Swap Talk-to with Pay on NPC<br>Example: Elstan, Heskel, Fayeth" description = "Swap Talk-to with Pay on NPC<br>Example: Elstan, Heskel, Fayeth",
section = npcSection
) )
default boolean swapPay() default boolean swapPay()
{ {
@@ -235,7 +287,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapJewelleryBox", keyName = "swapJewelleryBox",
name = "Jewellery Box", name = "Jewellery Box",
description = "Swap Teleport Menu with previous destination on Jewellery Box" description = "Swap Teleport Menu with previous destination on Jewellery Box",
section = objectSection
) )
default boolean swapJewelleryBox() default boolean swapJewelleryBox()
{ {
@@ -245,7 +298,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapPrivate", keyName = "swapPrivate",
name = "Private", name = "Private",
description = "Swap Shared with Private on the Chambers of Xeric storage units." description = "Swap Shared with Private on the Chambers of Xeric storage units.",
section = objectSection
) )
default boolean swapPrivate() default boolean swapPrivate()
{ {
@@ -255,7 +309,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapPick", keyName = "swapPick",
name = "Pick", name = "Pick",
description = "Swap Pick with Pick-lots of the Gourd tree in the Chambers of Xeric" description = "Swap Pick with Pick-lots of the Gourd tree in the Chambers of Xeric",
section = objectSection
) )
default boolean swapPick() default boolean swapPick()
{ {
@@ -265,7 +320,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapQuick", keyName = "swapQuick",
name = "Quick Pass/Open/Start/Travel", name = "Quick Pass/Open/Start/Travel",
description = "Swap Pass with Quick-Pass, Open with Quick-Open, Ring with Quick-Start and Talk-to with Quick-Travel" description = "Swap Pass with Quick-Pass, Open with Quick-Open, Ring with Quick-Start and Talk-to with Quick-Travel",
section = objectSection
) )
default boolean swapQuick() default boolean swapQuick()
{ {
@@ -275,7 +331,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapBoxTrap", keyName = "swapBoxTrap",
name = "Reset", name = "Reset",
description = "Swap Check with Reset on box trap" description = "Swap Check with Reset on box trap",
section = objectSection
) )
default boolean swapBoxTrap() default boolean swapBoxTrap()
{ {
@@ -285,7 +342,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapTeleportItem", keyName = "swapTeleportItem",
name = "Teleport item", name = "Teleport item",
description = "Swap Wear, Wield with Rub, Teleport on teleport item<br>Example: Amulet of glory, Explorer's ring, Chronicle" description = "Swap Wear, Wield with Rub, Teleport on teleport item<br>Example: Amulet of glory, Explorer's ring, Chronicle",
section = itemSection
) )
default boolean swapTeleportItem() default boolean swapTeleportItem()
{ {
@@ -295,7 +353,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapAbyssTeleport", keyName = "swapAbyssTeleport",
name = "Teleport to Abyss", name = "Teleport to Abyss",
description = "Swap Talk-to with Teleport for the Mage of Zamorak" description = "Swap Talk-to with Teleport for the Mage of Zamorak",
section = npcSection
) )
default boolean swapAbyssTeleport() default boolean swapAbyssTeleport()
{ {
@@ -305,7 +364,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapTrade", keyName = "swapTrade",
name = "Trade", name = "Trade",
description = "Swap Talk-to with Trade on NPC<br>Example: Shop keeper, Shop assistant" description = "Swap Talk-to with Trade on NPC<br>Example: Shop keeper, Shop assistant",
section = npcSection
) )
default boolean swapTrade() default boolean swapTrade()
{ {
@@ -315,7 +375,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapTravel", keyName = "swapTravel",
name = "Travel", name = "Travel",
description = "Swap Talk-to with Travel, Take-boat, Pay-fare, Charter on NPC<br>Example: Squire, Monk of Entrana, Customs officer, Trader Crewmember" description = "Swap Talk-to with Travel, Take-boat, Pay-fare, Charter on NPC<br>Example: Squire, Monk of Entrana, Customs officer, Trader Crewmember",
section = npcSection
) )
default boolean swapTravel() default boolean swapTravel()
{ {
@@ -325,7 +386,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapEnchant", keyName = "swapEnchant",
name = "Enchant", name = "Enchant",
description = "Swap Talk-to with Enchant for Eluned" description = "Swap Talk-to with Enchant for Eluned",
section = npcSection
) )
default boolean swapEnchant() default boolean swapEnchant()
{ {
@@ -335,7 +397,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapTeleportSpell", keyName = "swapTeleportSpell",
name = "Shift-click teleport spells", name = "Shift-click teleport spells",
description = "Swap teleport spells that have a second destination on shift" description = "Swap teleport spells that have a second destination on shift",
section = uiSection
) )
default boolean swapTeleportSpell() default boolean swapTeleportSpell()
{ {
@@ -345,7 +408,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapStartMinigame", keyName = "swapStartMinigame",
name = "Pyramid Plunder Start-minigame", name = "Pyramid Plunder Start-minigame",
description = "Swap Talk-to with Start-minigame at the Guardian Mummy" description = "Swap Talk-to with Start-minigame at the Guardian Mummy",
section = npcSection
) )
default boolean swapStartMinigame() default boolean swapStartMinigame()
{ {
@@ -355,7 +419,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapQuickleave", keyName = "swapQuickleave",
name = "Quick-Leave", name = "Quick-Leave",
description = "Swap Leave Tomb with Quick-Leave at Pyramid Plunder" description = "Swap Leave Tomb with Quick-Leave at Pyramid Plunder",
section = objectSection
) )
default boolean swapQuickLeave() default boolean swapQuickLeave()
{ {
@@ -365,7 +430,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapGEItemCollect", keyName = "swapGEItemCollect",
name = "GE Item Collect", name = "GE Item Collect",
description = "Swap Collect-notes, Collect-items, or Bank options from GE offer" description = "Swap Collect-notes, Collect-items, or Bank options from GE offer",
section = uiSection
) )
default GEItemCollectMode swapGEItemCollect() default GEItemCollectMode swapGEItemCollect()
{ {
@@ -376,6 +442,8 @@ public interface MenuEntrySwapperConfig extends Config
keyName = "swapGEAbort", keyName = "swapGEAbort",
name = "GE Abort", name = "GE Abort",
description = "Swap abort offer on Grand Exchange offers when shift-clicking" description = "Swap abort offer on Grand Exchange offers when shift-clicking"
,
section = uiSection
) )
default boolean swapGEAbort() default boolean swapGEAbort()
{ {
@@ -385,7 +453,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapNpcContact", keyName = "swapNpcContact",
name = "NPC Contact", name = "NPC Contact",
description = "Swap NPC Contact with last contacted NPC when shift-clicking" description = "Swap NPC Contact with last contacted NPC when shift-clicking",
section = uiSection
) )
default boolean swapNpcContact() default boolean swapNpcContact()
{ {
@@ -395,7 +464,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "bankWithdrawShiftClick", keyName = "bankWithdrawShiftClick",
name = "Bank Withdraw Shift-Click", name = "Bank Withdraw Shift-Click",
description = "Swaps the behavior of shift-click when withdrawing from bank." description = "Swaps the behavior of shift-click when withdrawing from bank.",
section = itemSection
) )
default ShiftWithdrawMode bankWithdrawShiftClick() default ShiftWithdrawMode bankWithdrawShiftClick()
{ {
@@ -405,7 +475,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "bankDepositShiftClick", keyName = "bankDepositShiftClick",
name = "Bank Deposit Shift-Click", name = "Bank Deposit Shift-Click",
description = "Swaps the behavior of shift-click when depositing to bank." description = "Swaps the behavior of shift-click when depositing to bank.",
section = itemSection
) )
default ShiftDepositMode bankDepositShiftClick() default ShiftDepositMode bankDepositShiftClick()
{ {
@@ -415,7 +486,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "shopBuy", keyName = "shopBuy",
name = "Shop Buy Shift-Click", name = "Shop Buy Shift-Click",
description = "Swaps the Buy options with Value on items in shops when shift is held." description = "Swaps the Buy options with Value on items in shops when shift is held.",
section = uiSection
) )
default BuyMode shopBuy() default BuyMode shopBuy()
{ {
@@ -425,7 +497,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "shopSell", keyName = "shopSell",
name = "Shop Sell Shift-Click", name = "Shop Sell Shift-Click",
description = "Swaps the Sell options with Value on items in your inventory when selling to shops when shift is held." description = "Swaps the Sell options with Value on items in your inventory when selling to shops when shift is held.",
section = uiSection
) )
default SellMode shopSell() default SellMode shopSell()
{ {
@@ -435,7 +508,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapEssenceMineTeleport", keyName = "swapEssenceMineTeleport",
name = "Essence Mine Teleport", name = "Essence Mine Teleport",
description = "Swaps Talk-To with Teleport for NPCs which teleport you to the essence mine" description = "Swaps Talk-To with Teleport for NPCs which teleport you to the essence mine",
section = npcSection
) )
default boolean swapEssenceMineTeleport() default boolean swapEssenceMineTeleport()
{ {
@@ -445,7 +519,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapNets", keyName = "swapNets",
name = "Nets", name = "Nets",
description = "Swap Talk-to with Nets on Annette" description = "Swap Talk-to with Nets on Annette",
section = npcSection
) )
default boolean swapNets() default boolean swapNets()
{ {
@@ -455,7 +530,8 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
keyName = "swapGauntlet", keyName = "swapGauntlet",
name = "Corrupted Gauntlet", name = "Corrupted Gauntlet",
description = "Swap Enter with Enter-corrupted when entering The Gauntlet" description = "Swap Enter with Enter-corrupted when entering The Gauntlet",
section = objectSection
) )
default boolean swapGauntlet() default boolean swapGauntlet()
{ {

View File

@@ -28,15 +28,24 @@ import java.awt.Color;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("playerindicators") @ConfigGroup("playerindicators")
public interface PlayerIndicatorsConfig extends Config public interface PlayerIndicatorsConfig extends Config
{ {
@ConfigSection(
name = "Highlight Options",
description = "Toggle highlighted players by type (self, friends, etc.) and choose their highlight colors",
position = 99
)
String highlightSection = "section";
@ConfigItem( @ConfigItem(
position = 0, position = 0,
keyName = "drawOwnName", keyName = "drawOwnName",
name = "Highlight own player", name = "Highlight own player",
description = "Configures whether or not your own player should be highlighted" description = "Configures whether or not your own player should be highlighted",
section = highlightSection
) )
default boolean highlightOwnPlayer() default boolean highlightOwnPlayer()
{ {
@@ -47,7 +56,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 1, position = 1,
keyName = "ownNameColor", keyName = "ownNameColor",
name = "Own player color", name = "Own player color",
description = "Color of your own player" description = "Color of your own player",
section = highlightSection
) )
default Color getOwnPlayerColor() default Color getOwnPlayerColor()
{ {
@@ -58,7 +68,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 2, position = 2,
keyName = "drawFriendNames", keyName = "drawFriendNames",
name = "Highlight friends", name = "Highlight friends",
description = "Configures whether or not friends should be highlighted" description = "Configures whether or not friends should be highlighted",
section = highlightSection
) )
default boolean highlightFriends() default boolean highlightFriends()
{ {
@@ -69,7 +80,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 3, position = 3,
keyName = "friendNameColor", keyName = "friendNameColor",
name = "Friend color", name = "Friend color",
description = "Color of friend names" description = "Color of friend names",
section = highlightSection
) )
default Color getFriendColor() default Color getFriendColor()
{ {
@@ -80,7 +92,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 4, position = 4,
keyName = "drawClanMemberNames", keyName = "drawClanMemberNames",
name = "Highlight clan members", name = "Highlight clan members",
description = "Configures whether or clan members should be highlighted" description = "Configures whether or clan members should be highlighted",
section = highlightSection
) )
default boolean drawClanMemberNames() default boolean drawClanMemberNames()
{ {
@@ -91,7 +104,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 5, position = 5,
keyName = "clanMemberColor", keyName = "clanMemberColor",
name = "Clan member color", name = "Clan member color",
description = "Color of clan members" description = "Color of clan members",
section = highlightSection
) )
default Color getClanMemberColor() default Color getClanMemberColor()
{ {
@@ -102,7 +116,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 6, position = 6,
keyName = "drawTeamMemberNames", keyName = "drawTeamMemberNames",
name = "Highlight team members", name = "Highlight team members",
description = "Configures whether or not team members should be highlighted" description = "Configures whether or not team members should be highlighted",
section = highlightSection
) )
default boolean highlightTeamMembers() default boolean highlightTeamMembers()
{ {
@@ -113,7 +128,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 7, position = 7,
keyName = "teamMemberColor", keyName = "teamMemberColor",
name = "Team member color", name = "Team member color",
description = "Color of team members" description = "Color of team members",
section = highlightSection
) )
default Color getTeamMemberColor() default Color getTeamMemberColor()
{ {
@@ -124,7 +140,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 8, position = 8,
keyName = "drawNonClanMemberNames", keyName = "drawNonClanMemberNames",
name = "Highlight non-clan members", name = "Highlight non-clan members",
description = "Configures whether or not non-clan members should be highlighted" description = "Configures whether or not non-clan members should be highlighted",
section = highlightSection
) )
default boolean highlightNonClanMembers() default boolean highlightNonClanMembers()
{ {
@@ -135,7 +152,8 @@ public interface PlayerIndicatorsConfig extends Config
position = 9, position = 9,
keyName = "nonClanMemberColor", keyName = "nonClanMemberColor",
name = "Non-clan member color", name = "Non-clan member color",
description = "Color of non-clan member names" description = "Color of non-clan member names",
section = highlightSection
) )
default Color getNonClanMemberColor() default Color getNonClanMemberColor()
{ {

View File

@@ -28,10 +28,18 @@ package net.runelite.client.plugins.randomevents;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("randomevents") @ConfigGroup("randomevents")
public interface RandomEventConfig extends Config public interface RandomEventConfig extends Config
{ {
@ConfigSection(
name = "Notification Settings",
description = "Choose which random events will trigger notifications when spawned",
position = 99
)
String notificationSection = "section";
@ConfigItem( @ConfigItem(
keyName = "removeMenuOptions", keyName = "removeMenuOptions",
name = "Remove others' menu options", name = "Remove others' menu options",
@@ -47,7 +55,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyDunce", keyName = "notifyDunce",
name = "Notify on Surprise Exam", name = "Notify on Surprise Exam",
description = "", description = "",
position = 1 position = 1,
section = notificationSection
) )
default boolean notifyDunce() default boolean notifyDunce()
{ {
@@ -58,7 +67,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyGenie", keyName = "notifyGenie",
name = "Notify on Genie", name = "Notify on Genie",
description = "", description = "",
position = 2 position = 2,
section = notificationSection
) )
default boolean notifyGenie() default boolean notifyGenie()
{ {
@@ -69,7 +79,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyDemon", keyName = "notifyDemon",
name = "Notify on Drill Demon", name = "Notify on Drill Demon",
description = "", description = "",
position = 3 position = 3,
section = notificationSection
) )
default boolean notifyDemon() default boolean notifyDemon()
{ {
@@ -80,7 +91,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyForester", keyName = "notifyForester",
name = "Notify on Freaky Forester", name = "Notify on Freaky Forester",
description = "", description = "",
position = 4 position = 4,
section = notificationSection
) )
default boolean notifyForester() default boolean notifyForester()
{ {
@@ -91,7 +103,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyFrog", keyName = "notifyFrog",
name = "Notify on Kiss the Frog", name = "Notify on Kiss the Frog",
description = "", description = "",
position = 5 position = 5,
section = notificationSection
) )
default boolean notifyFrog() default boolean notifyFrog()
{ {
@@ -102,7 +115,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyGravedigger", keyName = "notifyGravedigger",
name = "Notify on Gravedigger", name = "Notify on Gravedigger",
description = "", description = "",
position = 6 position = 6,
section = notificationSection
) )
default boolean notifyGravedigger() default boolean notifyGravedigger()
{ {
@@ -113,7 +127,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyMoM", keyName = "notifyMoM",
name = "Notify on Mysterious Old Man", name = "Notify on Mysterious Old Man",
description = "", description = "",
position = 7 position = 7,
section = notificationSection
) )
default boolean notifyMoM() default boolean notifyMoM()
{ {
@@ -124,7 +139,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyBob", keyName = "notifyBob",
name = "Notify on Evil Bob", name = "Notify on Evil Bob",
description = "", description = "",
position = 8 position = 8,
section = notificationSection
) )
default boolean notifyBob() default boolean notifyBob()
{ {
@@ -135,7 +151,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyQuiz", keyName = "notifyQuiz",
name = "Notify on Quiz Master", name = "Notify on Quiz Master",
description = "", description = "",
position = 9 position = 9,
section = notificationSection
) )
default boolean notifyQuiz() default boolean notifyQuiz()
{ {
@@ -146,7 +163,8 @@ public interface RandomEventConfig extends Config
keyName = "notifyAll", keyName = "notifyAll",
name = "Notify for all events", name = "Notify for all events",
description = "", description = "",
position = 10 position = 10,
section = notificationSection
) )
default boolean notifyAllEvents() default boolean notifyAllEvents()
{ {

View File

@@ -28,26 +28,48 @@ package net.runelite.client.plugins.runecraft;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
@ConfigGroup("runecraft") @ConfigGroup("runecraft")
public interface RunecraftConfig extends Config public interface RunecraftConfig extends Config
{ {
@ConfigSection(
name = "Rift Settings",
description = "Abyss rift overlay settings",
position = 99
)
String riftSection = "rifts";
@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 position = 2,
section = riftSection
) )
default boolean showRifts() default boolean showRifts()
{ {
return true; return true;
} }
@ConfigItem(
keyName = "showClickBox",
name = "Show Rift click box",
description = "Configures whether to display the click box of the rift",
position = 3,
section = riftSection
)
default boolean showClickBox()
{
return true;
}
@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 position = 4,
section = riftSection
) )
default boolean showAir() default boolean showAir()
{ {
@@ -69,7 +91,8 @@ public interface RunecraftConfig extends Config
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 position = 6,
section = riftSection
) )
default boolean showBody() default boolean showBody()
{ {
@@ -80,7 +103,8 @@ public interface RunecraftConfig extends Config
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 position = 7,
section = riftSection
) )
default boolean showChaos() default boolean showChaos()
{ {
@@ -91,7 +115,8 @@ public interface RunecraftConfig extends Config
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 position = 8,
section = riftSection
) )
default boolean showCosmic() default boolean showCosmic()
{ {
@@ -102,7 +127,8 @@ public interface RunecraftConfig extends Config
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 position = 9,
section = riftSection
) )
default boolean showDeath() default boolean showDeath()
{ {
@@ -113,7 +139,8 @@ public interface RunecraftConfig extends Config
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 position = 10,
section = riftSection
) )
default boolean showEarth() default boolean showEarth()
{ {
@@ -124,7 +151,8 @@ public interface RunecraftConfig extends Config
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 position = 11,
section = riftSection
) )
default boolean showFire() default boolean showFire()
{ {
@@ -135,7 +163,8 @@ public interface RunecraftConfig extends Config
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 position = 12,
section = riftSection
) )
default boolean showLaw() default boolean showLaw()
{ {
@@ -146,7 +175,8 @@ public interface RunecraftConfig extends Config
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 position = 13,
section = riftSection
) )
default boolean showMind() default boolean showMind()
{ {
@@ -157,7 +187,8 @@ public interface RunecraftConfig extends Config
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 position = 14,
section = riftSection
) )
default boolean showNature() default boolean showNature()
{ {
@@ -168,7 +199,8 @@ public interface RunecraftConfig extends Config
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 position = 15,
section = riftSection
) )
default boolean showSoul() default boolean showSoul()
{ {
@@ -179,24 +211,14 @@ public interface RunecraftConfig extends Config
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 position = 16,
section = riftSection
) )
default boolean showWater() default boolean showWater()
{ {
return true; return true;
} }
@ConfigItem(
keyName = "showClickBox",
name = "Show Rift click box",
description = "Configures whether to display the click box of the rift",
position = 17
)
default boolean showClickBox()
{
return true;
}
@ConfigItem( @ConfigItem(
keyName = "hightlightDarkMage", keyName = "hightlightDarkMage",
name = "Highlight Dark Mage NPC", name = "Highlight Dark Mage NPC",

View File

@@ -27,12 +27,20 @@ package net.runelite.client.plugins.screenshot;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
import net.runelite.client.config.Keybind; import net.runelite.client.config.Keybind;
import net.runelite.client.util.ImageUploadStyle; import net.runelite.client.util.ImageUploadStyle;
@ConfigGroup("screenshot") @ConfigGroup("screenshot")
public interface ScreenshotConfig extends Config public interface ScreenshotConfig extends Config
{ {
@ConfigSection(
name = "What to Screenshot",
description = "All the options that select what to screenshot",
position = 99
)
String whatSection = "what";
@ConfigItem( @ConfigItem(
keyName = "includeFrame", keyName = "includeFrame",
name = "Include Client Frame", name = "Include Client Frame",
@@ -70,7 +78,8 @@ public interface ScreenshotConfig extends Config
keyName = "rewards", keyName = "rewards",
name = "Screenshot Rewards", name = "Screenshot Rewards",
description = "Configures whether screenshots are taken of clues, barrows, and quest completion", description = "Configures whether screenshots are taken of clues, barrows, and quest completion",
position = 3 position = 3,
section = whatSection
) )
default boolean screenshotRewards() default boolean screenshotRewards()
{ {
@@ -81,7 +90,8 @@ public interface ScreenshotConfig extends Config
keyName = "levels", keyName = "levels",
name = "Screenshot Levels", name = "Screenshot Levels",
description = "Configures whether screenshots are taken of level ups", description = "Configures whether screenshots are taken of level ups",
position = 4 position = 4,
section = whatSection
) )
default boolean screenshotLevels() default boolean screenshotLevels()
{ {
@@ -92,7 +102,8 @@ public interface ScreenshotConfig extends Config
keyName = "kingdom", keyName = "kingdom",
name = "Screenshot Kingdom Reward", name = "Screenshot Kingdom Reward",
description = "Configures whether screenshots are taken of Kingdom Reward", description = "Configures whether screenshots are taken of Kingdom Reward",
position = 5 position = 5,
section = whatSection
) )
default boolean screenshotKingdom() default boolean screenshotKingdom()
{ {
@@ -103,7 +114,8 @@ public interface ScreenshotConfig extends Config
keyName = "pets", keyName = "pets",
name = "Screenshot Pet", name = "Screenshot Pet",
description = "Configures whether screenshots are taken of receiving pets", description = "Configures whether screenshots are taken of receiving pets",
position = 6 position = 6,
section = whatSection
) )
default boolean screenshotPet() default boolean screenshotPet()
{ {
@@ -125,7 +137,8 @@ public interface ScreenshotConfig extends Config
keyName = "kills", keyName = "kills",
name = "Screenshot PvP Kills", name = "Screenshot PvP Kills",
description = "Configures whether or not screenshots are automatically taken of PvP kills", description = "Configures whether or not screenshots are automatically taken of PvP kills",
position = 8 position = 8,
section = whatSection
) )
default boolean screenshotKills() default boolean screenshotKills()
{ {
@@ -136,7 +149,8 @@ public interface ScreenshotConfig extends Config
keyName = "boss", keyName = "boss",
name = "Screenshot Boss Kills", name = "Screenshot Boss Kills",
description = "Configures whether or not screenshots are automatically taken of boss kills", description = "Configures whether or not screenshots are automatically taken of boss kills",
position = 9 position = 9,
section = whatSection
) )
default boolean screenshotBossKills() default boolean screenshotBossKills()
{ {
@@ -147,7 +161,8 @@ public interface ScreenshotConfig extends Config
keyName = "playerDeath", keyName = "playerDeath",
name = "Screenshot Deaths", name = "Screenshot Deaths",
description = "Configures whether or not screenshots are automatically taken when you die.", description = "Configures whether or not screenshots are automatically taken when you die.",
position = 10 position = 10,
section = whatSection
) )
default boolean screenshotPlayerDeath() default boolean screenshotPlayerDeath()
{ {
@@ -158,7 +173,8 @@ public interface ScreenshotConfig extends Config
keyName = "friendDeath", keyName = "friendDeath",
name = "Screenshot Friend Deaths", name = "Screenshot Friend Deaths",
description = "Configures whether or not screenshots are automatically taken when friends or clan members die.", description = "Configures whether or not screenshots are automatically taken when friends or clan members die.",
position = 11 position = 11,
section = whatSection
) )
default boolean screenshotFriendDeath() default boolean screenshotFriendDeath()
{ {
@@ -169,7 +185,8 @@ public interface ScreenshotConfig extends Config
keyName = "duels", keyName = "duels",
name = "Screenshot Duels", name = "Screenshot Duels",
description = "Configures whether or not screenshots are automatically taken of the duel end screen.", description = "Configures whether or not screenshots are automatically taken of the duel end screen.",
position = 12 position = 12,
section = whatSection
) )
default boolean screenshotDuels() default boolean screenshotDuels()
{ {
@@ -180,7 +197,8 @@ public interface ScreenshotConfig extends Config
keyName = "valuableDrop", keyName = "valuableDrop",
name = "Screenshot Valuable drops", name = "Screenshot Valuable drops",
description = "Configures whether or not screenshots are automatically taken when you receive a valuable drop.", description = "Configures whether or not screenshots are automatically taken when you receive a valuable drop.",
position = 13 position = 13,
section = whatSection
) )
default boolean screenshotValuableDrop() default boolean screenshotValuableDrop()
{ {
@@ -191,7 +209,8 @@ public interface ScreenshotConfig extends Config
keyName = "untradeableDrop", keyName = "untradeableDrop",
name = "Screenshot Untradeable drops", name = "Screenshot Untradeable drops",
description = "Configures whether or not screenshots are automatically taken when you receive an untradeable drop.", description = "Configures whether or not screenshots are automatically taken when you receive an untradeable drop.",
position = 14 position = 14,
section = whatSection
) )
default boolean screenshotUntradeableDrop() default boolean screenshotUntradeableDrop()
{ {
@@ -202,7 +221,8 @@ public interface ScreenshotConfig extends Config
keyName = "ccKick", keyName = "ccKick",
name = "Screenshot Kicks from CC", name = "Screenshot Kicks from CC",
description = "Take a screenshot when you kick a user from a clan chat.", description = "Take a screenshot when you kick a user from a clan chat.",
position = 15 position = 15,
section = whatSection
) )
default boolean screenshotCcKick() default boolean screenshotCcKick()
{ {

View File

@@ -28,11 +28,19 @@ package net.runelite.client.plugins.xptracker;
import net.runelite.client.config.Config; import net.runelite.client.config.Config;
import net.runelite.client.config.ConfigGroup; import net.runelite.client.config.ConfigGroup;
import net.runelite.client.config.ConfigItem; import net.runelite.client.config.ConfigItem;
import net.runelite.client.config.ConfigSection;
import net.runelite.client.config.Units; import net.runelite.client.config.Units;
@ConfigGroup("xpTracker") @ConfigGroup("xpTracker")
public interface XpTrackerConfig extends Config public interface XpTrackerConfig extends Config
{ {
@ConfigSection(
name = "Overlay",
description = "Canvas overlay options",
position = 99
)
String overlaySection = "overlay";
@ConfigItem( @ConfigItem(
position = 0, position = 0,
keyName = "hideMaxed", keyName = "hideMaxed",
@@ -82,7 +90,8 @@ public interface XpTrackerConfig extends Config
position = 4, position = 4,
keyName = "skillTabOverlayMenuOptions", keyName = "skillTabOverlayMenuOptions",
name = "Add skill tab canvas menu option", name = "Add skill tab canvas menu option",
description = "Configures whether a menu option to show/hide canvas XP trackers will be added to skills on the skill tab" description = "Configures whether a menu option to show/hide canvas XP trackers will be added to skills on the skill tab",
section = overlaySection
) )
default boolean skillTabOverlayMenuOptions() default boolean skillTabOverlayMenuOptions()
{ {
@@ -93,7 +102,8 @@ public interface XpTrackerConfig extends Config
position = 5, position = 5,
keyName = "onScreenDisplayMode", keyName = "onScreenDisplayMode",
name = "On-screen tracker display mode (top)", name = "On-screen tracker display mode (top)",
description = "Configures the information displayed in the first line of on-screen XP overlays" description = "Configures the information displayed in the first line of on-screen XP overlays",
section = overlaySection
) )
default XpPanelLabel onScreenDisplayMode() default XpPanelLabel onScreenDisplayMode()
{ {
@@ -104,7 +114,8 @@ public interface XpTrackerConfig extends Config
position = 6, position = 6,
keyName = "onScreenDisplayModeBottom", keyName = "onScreenDisplayModeBottom",
name = "On-screen tracker display mode (bottom)", name = "On-screen tracker display mode (bottom)",
description = "Configures the information displayed in the second line of on-screen XP overlays" description = "Configures the information displayed in the second line of on-screen XP overlays",
section = overlaySection
) )
default XpPanelLabel onScreenDisplayModeBottom() default XpPanelLabel onScreenDisplayModeBottom()
{ {