config: Rework sections and titles (#1618)
This commit is contained in:
@@ -24,38 +24,22 @@
|
||||
*/
|
||||
package net.runelite.client.config;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class ConfigDescriptor
|
||||
{
|
||||
private final ConfigGroup group;
|
||||
private final Collection<ConfigItemsGroup> itemGroups;
|
||||
private final Collection<ConfigSection> sections;
|
||||
private final Collection<ConfigTitleSection> titleSections;
|
||||
private final Collection<ConfigItemDescriptor> items;
|
||||
|
||||
public ConfigDescriptor(ConfigGroup group, Collection<ConfigItemsGroup> itemGroups)
|
||||
public ConfigDescriptor(ConfigGroup group, Collection<ConfigSection> sections, Collection<ConfigTitleSection> titleSections, Collection<ConfigItemDescriptor> items)
|
||||
{
|
||||
this.group = group;
|
||||
this.itemGroups = itemGroups;
|
||||
this.sections = sections;
|
||||
this.titleSections = titleSections;
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
public ConfigGroup getGroup()
|
||||
{
|
||||
return group;
|
||||
}
|
||||
|
||||
public Collection<ConfigItemsGroup> getItemGroups()
|
||||
{
|
||||
return itemGroups;
|
||||
}
|
||||
|
||||
public Collection<ConfigItemDescriptor> getItems()
|
||||
{
|
||||
Collection<ConfigItemDescriptor> allItems = new ArrayList<>();
|
||||
for (ConfigItemsGroup g : itemGroups)
|
||||
{
|
||||
allItems.addAll(g.getItems());
|
||||
}
|
||||
return allItems;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -47,7 +47,9 @@ public @interface ConfigItem
|
||||
|
||||
boolean secret() default false;
|
||||
|
||||
String group() default "";
|
||||
String section() default "";
|
||||
|
||||
String titleSection() default "";
|
||||
|
||||
String unhide() default "";
|
||||
|
||||
@@ -57,8 +59,6 @@ public @interface ConfigItem
|
||||
|
||||
String hideValue() default "";
|
||||
|
||||
String parent() default "";
|
||||
|
||||
String enabledBy() default "";
|
||||
|
||||
String enabledByValue() default "";
|
||||
|
||||
@@ -45,9 +45,7 @@ import java.nio.channels.FileLock;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.EnumSet;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -346,8 +344,26 @@ public class ConfigManager
|
||||
throw new IllegalArgumentException("Not a config group");
|
||||
}
|
||||
|
||||
final List<ConfigSection> sections = Arrays.stream(inter.getMethods())
|
||||
.filter(m -> m.getParameterCount() == 0 && m.isAnnotationPresent(ConfigSection.class) && m.getReturnType() == boolean.class)
|
||||
.map(m -> m.getDeclaredAnnotation(ConfigSection.class))
|
||||
.sorted((a, b) -> ComparisonChain.start()
|
||||
.compare(a.position(), b.position())
|
||||
.compare(a.name(), b.name())
|
||||
.result())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
final List<ConfigTitleSection> titleSections = Arrays.stream(inter.getMethods())
|
||||
.filter(m -> m.getParameterCount() == 0 && m.isAnnotationPresent(ConfigTitleSection.class))
|
||||
.map(m -> m.getDeclaredAnnotation(ConfigTitleSection.class))
|
||||
.sorted((a, b) -> ComparisonChain.start()
|
||||
.compare(a.position(), b.position())
|
||||
.compare(a.name(), b.name())
|
||||
.result())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
final List<ConfigItemDescriptor> items = Arrays.stream(inter.getMethods())
|
||||
.filter(m -> m.getParameterCount() == 0)
|
||||
.filter(m -> m.getParameterCount() == 0 && m.isAnnotationPresent(ConfigItem.class))
|
||||
.map(m -> new ConfigItemDescriptor(
|
||||
m.getDeclaredAnnotation(ConfigItem.class),
|
||||
m.getReturnType(),
|
||||
@@ -360,35 +376,7 @@ public class ConfigManager
|
||||
.result())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
Collection<ConfigItemsGroup> itemGroups = new ArrayList<>();
|
||||
|
||||
for (ConfigItemDescriptor item : items)
|
||||
{
|
||||
String groupName = item.getItem().group();
|
||||
boolean found = false;
|
||||
for (ConfigItemsGroup g : itemGroups)
|
||||
{
|
||||
if (g.getGroup().equals(groupName))
|
||||
{
|
||||
g.addItem(item);
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!found)
|
||||
{
|
||||
ConfigItemsGroup newGroup = new ConfigItemsGroup(groupName);
|
||||
newGroup.addItem(item);
|
||||
itemGroups.add(newGroup);
|
||||
}
|
||||
}
|
||||
|
||||
itemGroups = itemGroups.stream().sorted((a, b) -> ComparisonChain.start()
|
||||
.compare(a.getGroup(), b.getGroup())
|
||||
.result())
|
||||
.collect(Collectors.toList());
|
||||
|
||||
return new ConfigDescriptor(group, itemGroups);
|
||||
return new ConfigDescriptor(group, sections, titleSections, items);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -543,7 +531,7 @@ public class ConfigManager
|
||||
{
|
||||
return Arrays.stream(str.split(",")).mapToInt(Integer::valueOf).toArray();
|
||||
}
|
||||
return new int[] {Integer.parseInt(str)};
|
||||
return new int[]{Integer.parseInt(str)};
|
||||
}
|
||||
if (type == EnumSet.class)
|
||||
{
|
||||
|
||||
@@ -47,45 +47,4 @@ public class ConfigPanelItem
|
||||
this.children = new ArrayList<>();
|
||||
this.item = item;
|
||||
}
|
||||
|
||||
public List<ConfigPanelItem> getItemsAsList()
|
||||
{
|
||||
List<ConfigPanelItem> items = new ArrayList<>();
|
||||
|
||||
items.add(this);
|
||||
|
||||
for (ConfigPanelItem child : children)
|
||||
{
|
||||
items.addAll(child.getItemsAsList());
|
||||
}
|
||||
return items;
|
||||
}
|
||||
|
||||
public int getDepth()
|
||||
{
|
||||
return (parent == null ? 0 : parent.getDepth() + 1);
|
||||
}
|
||||
|
||||
public boolean addChildIfMatchParent(ConfigItemDescriptor cid)
|
||||
{
|
||||
|
||||
if (item != null && item.getItem().keyName().equals(cid.getItem().parent()))
|
||||
{
|
||||
children.add(new ConfigPanelItem(this, cid));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
for (ConfigPanelItem child : children)
|
||||
{
|
||||
if (child.addChildIfMatchParent(cid))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2019, Hydrox6 <ikada@protonmail.ch>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.config;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface ConfigSection
|
||||
{
|
||||
int position();
|
||||
|
||||
String keyName();
|
||||
|
||||
String name();
|
||||
|
||||
String description();
|
||||
|
||||
String section() default "";
|
||||
|
||||
String titleSection() default "";
|
||||
|
||||
boolean hidden() default false;
|
||||
|
||||
String unhide() default "";
|
||||
|
||||
String unhideValue() default "";
|
||||
|
||||
String hide() default "";
|
||||
|
||||
String hideValue() default "";
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2019, Hydrox6 <ikada@protonmail.ch>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.config;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface ConfigTitleSection
|
||||
{
|
||||
int position();
|
||||
|
||||
String keyName();
|
||||
|
||||
String name();
|
||||
|
||||
String description();
|
||||
|
||||
String section() default "";
|
||||
|
||||
String titleSection() default "";
|
||||
|
||||
boolean hidden() default false;
|
||||
|
||||
String unhide() default "";
|
||||
|
||||
String unhideValue() default "";
|
||||
|
||||
String hide() default "";
|
||||
|
||||
String hideValue() default "";
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
package net.runelite.client.config;
|
||||
|
||||
public class Stub
|
||||
public class Title
|
||||
{
|
||||
}
|
||||
@@ -28,20 +28,21 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("agility")
|
||||
public interface AgilityConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
@ConfigTitleSection(
|
||||
keyName = "mainConfig",
|
||||
position = 0,
|
||||
name = "Main Config",
|
||||
description = ""
|
||||
)
|
||||
default Stub mainConfig()
|
||||
default Title mainConfig()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -51,7 +52,7 @@ public interface AgilityConfig extends Config
|
||||
warning = "<html><center>Enabling this setting on a low end machine may severely affect your fps." +
|
||||
"<br>Click yes to enable this setting, knowing it might affect performance.</center></html>",
|
||||
position = 1,
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean removeDistanceCap()
|
||||
{
|
||||
@@ -63,7 +64,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Show Lap Count",
|
||||
description = "Enable/disable the lap counter",
|
||||
position = 2,
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean showLapCount()
|
||||
{
|
||||
@@ -75,7 +76,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Hide Lap Count",
|
||||
description = "Time in minutes until the lap counter hides/resets",
|
||||
position = 3,
|
||||
parent = "mainConfig",
|
||||
titleSection = "mainConfig",
|
||||
hidden = true,
|
||||
unhide = "showLapCount"
|
||||
)
|
||||
@@ -89,7 +90,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Show Laps Until Level",
|
||||
description = "Show number of laps remaining until next level is reached.",
|
||||
position = 4,
|
||||
parent = "mainConfig",
|
||||
titleSection = "mainConfig",
|
||||
hidden = true,
|
||||
unhide = "showLapCount"
|
||||
)
|
||||
@@ -103,7 +104,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Show Laps Until Goal",
|
||||
description = "Show number of laps remaining until experience tracker goal is reached",
|
||||
position = 5,
|
||||
parent = "mainConfig",
|
||||
titleSection = "mainConfig",
|
||||
hidden = true,
|
||||
unhide = "showLapCount"
|
||||
)
|
||||
@@ -117,7 +118,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Agility Arena timer",
|
||||
description = "Configures whether Agility Arena timer is displayed",
|
||||
position = 6,
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean showAgilityArenaTimer()
|
||||
{
|
||||
@@ -129,22 +130,22 @@ public interface AgilityConfig extends Config
|
||||
name = "Show Shortcut Agility Reqs",
|
||||
description = "Enable/disable showing shortcut agility level requirements in right-click options",
|
||||
position = 7,
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean showShortcutLevel()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 8,
|
||||
@ConfigTitleSection(
|
||||
keyName = "miscConfig",
|
||||
position = 8,
|
||||
name = "Misc Config",
|
||||
description = ""
|
||||
)
|
||||
default Stub miscConfig()
|
||||
default Title miscConfig()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -152,7 +153,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Highlight Marks of Grace",
|
||||
description = "Enable/disable the highlighting of retrievable Marks of Grace",
|
||||
position = 9,
|
||||
parent = "miscConfig"
|
||||
titleSection = "miscConfig"
|
||||
)
|
||||
default boolean highlightMarks()
|
||||
{
|
||||
@@ -164,7 +165,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Highlight Agility Shortcuts",
|
||||
description = "Enable/disable the highlighting of Agility shortcuts",
|
||||
position = 10,
|
||||
parent = "miscConfig"
|
||||
titleSection = "miscConfig"
|
||||
)
|
||||
default boolean highlightShortcuts()
|
||||
{
|
||||
@@ -176,7 +177,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Highlight Traps",
|
||||
description = "Enable/disable the highlighting of traps on Agility courses",
|
||||
position = 11,
|
||||
parent = "miscConfig"
|
||||
titleSection = "miscConfig"
|
||||
)
|
||||
default boolean showTrapOverlay()
|
||||
{
|
||||
@@ -188,7 +189,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Agility Arena notifier",
|
||||
description = "Notify on ticket location change in Agility Arena",
|
||||
position = 12,
|
||||
parent = "miscConfig"
|
||||
titleSection = "miscConfig"
|
||||
)
|
||||
default boolean notifyAgilityArena()
|
||||
{
|
||||
@@ -200,7 +201,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Global Overlay Color",
|
||||
description = "Color of Agility overlay",
|
||||
position = 13,
|
||||
parent = "miscConfig"
|
||||
titleSection = "miscConfig"
|
||||
)
|
||||
default Color getOverlayColor()
|
||||
{
|
||||
@@ -212,7 +213,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Trap Overlay Color",
|
||||
description = "Color of Agility trap overlay",
|
||||
position = 14,
|
||||
parent = "miscConfig",
|
||||
titleSection = "miscConfig",
|
||||
hidden = true,
|
||||
unhide = "showTrapOverlay"
|
||||
)
|
||||
@@ -226,7 +227,7 @@ public interface AgilityConfig extends Config
|
||||
name = "Mark Highlight Color",
|
||||
description = "Color of highlighted Marks of Grace",
|
||||
position = 15,
|
||||
parent = "miscConfig",
|
||||
titleSection = "miscConfig",
|
||||
hidden = true,
|
||||
unhide = "highlightMarks"
|
||||
)
|
||||
|
||||
@@ -33,8 +33,9 @@ import lombok.Getter;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("aoe")
|
||||
public interface AoeWarningConfig extends Config
|
||||
@@ -57,26 +58,38 @@ public interface AoeWarningConfig extends Config
|
||||
}
|
||||
}
|
||||
|
||||
@ConfigTitleSection(
|
||||
keyName = "notifyTitle",
|
||||
name = "Notify",
|
||||
description = "",
|
||||
position = -1
|
||||
)
|
||||
default Title notifyTitle()
|
||||
{
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "aoeNotifyAll",
|
||||
name = "Notify for all AoE warnings",
|
||||
description = "Configures whether or not AoE Projectile Warnings should trigger a notification",
|
||||
position = 0
|
||||
position = 0,
|
||||
titleSection = "notifyTitle"
|
||||
)
|
||||
default boolean aoeNotifyAll()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "overlayStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "overlayTitle",
|
||||
name = "Overlay",
|
||||
description = "",
|
||||
position = 1
|
||||
)
|
||||
default Stub overlayStub()
|
||||
default Title overlayTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -84,7 +97,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "overlayColor",
|
||||
name = "Overlay Color",
|
||||
description = "Configures the color of the AoE Projectile Warnings overlay",
|
||||
parent = "overlayStub"
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default Color overlayColor()
|
||||
{
|
||||
@@ -95,7 +108,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "outline",
|
||||
name = "Display Outline",
|
||||
description = "Configures whether or not AoE Projectile Warnings have an outline",
|
||||
parent = "overlayStub",
|
||||
titleSection = "overlayTitle",
|
||||
position = 3
|
||||
)
|
||||
default boolean isOutlineEnabled()
|
||||
@@ -107,7 +120,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "delay",
|
||||
name = "Fade Delay",
|
||||
description = "Configures the amount of time in milliseconds that the warning lingers for after the projectile has touched the ground",
|
||||
parent = "overlayStub",
|
||||
titleSection = "overlayTitle",
|
||||
position = 4
|
||||
)
|
||||
default int delay()
|
||||
@@ -119,7 +132,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "fade",
|
||||
name = "Fade Warnings",
|
||||
description = "Configures whether or not AoE Projectile Warnings fade over time",
|
||||
parent = "overlayStub",
|
||||
titleSection = "overlayTitle",
|
||||
position = 5
|
||||
)
|
||||
default boolean isFadeEnabled()
|
||||
@@ -131,7 +144,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "tickTimers",
|
||||
name = "Tick Timers",
|
||||
description = "Configures whether or not AoE Projectile Warnings has tick timers overlaid as well.",
|
||||
parent = "overlayStub",
|
||||
titleSection = "overlayTitle",
|
||||
position = 6
|
||||
)
|
||||
default boolean tickTimers()
|
||||
@@ -139,17 +152,17 @@ public interface AoeWarningConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "textTitle",
|
||||
position = 7,
|
||||
keyName = "text",
|
||||
name = "Text",
|
||||
description = "",
|
||||
hidden = true,
|
||||
unhide = "tickTimers"
|
||||
)
|
||||
default Stub text()
|
||||
default Title textTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -157,7 +170,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "fontStyle",
|
||||
name = "Font Style",
|
||||
description = "Bold/Italics/Plain",
|
||||
parent = "text",
|
||||
titleSection = "textTitle",
|
||||
hidden = true,
|
||||
unhide = "tickTimers"
|
||||
)
|
||||
@@ -175,7 +188,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "textSize",
|
||||
name = "Text Size",
|
||||
description = "Text Size for Timers.",
|
||||
parent = "text",
|
||||
titleSection = "textTitle",
|
||||
hidden = true,
|
||||
unhide = "tickTimers"
|
||||
)
|
||||
@@ -189,7 +202,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "shadows",
|
||||
name = "Shadows",
|
||||
description = "Adds Shadows to text.",
|
||||
parent = "text",
|
||||
titleSection = "textTitle",
|
||||
hidden = true,
|
||||
unhide = "tickTimers"
|
||||
)
|
||||
@@ -198,34 +211,34 @@ public interface AoeWarningConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "npcStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "npcTitle",
|
||||
name = "NPC's",
|
||||
description = "",
|
||||
position = 11
|
||||
)
|
||||
default Stub npcStub()
|
||||
default Title npcTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "lizardmanaoeStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "lizardmanaoeTitle",
|
||||
name = "Lizardman Shamans",
|
||||
description = "",
|
||||
position = 12,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub lizardmanaoeStub()
|
||||
default Title lizardmanaoeTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "lizardmanaoe",
|
||||
name = "Lizardman Shamans",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Lizardman Shamans is displayed",
|
||||
parent = "lizardmanaoeStub",
|
||||
titleSection = "lizardmanaoeTitle",
|
||||
position = 13
|
||||
)
|
||||
default boolean isShamansEnabled()
|
||||
@@ -237,7 +250,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "lizardmanaoenotify",
|
||||
name = "Lizardman Shamans Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Lizardman Shamans should trigger a notification",
|
||||
parent = "lizardmanaoeStub",
|
||||
titleSection = "lizardmanaoeTitle",
|
||||
position = 14,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -246,23 +259,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "archaeologistaoeStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "archaeologistaoeTitle",
|
||||
name = "Crazy Archaeologist",
|
||||
description = "",
|
||||
position = 15,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub archaeologistaoeStub()
|
||||
default Title archaeologistaoeTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "archaeologistaoe",
|
||||
name = "Crazy Archaeologist",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Archaeologist is displayed",
|
||||
parent = "archaeologistaoeStub",
|
||||
titleSection = "archaeologistaoeTitle",
|
||||
position = 16
|
||||
)
|
||||
default boolean isArchaeologistEnabled()
|
||||
@@ -274,7 +287,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "archaeologistaoenotify",
|
||||
name = "Crazy Archaeologist Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Crazy Archaeologist should trigger a notification",
|
||||
parent = "archaeologistaoeStub",
|
||||
titleSection = "archaeologistaoeTitle",
|
||||
position = 17,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -283,23 +296,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "icedemonStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "icedemonTitle",
|
||||
name = "Ice Demon",
|
||||
description = "",
|
||||
position = 18,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub icedemonStub()
|
||||
default Title icedemonTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "icedemon",
|
||||
name = "Ice Demon",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Ice Demon is displayed",
|
||||
parent = "icedemonStub",
|
||||
titleSection = "icedemonTitle",
|
||||
position = 19
|
||||
)
|
||||
default boolean isIceDemonEnabled()
|
||||
@@ -311,7 +324,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "icedemonnotify",
|
||||
name = "Ice Demon Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Ice Demon should trigger a notification",
|
||||
parent = "icedemonStub",
|
||||
titleSection = "icedemonTitle",
|
||||
position = 20,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -320,23 +333,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "vasaStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "vasaTitle",
|
||||
name = "Vasa",
|
||||
description = "",
|
||||
position = 21,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub vasaStub()
|
||||
default Title vasaTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "vasa",
|
||||
name = "Vasa",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Vasa is displayed",
|
||||
parent = "vasaStub",
|
||||
titleSection = "vasaTitle",
|
||||
position = 22
|
||||
)
|
||||
default boolean isVasaEnabled()
|
||||
@@ -348,7 +361,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "vasanotify",
|
||||
name = "Vasa Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Vasa should trigger a notification",
|
||||
parent = "vasaStub",
|
||||
titleSection = "vasaTitle",
|
||||
position = 23,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -357,23 +370,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "tektonStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "tektonTitle",
|
||||
name = "Tekton",
|
||||
description = "",
|
||||
position = 24,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub tektonStub()
|
||||
default Title tektonTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "tekton",
|
||||
name = "Tekton",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Tekton is displayed",
|
||||
parent = "tektonStub",
|
||||
titleSection = "tektonTitle",
|
||||
position = 25
|
||||
)
|
||||
default boolean isTektonEnabled()
|
||||
@@ -385,7 +398,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "tektonnotify",
|
||||
name = "Tekton Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Tekton should trigger a notification",
|
||||
parent = "tektonStub",
|
||||
titleSection = "tektonTitle",
|
||||
position = 26,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -394,23 +407,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "vorkathStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "vorkathTitle",
|
||||
name = "Vorkath",
|
||||
description = "",
|
||||
position = 27,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub vorkathStub()
|
||||
default Title vorkathTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "vorkath",
|
||||
name = "Vorkath",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Vorkath are displayed",
|
||||
parent = "vorkathStub",
|
||||
titleSection = "vorkathTitle",
|
||||
position = 28
|
||||
)
|
||||
default boolean isVorkathEnabled()
|
||||
@@ -422,7 +435,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "vorkathotify",
|
||||
name = "Vorkath Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Vorkath should trigger a notification",
|
||||
parent = "vorkathStub",
|
||||
titleSection = "vorkathTitle",
|
||||
position = 29,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -431,23 +444,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "galvekStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "galvekTitle",
|
||||
name = "Galvek",
|
||||
description = "",
|
||||
position = 30,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub galvekStub()
|
||||
default Title galvekTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "galvek",
|
||||
name = "Galvek",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Galvek are displayed",
|
||||
parent = "galvekStub",
|
||||
titleSection = "galvekTitle",
|
||||
position = 31
|
||||
)
|
||||
default boolean isGalvekEnabled()
|
||||
@@ -459,7 +472,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "galveknotify",
|
||||
name = "Galvek Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Galvek should trigger a notification",
|
||||
parent = "galvekStub",
|
||||
titleSection = "galvekTitle",
|
||||
position = 32,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -468,23 +481,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "gargbossStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "gargbossTitle",
|
||||
name = "Gargoyle Boss",
|
||||
description = "",
|
||||
position = 33,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub gargbossStub()
|
||||
default Title gargbossTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "gargboss",
|
||||
name = "Gargoyle Boss",
|
||||
description = "Configs whether or not AoE Projectile Warnings for Dawn/Dusk are displayed",
|
||||
parent = "gargbossStub",
|
||||
titleSection = "gargbossTitle",
|
||||
position = 34
|
||||
)
|
||||
default boolean isGargBossEnabled()
|
||||
@@ -496,7 +509,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "gargbossnotify",
|
||||
name = "Gargoyle Boss Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Gargoyle Bosses should trigger a notification",
|
||||
parent = "gargbossStub",
|
||||
titleSection = "gargbossTitle",
|
||||
position = 35,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -505,23 +518,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "vetionStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "vetionTitle",
|
||||
name = "Vet'ion",
|
||||
description = "",
|
||||
position = 36,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub vetionStub()
|
||||
default Title vetionTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "vetion",
|
||||
name = "Vet'ion",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Vet'ion are displayed",
|
||||
parent = "vetionStub",
|
||||
titleSection = "vetionTitle",
|
||||
position = 37
|
||||
)
|
||||
default boolean isVetionEnabled()
|
||||
@@ -533,7 +546,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "vetionnotify",
|
||||
name = "Vet'ion Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Vet'ion should trigger a notification",
|
||||
parent = "vetionStub",
|
||||
titleSection = "vetionTitle",
|
||||
position = 38,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -542,23 +555,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "chaosfanaticStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "chaosfanaticTitle",
|
||||
name = "Chaos Fanatic",
|
||||
description = "",
|
||||
position = 39,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub chaosfanaticStub()
|
||||
default Title chaosfanaticTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "chaosfanatic",
|
||||
name = "Chaos Fanatic",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Chaos Fanatic are displayed",
|
||||
parent = "chaosfanaticStub",
|
||||
titleSection = "chaosfanaticTitle",
|
||||
position = 40
|
||||
)
|
||||
default boolean isChaosFanaticEnabled()
|
||||
@@ -570,7 +583,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "chaosfanaticnotify",
|
||||
name = "Chaos Fanatic Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Chaos Fanatic should trigger a notification",
|
||||
parent = "chaosfanaticStub",
|
||||
titleSection = "chaosfanaticTitle",
|
||||
position = 41,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -579,23 +592,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "olmStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "olmTitle",
|
||||
name = "Olm",
|
||||
description = "",
|
||||
position = 42,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub olmStub()
|
||||
default Title olmTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "olm",
|
||||
name = "Olm",
|
||||
description = "Configures whether or not AoE Projectile Warnings for The Great Olm are displayed",
|
||||
parent = "olmStub",
|
||||
titleSection = "olmTitle",
|
||||
position = 43
|
||||
)
|
||||
default boolean isOlmEnabled()
|
||||
@@ -607,7 +620,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "olmnotify",
|
||||
name = "Olm Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Olm should trigger a notification",
|
||||
parent = "olmStub",
|
||||
titleSection = "olmTitle",
|
||||
position = 44,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -616,23 +629,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "olmBombStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "olmBombsTitle",
|
||||
name = "Bombs",
|
||||
description = "",
|
||||
position = 45,
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default Stub olmBombsStub()
|
||||
default Title olmBombsTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "bombDisplay",
|
||||
name = "Olm Bombs",
|
||||
description = "Display a timer and colour-coded AoE for Olm's crystal-phase bombs.",
|
||||
parent = "olmBombStub",
|
||||
titleSection = "olmBombsTitle",
|
||||
position = 46
|
||||
)
|
||||
default boolean bombDisplay()
|
||||
@@ -644,7 +657,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "bombDisplaynotify",
|
||||
name = "Olm Bombs Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Olm Bombs should trigger a notification",
|
||||
parent = "olmBombStub",
|
||||
titleSection = "olmBombsTitle",
|
||||
position = 47,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -653,23 +666,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "olmlightningStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "olmlightningTitle",
|
||||
name = "Lightning Trails",
|
||||
description = "",
|
||||
position = 48,
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default Stub olmlightningStub()
|
||||
default Title olmlightningTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "lightning",
|
||||
name = "Olm Lightning Trails",
|
||||
description = "Show Lightning Trails",
|
||||
parent = "olmlightningStub",
|
||||
titleSection = "olmlightningTitle",
|
||||
position = 49
|
||||
)
|
||||
default boolean LightningTrail()
|
||||
@@ -681,7 +694,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "lightningnotify",
|
||||
name = "Olm Lightning Trails Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Olm Lightning Trails should trigger a notification",
|
||||
parent = "olmlightningStub",
|
||||
titleSection = "olmlightningTitle",
|
||||
position = 50,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -690,23 +703,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "corpStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "corpTitle",
|
||||
name = "Corporeal Beast",
|
||||
description = "",
|
||||
position = 51,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub corpStub()
|
||||
default Title corpTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "corp",
|
||||
name = "Corporeal Beast",
|
||||
description = "Configures whether or not AoE Projectile Warnings for the Corporeal Beast are displayed",
|
||||
parent = "corpStub",
|
||||
titleSection = "corpTitle",
|
||||
position = 52
|
||||
)
|
||||
default boolean isCorpEnabled()
|
||||
@@ -718,7 +731,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "corpnotify",
|
||||
name = "Corporeal Beast Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Corporeal Beast should trigger a notification",
|
||||
parent = "corpStub",
|
||||
titleSection = "corpTitle",
|
||||
position = 53,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -727,23 +740,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "wintertodtStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "wintertodtTitle",
|
||||
name = "Wintertodt",
|
||||
description = "",
|
||||
position = 54,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub wintertodtStub()
|
||||
default Title wintertodtTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "wintertodt",
|
||||
name = "Wintertodt Snow Fall",
|
||||
description = "Configures whether or not AOE Projectile Warnings for the Wintertodt snow fall are displayed",
|
||||
parent = "wintertodtStub",
|
||||
titleSection = "wintertodtTitle",
|
||||
position = 55
|
||||
)
|
||||
default boolean isWintertodtEnabled()
|
||||
@@ -755,7 +768,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "wintertodtnotify",
|
||||
name = "Wintertodt Snow Fall Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Wintertodt Snow Fall Notify should trigger a notification",
|
||||
parent = "wintertodtStub",
|
||||
titleSection = "wintertodtTitle",
|
||||
position = 56,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -764,23 +777,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "xarpusStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "xarpusTitle",
|
||||
name = "Xarpus",
|
||||
description = "",
|
||||
position = 57,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub xarpusStub()
|
||||
default Title xarpusTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "isXarpusEnabled",
|
||||
name = "Xarpus",
|
||||
description = "Configures whether or not AOE Projectile Warnings for Xarpus are displayed",
|
||||
parent = "xarpusStub",
|
||||
titleSection = "xarpusTitle",
|
||||
position = 58
|
||||
)
|
||||
default boolean isXarpusEnabled()
|
||||
@@ -792,7 +805,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "isXarpusEnablednotify",
|
||||
name = "Xarpus Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Xarpus should trigger a notification",
|
||||
parent = "xarpusStub",
|
||||
titleSection = "xarpusTitle",
|
||||
position = 59,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -801,23 +814,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "addyDragsStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "addyDragsTitle",
|
||||
name = "Addy Drags",
|
||||
description = "",
|
||||
position = 60,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub addyDragsStub()
|
||||
default Title addyDragsTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "addyDrags",
|
||||
name = "Addy Drags",
|
||||
description = "Show Bad Areas",
|
||||
parent = "addyDragsStub",
|
||||
titleSection = "addyDragsTitle",
|
||||
position = 61
|
||||
)
|
||||
default boolean addyDrags()
|
||||
@@ -829,7 +842,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "addyDragsnotify",
|
||||
name = "Addy Drags Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Addy Dragons should trigger a notification",
|
||||
parent = "addyDragsStub",
|
||||
titleSection = "addyDragsTitle",
|
||||
position = 62,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -838,23 +851,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "drakeStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "drakeTitle",
|
||||
name = "Drakes",
|
||||
description = "",
|
||||
position = 63,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub drakeStub()
|
||||
default Title drakeTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "drake",
|
||||
name = "Drakes Breath",
|
||||
description = "Configures if Drakes Breath tile markers are displayed",
|
||||
parent = "drakeStub",
|
||||
titleSection = "drakeTitle",
|
||||
position = 64
|
||||
)
|
||||
default boolean isDrakeEnabled()
|
||||
@@ -866,7 +879,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "drakenotify",
|
||||
name = "Drakes Breath Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Drakes Breath should trigger a notification",
|
||||
parent = "drakeStub",
|
||||
titleSection = "drakeTitle",
|
||||
position = 65,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -875,23 +888,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "cerberusStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "cerberusTitle",
|
||||
name = "Cerberus",
|
||||
description = "",
|
||||
position = 66,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub cerberusStub()
|
||||
default Title cerberusTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "cerbFire",
|
||||
name = "Cerberus Fire",
|
||||
description = "Configures if Cerberus fire tile markers are displayed",
|
||||
parent = "cerberusStub",
|
||||
titleSection = "cerberusTitle",
|
||||
position = 67
|
||||
)
|
||||
default boolean isCerbFireEnabled()
|
||||
@@ -903,7 +916,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "cerbFirenotify",
|
||||
name = "Cerberus Fire Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Cerberus his fire should trigger a notification",
|
||||
parent = "cerberusStub",
|
||||
titleSection = "cerberusTitle",
|
||||
position = 68,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
@@ -912,23 +925,23 @@ public interface AoeWarningConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "demonicGorillaStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "demonicGorillaTitle",
|
||||
name = "Demonic Gorilla",
|
||||
description = "",
|
||||
position = 69,
|
||||
parent = "npcStub"
|
||||
titleSection = "npcTitle"
|
||||
)
|
||||
default Stub demonicGorillaStub()
|
||||
default Title demonicGorillaTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "demonicGorilla",
|
||||
name = "Demonic Gorilla",
|
||||
description = "Configures if Demonic Gorilla boulder tile markers are displayed",
|
||||
parent = "demonicGorillaStub",
|
||||
titleSection = "demonicGorillaTitle",
|
||||
position = 70
|
||||
)
|
||||
default boolean isDemonicGorillaEnabled()
|
||||
@@ -940,7 +953,7 @@ public interface AoeWarningConfig extends Config
|
||||
keyName = "demonicGorillaNotify",
|
||||
name = "Demonic Gorilla Notify",
|
||||
description = "Configures whether or not AoE Projectile Warnings for Demonic Gorilla boulders should trigger a notification",
|
||||
parent = "demonicGorillaStub",
|
||||
titleSection = "demonicGorillaTitle",
|
||||
position = 71,
|
||||
hide = "aoeNotifyAll"
|
||||
)
|
||||
|
||||
@@ -29,6 +29,7 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.config.Range;
|
||||
|
||||
@ConfigGroup("barbarianAssault")
|
||||
@@ -157,12 +158,23 @@ public interface BarbarianAssaultConfig extends Config
|
||||
/*/// Attacker ///*/
|
||||
/*///************///*/
|
||||
|
||||
@ConfigSection(
|
||||
name = "Attacker",
|
||||
description = "",
|
||||
position = 10,
|
||||
keyName = "attackerSection"
|
||||
)
|
||||
default boolean attackerSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightArrows",
|
||||
name = "Highlight called arrows",
|
||||
description = "Highlights arrows called by your teammate",
|
||||
position = 0,
|
||||
group = "Attacker"
|
||||
section = "attackerSection"
|
||||
)
|
||||
default boolean highlightArrows()
|
||||
{
|
||||
@@ -174,7 +186,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Arrow color",
|
||||
description = "Configures the color to highlight the called arrows",
|
||||
position = 1,
|
||||
group = "Attacker",
|
||||
section = "attackerSection",
|
||||
hidden = true,
|
||||
unhide = "highlightArrows"
|
||||
)
|
||||
@@ -188,7 +200,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Remove incorrect attack styles",
|
||||
description = "Hides wrong attack styles for dragon claws and crystal halberd",
|
||||
position = 2,
|
||||
group = "Attacker"
|
||||
section = "attackerSection"
|
||||
)
|
||||
default boolean removeIncorrectAttackStyles()
|
||||
{
|
||||
@@ -200,7 +212,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Enable tagging",
|
||||
description = "Highlights the menu entry of an attacker/ranger that has not been tagged.",
|
||||
position = 3,
|
||||
group = "Attacker"
|
||||
section = "attackerSection"
|
||||
)
|
||||
default boolean tagging()
|
||||
{
|
||||
@@ -211,13 +223,24 @@ public interface BarbarianAssaultConfig extends Config
|
||||
/*///************///*/
|
||||
/*/// Defender ///*/
|
||||
/*///************///*/
|
||||
|
||||
@ConfigSection(
|
||||
name = "Defender",
|
||||
description = "",
|
||||
position = 11,
|
||||
keyName = "defenderSection"
|
||||
)
|
||||
default boolean defenderSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightBait",
|
||||
name = "Highlight called bait",
|
||||
description = "Highlights bait called by your teammate",
|
||||
position = 0,
|
||||
group = "Defender"
|
||||
section = "defenderSection"
|
||||
)
|
||||
default boolean highlightBait()
|
||||
{
|
||||
@@ -229,7 +252,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Bait color",
|
||||
description = "Configures the color to highlight the called bait",
|
||||
position = 1,
|
||||
group = "Defender",
|
||||
section = "defenderSection",
|
||||
hidden = true,
|
||||
unhide = "highlightBait"
|
||||
)
|
||||
@@ -243,7 +266,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Show defender tick timer",
|
||||
description = "Shows the current cycle tick of runners",
|
||||
position = 2,
|
||||
group = "Defender"
|
||||
section = "defenderSection"
|
||||
)
|
||||
default boolean showDefTimer()
|
||||
{
|
||||
@@ -255,7 +278,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Deprioritize bait",
|
||||
description = "Moves 'Take' menu option for all bait below 'Walk Here'",
|
||||
position = 3,
|
||||
group = "Defender"
|
||||
section = "defenderSection"
|
||||
)
|
||||
default boolean deprioritizeBait()
|
||||
{
|
||||
@@ -267,7 +290,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Remove penance cave",
|
||||
description = "Removes 'Block' menu option from penance cave",
|
||||
position = 4,
|
||||
group = "Defender"
|
||||
section = "defenderSection"
|
||||
)
|
||||
default boolean removePenanceCave()
|
||||
{
|
||||
@@ -278,13 +301,24 @@ public interface BarbarianAssaultConfig extends Config
|
||||
/*///**********///*/
|
||||
/*/// Healer ///*/
|
||||
/*///**********///*/
|
||||
|
||||
@ConfigSection(
|
||||
name = "Healer",
|
||||
description = "",
|
||||
position = 12,
|
||||
keyName = "healerSection"
|
||||
)
|
||||
default boolean healerSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightPoison",
|
||||
name = "Highlight called poison",
|
||||
description = "Highlights poison called by your teammate",
|
||||
position = 0,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean highlightPoison()
|
||||
{
|
||||
@@ -296,7 +330,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Poison color",
|
||||
description = "Configures the color to highlight the called poison",
|
||||
position = 1,
|
||||
group = "Healer",
|
||||
section = "healerSection",
|
||||
hidden = true,
|
||||
unhide = "highlightPoison"
|
||||
)
|
||||
@@ -310,7 +344,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Highlight incorrect notification",
|
||||
description = "Highlights incorrect poison chat notification",
|
||||
position = 2,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean highlightNotification()
|
||||
{
|
||||
@@ -322,7 +356,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Notification color",
|
||||
description = "Configures the color to highlight the notification text",
|
||||
position = 3,
|
||||
group = "Healer",
|
||||
section = "healerSection",
|
||||
hidden = true,
|
||||
unhide = "highlightNotification"
|
||||
)
|
||||
@@ -336,7 +370,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Show number of hitpoints healed",
|
||||
description = "Displays current number of hitpoints healed",
|
||||
position = 4,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean showHpCountOverlay()
|
||||
{
|
||||
@@ -348,7 +382,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Show health bars",
|
||||
description = "Displays a health bar where a teammate's remaining health is located",
|
||||
position = 5,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean showTeammateHealthbars()
|
||||
{
|
||||
@@ -360,7 +394,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Show healer codes",
|
||||
description = "Overlay to show healer codes",
|
||||
position = 6,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean healerCodes()
|
||||
{
|
||||
@@ -372,7 +406,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Show healer menu options",
|
||||
description = "Shows tick count in healer menu options",
|
||||
position = 7,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean healerMenuOption()
|
||||
{
|
||||
@@ -384,7 +418,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Enable shift overstock",
|
||||
description = "Enables overstocking by pressing shift",
|
||||
position = 8,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean shiftOverstock()
|
||||
{
|
||||
@@ -396,7 +430,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Control Healer",
|
||||
description = "Hold ctrl to put last healer clicked on top",
|
||||
position = 9,
|
||||
group = "Healer"
|
||||
section = "healerSection"
|
||||
)
|
||||
default boolean controlHealer()
|
||||
{
|
||||
@@ -408,12 +442,23 @@ public interface BarbarianAssaultConfig extends Config
|
||||
/*/// Collector ///*/
|
||||
/*///*************///*/
|
||||
|
||||
@ConfigSection(
|
||||
name = "Collector",
|
||||
description = "",
|
||||
position = 13,
|
||||
keyName = "collectorSection"
|
||||
)
|
||||
default boolean collectorSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapCollectorBag",
|
||||
name = "Swap empty",
|
||||
description = "Enables swapping of 'Look-in' and 'Empty' on the collector's bag",
|
||||
position = 0,
|
||||
group = "Collector"
|
||||
section = "collectorSection"
|
||||
)
|
||||
default boolean swapCollectorBag()
|
||||
{
|
||||
@@ -425,7 +470,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Swap destroy",
|
||||
description = "Enables swapping of 'Use' and 'Destroy' on collector eggs; this does not affect yellow/omega eggs",
|
||||
position = 1,
|
||||
group = "Collector"
|
||||
section = "collectorSection"
|
||||
)
|
||||
default boolean swapDestroyEggs()
|
||||
{
|
||||
@@ -437,7 +482,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Highlight collector eggs",
|
||||
description = "Highlight called egg colors",
|
||||
position = 2,
|
||||
group = "Collector"
|
||||
section = "collectorSection"
|
||||
)
|
||||
default boolean highlightCollectorEggs()
|
||||
{
|
||||
@@ -449,7 +494,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Deprioritize incorrect eggs",
|
||||
description = "Moves 'Take' menu option for incorrect eggs below 'Walk Here'",
|
||||
position = 3,
|
||||
group = "Collector"
|
||||
section = "collectorSection"
|
||||
)
|
||||
default boolean deprioritizeIncorrectEggs()
|
||||
{
|
||||
@@ -461,7 +506,7 @@ public interface BarbarianAssaultConfig extends Config
|
||||
name = "Show number of eggs collected",
|
||||
description = "Displays current number of eggs collected",
|
||||
position = 4,
|
||||
group = "Collector"
|
||||
section = "collectorSection"
|
||||
)
|
||||
default boolean showEggCountOverlay()
|
||||
{
|
||||
|
||||
@@ -3,17 +3,29 @@ package net.runelite.client.plugins.chattranslation;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("chattranslation")
|
||||
public interface ChatTranslationConfig extends Config
|
||||
{
|
||||
@ConfigTitleSection(
|
||||
keyName = "chatTranslation",
|
||||
name = "Chat Translation",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Title chatTranslation()
|
||||
{
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "translateOptionVisable",
|
||||
name = "Show 'Translate' menu option",
|
||||
description = "Adds 'Translate' to the right-click menu in the Chatbox.",
|
||||
position = 0,
|
||||
group = "Chat Translation"
|
||||
position = 1,
|
||||
titleSection = "chatTranslation"
|
||||
)
|
||||
default boolean translateOptionVisable()
|
||||
{
|
||||
@@ -24,8 +36,8 @@ public interface ChatTranslationConfig extends Config
|
||||
keyName = "publicChat",
|
||||
name = "Translate incoming Messages",
|
||||
description = "Would you like to Translate Chat?",
|
||||
position = 1,
|
||||
group = "Chat Translation",
|
||||
position = 2,
|
||||
titleSection = "chatTranslation",
|
||||
hidden = true,
|
||||
unhide = "translateOptionVisable"
|
||||
)
|
||||
@@ -38,8 +50,8 @@ public interface ChatTranslationConfig extends Config
|
||||
keyName = "playerNames",
|
||||
name = "Translated Player list:",
|
||||
description = "Players you add to this list will be Translated in chat.",
|
||||
position = 2,
|
||||
group = "Chat Translation",
|
||||
position = 3,
|
||||
titleSection = "chatTranslation",
|
||||
hidden = true,
|
||||
unhide = "translateOptionVisable"
|
||||
)
|
||||
@@ -52,8 +64,8 @@ public interface ChatTranslationConfig extends Config
|
||||
keyName = "publicTargetLanguage",
|
||||
name = "Target Language",
|
||||
description = "Language to translate messages to.",
|
||||
position = 2,
|
||||
group = "Chat Translation",
|
||||
position = 4,
|
||||
titleSection = "chatTranslation",
|
||||
hidden = true,
|
||||
unhide = "publicChat"
|
||||
)
|
||||
@@ -62,12 +74,23 @@ public interface ChatTranslationConfig extends Config
|
||||
return Languages.ENGLISH;
|
||||
}
|
||||
|
||||
@ConfigTitleSection(
|
||||
keyName = "playerMessageTranslation",
|
||||
name = "Player Message Translation",
|
||||
description = "",
|
||||
position = 5
|
||||
)
|
||||
default Title playerMessageTranslation()
|
||||
{
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "playerChat",
|
||||
name = "Translate outgoing Messages",
|
||||
description = "Would you like to Translate your Messages?",
|
||||
position = 3,
|
||||
group = "Player Message Translation"
|
||||
position = 6,
|
||||
titleSection = "playerMessageTranslation"
|
||||
)
|
||||
default boolean playerChat()
|
||||
{
|
||||
@@ -78,8 +101,8 @@ public interface ChatTranslationConfig extends Config
|
||||
keyName = "playerTargetLanguage",
|
||||
name = "Target Language",
|
||||
description = "Language to translate messages to.",
|
||||
position = 4,
|
||||
group = "Player Message Translation",
|
||||
position = 7,
|
||||
titleSection = "playerMessageTranslation",
|
||||
hidden = true,
|
||||
unhide = "playerChat"
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -32,8 +32,9 @@ import lombok.Getter;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("Cox")
|
||||
|
||||
@@ -57,15 +58,15 @@ public interface CoxConfig extends Config
|
||||
}
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "muttadileTitle",
|
||||
position = 1,
|
||||
keyName = "muttadileStub",
|
||||
name = "Muttadile",
|
||||
description = ""
|
||||
)
|
||||
default Stub muttadileStub()
|
||||
default Title muttadileTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -73,22 +74,22 @@ public interface CoxConfig extends Config
|
||||
keyName = "muttadile",
|
||||
name = "Muttadile Marker",
|
||||
description = "Places an overlay around muttadiles showing their melee range.",
|
||||
parent = "muttadileStub"
|
||||
titleSection = "muttadileTitle"
|
||||
)
|
||||
default boolean muttadile()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "tektonTitle",
|
||||
position = 3,
|
||||
keyName = "tektonStub",
|
||||
name = "Tekton",
|
||||
description = ""
|
||||
)
|
||||
default Stub tektonStub()
|
||||
default Title tektonTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -96,7 +97,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "tekton",
|
||||
name = "Tekton Marker",
|
||||
description = "Places an overlay around Tekton showing his melee range.",
|
||||
parent = "tektonStub"
|
||||
titleSection = "tektonTitle"
|
||||
)
|
||||
default boolean tekton()
|
||||
{
|
||||
@@ -108,22 +109,22 @@ public interface CoxConfig extends Config
|
||||
keyName = "tektonTickCounter",
|
||||
name = "Tekton Tick Counters",
|
||||
description = "Counts down current phase timer, and attack ticks.",
|
||||
parent = "tektonStub"
|
||||
titleSection = "tektonTitle"
|
||||
)
|
||||
default boolean tektonTickCounter()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "guardiansTitle",
|
||||
position = 5,
|
||||
keyName = "guardiansStub",
|
||||
name = "Guardians",
|
||||
description = ""
|
||||
)
|
||||
default Stub guardiansStub()
|
||||
default Title guardiansTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -131,7 +132,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "guardians",
|
||||
name = "Guardians Overlay",
|
||||
description = "Places an overlay near Guardians showing safespot.",
|
||||
parent = "guardiansStub"
|
||||
titleSection = "guardiansTitle"
|
||||
)
|
||||
default boolean guardians()
|
||||
{
|
||||
@@ -143,22 +144,22 @@ public interface CoxConfig extends Config
|
||||
keyName = "guardinTickCounter",
|
||||
name = "Guardians Tick Timing",
|
||||
description = "Places an overlay on Guardians showing attack tick timers.",
|
||||
parent = "guardiansStub"
|
||||
titleSection = "guardiansTitle"
|
||||
)
|
||||
default boolean guardinTickCounter()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "vanguardsTitle",
|
||||
position = 7,
|
||||
keyName = "vanguardsStub",
|
||||
name = "Vanguards",
|
||||
description = ""
|
||||
)
|
||||
default Stub vanguardsStub()
|
||||
default Title vanguardsTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -166,7 +167,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "vangHighlight",
|
||||
name = "Highlight Vanguards",
|
||||
description = "Color is based on their attack style.",
|
||||
parent = "vanguardsStub"
|
||||
titleSection = "vanguardsTitle"
|
||||
)
|
||||
default boolean vangHighlight()
|
||||
{
|
||||
@@ -178,22 +179,22 @@ public interface CoxConfig extends Config
|
||||
keyName = "vangHealth",
|
||||
name = "Show Vanguards Current HP",
|
||||
description = "This will create an infobox with vanguards current hp.",
|
||||
parent = "vanguardsStub"
|
||||
titleSection = "vanguardsTitle"
|
||||
)
|
||||
default boolean vangHealth()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "olmTitle",
|
||||
position = 10,
|
||||
keyName = "olmStub",
|
||||
name = "Olm",
|
||||
description = ""
|
||||
)
|
||||
default Stub olmStub()
|
||||
default Title olmTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -201,7 +202,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "prayAgainstOlm",
|
||||
name = "Olm Show Prayer",
|
||||
description = "Shows what prayer to use during olm.",
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default boolean prayAgainstOlm()
|
||||
{
|
||||
@@ -217,7 +218,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "prayAgainstOlmSize",
|
||||
name = "Olm Prayer Size",
|
||||
description = "Change the Size of the Olm Infobox.",
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default int prayAgainstOlmSize()
|
||||
{
|
||||
@@ -229,7 +230,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "timers",
|
||||
name = "Olm Show Burn/Acid Timers",
|
||||
description = "Shows tick timers for burns/acids.",
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default boolean timers()
|
||||
{
|
||||
@@ -241,7 +242,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "tpOverlay",
|
||||
name = "Olm Show Teleport Overlays",
|
||||
description = "Shows Overlays for targeted teleports.",
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default boolean tpOverlay()
|
||||
{
|
||||
@@ -253,22 +254,22 @@ public interface CoxConfig extends Config
|
||||
keyName = "olmTick",
|
||||
name = "Olm Tick Counter",
|
||||
description = "Show Tick Counter on Olm",
|
||||
parent = "olmStub"
|
||||
titleSection = "olmTitle"
|
||||
)
|
||||
default boolean olmTick()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 15,
|
||||
@ConfigTitleSection(
|
||||
keyName = "colors",
|
||||
position = 15,
|
||||
name = "Colors",
|
||||
description = ""
|
||||
)
|
||||
default Stub colors()
|
||||
default Title colors()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -276,7 +277,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "muttaColor",
|
||||
name = "Muttadile Tile Color",
|
||||
description = "Change hit area tile color for muttadiles",
|
||||
parent = "colors",
|
||||
titleSection = "colors",
|
||||
hidden = true,
|
||||
unhide = "Muttadile"
|
||||
)
|
||||
@@ -290,7 +291,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "guardColor",
|
||||
name = "Guardians Tile Color",
|
||||
description = "Change safespot area tile color for Guardians",
|
||||
parent = "colors",
|
||||
titleSection = "colors",
|
||||
hidden = true,
|
||||
unhide = "Guardians"
|
||||
)
|
||||
@@ -304,7 +305,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "tektonColor",
|
||||
name = "Tekton Tile Color",
|
||||
description = "Change hit area tile color for Tekton",
|
||||
parent = "colors",
|
||||
titleSection = "colors",
|
||||
hidden = true,
|
||||
unhide = "Tekton"
|
||||
)
|
||||
@@ -318,7 +319,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "burnColor",
|
||||
name = "Burn Victim Color",
|
||||
description = "Changes tile color for burn victim.",
|
||||
parent = "colors",
|
||||
titleSection = "colors",
|
||||
hidden = true,
|
||||
unhide = "timers"
|
||||
)
|
||||
@@ -332,7 +333,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "acidColor",
|
||||
name = "Acid Victim Color",
|
||||
description = "Changes tile color for acid victim.",
|
||||
parent = "colors",
|
||||
titleSection = "colors",
|
||||
hidden = true,
|
||||
unhide = "timers"
|
||||
)
|
||||
@@ -346,7 +347,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "tpColor",
|
||||
name = "Teleport Target Color",
|
||||
description = "Changes tile color for teleport target.",
|
||||
parent = "colors",
|
||||
titleSection = "colors",
|
||||
hidden = true,
|
||||
unhide = "tpOverlay"
|
||||
)
|
||||
@@ -355,15 +356,15 @@ public interface CoxConfig extends Config
|
||||
return new Color(193, 255, 245);
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 22,
|
||||
@ConfigTitleSection(
|
||||
keyName = "text",
|
||||
position = 22,
|
||||
name = "Text",
|
||||
description = ""
|
||||
)
|
||||
default Stub text()
|
||||
default Title text()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -371,7 +372,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "fontStyle",
|
||||
name = "Font Style",
|
||||
description = "Bold/Italics/Plain",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default FontStyle fontStyle()
|
||||
{
|
||||
@@ -387,7 +388,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "textSize",
|
||||
name = "Text Size",
|
||||
description = "Text Size for Timers.",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default int textSize()
|
||||
{
|
||||
@@ -399,7 +400,7 @@ public interface CoxConfig extends Config
|
||||
keyName = "shadows",
|
||||
name = "Shadows",
|
||||
description = "Adds Shadows to text.",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default boolean shadows()
|
||||
{
|
||||
|
||||
@@ -30,21 +30,22 @@ import lombok.Getter;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("fightcave")
|
||||
public interface FightCaveConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
@ConfigTitleSection(
|
||||
keyName = "mainConfig",
|
||||
position = 0,
|
||||
name = "Main Config",
|
||||
description = ""
|
||||
)
|
||||
default Stub mainConfig()
|
||||
default Title mainConfig()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -52,7 +53,7 @@ public interface FightCaveConfig extends Config
|
||||
keyName = "waveDisplay",
|
||||
name = "Wave display",
|
||||
description = "Shows monsters that will spawn on the selected wave(s).",
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default WaveDisplayMode waveDisplay()
|
||||
{
|
||||
@@ -64,22 +65,22 @@ public interface FightCaveConfig extends Config
|
||||
keyName = "tickTimersWidget",
|
||||
name = "Tick Timers in Prayer",
|
||||
description = "Adds an overlay to the Prayer Interface with the ticks until next attack for that prayer.",
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean tickTimersWidget()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 3,
|
||||
@ConfigTitleSection(
|
||||
keyName = "text",
|
||||
position = 3,
|
||||
name = "Text",
|
||||
description = ""
|
||||
)
|
||||
default Stub text()
|
||||
default Title text()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -87,7 +88,7 @@ public interface FightCaveConfig extends Config
|
||||
keyName = "fontStyle",
|
||||
name = "Font Style",
|
||||
description = "Plain | Bold | Italics",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default FontStyle fontStyle()
|
||||
{
|
||||
@@ -103,7 +104,7 @@ public interface FightCaveConfig extends Config
|
||||
keyName = "textSize",
|
||||
name = "Text Size",
|
||||
description = "Text Size for Timers.",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default int textSize()
|
||||
{
|
||||
@@ -115,7 +116,7 @@ public interface FightCaveConfig extends Config
|
||||
keyName = "shadows",
|
||||
name = "Shadows",
|
||||
description = "Adds Shadows to text.",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default boolean shadows()
|
||||
{
|
||||
|
||||
@@ -27,21 +27,22 @@ package net.runelite.client.plugins.freezetimers;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("freezetimers")
|
||||
public interface FreezeTimersConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "timersStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "timersTitle",
|
||||
name = "Timers",
|
||||
description = "",
|
||||
position = 1
|
||||
)
|
||||
default Stub timersStub()
|
||||
default Title timersTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -49,7 +50,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Show Players",
|
||||
description = "Configure if the player overlay should be shown",
|
||||
position = 2,
|
||||
parent = "timersStub"
|
||||
titleSection = "timersTitle"
|
||||
)
|
||||
default boolean showPlayers()
|
||||
{
|
||||
@@ -61,7 +62,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Show NPCs",
|
||||
description = "Configure if the npc overlay should be shown",
|
||||
position = 3,
|
||||
parent = "timersStub"
|
||||
titleSection = "timersTitle"
|
||||
)
|
||||
default boolean showNpcs()
|
||||
{
|
||||
@@ -73,7 +74,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Show Freeze Timers",
|
||||
description = "Toggle overlay for Freeze timers",
|
||||
position = 4,
|
||||
parent = "timersStub"
|
||||
titleSection = "timersTitle"
|
||||
)
|
||||
default boolean FreezeTimers()
|
||||
{
|
||||
@@ -85,7 +86,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Show TB Timers",
|
||||
description = "Toggle overlay for TB timers",
|
||||
position = 5,
|
||||
parent = "timersStub"
|
||||
titleSection = "timersTitle"
|
||||
)
|
||||
default boolean TB()
|
||||
{
|
||||
@@ -97,22 +98,22 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Show Veng Timers",
|
||||
description = "Toggle overlay for Veng timers",
|
||||
position = 6,
|
||||
parent = "timersStub"
|
||||
titleSection = "timersTitle"
|
||||
)
|
||||
default boolean Veng()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "overlayStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "overlayTitle",
|
||||
name = "Overlay",
|
||||
description = "",
|
||||
position = 7
|
||||
)
|
||||
default Stub overlayStub()
|
||||
default Title overlayTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -120,7 +121,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "X Offset",
|
||||
description = "Increasing this will push further away from model. Does not apply to text timers.",
|
||||
position = 8,
|
||||
parent = "overlayStub"
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default int offset()
|
||||
{
|
||||
@@ -132,7 +133,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Text Timers",
|
||||
description = "Remove Images from Timers",
|
||||
position = 9,
|
||||
parent = "overlayStub"
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default boolean noImage()
|
||||
{
|
||||
@@ -144,7 +145,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Font Style",
|
||||
description = "Bold/Italics/Plain",
|
||||
position = 10,
|
||||
parent = "overlayStub"
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default FontStyle fontStyle()
|
||||
{
|
||||
@@ -160,7 +161,7 @@ public interface FreezeTimersConfig extends Config
|
||||
name = "Text Size",
|
||||
description = "Text Size for Timers.",
|
||||
position = 11,
|
||||
parent = "overlayStub"
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default int textSize()
|
||||
{
|
||||
|
||||
@@ -32,8 +32,9 @@ import lombok.Getter;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("Gauntlet")
|
||||
|
||||
@@ -57,15 +58,15 @@ public interface GauntletConfig extends Config
|
||||
}
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
@ConfigTitleSection(
|
||||
keyName = "resources",
|
||||
position = 0,
|
||||
name = "Resources",
|
||||
description = ""
|
||||
)
|
||||
default Stub resources()
|
||||
default Title resources()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -73,7 +74,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "highlightResources",
|
||||
name = "Highlight Resources (Outline)",
|
||||
description = "Highlights all the resources in each room with an outline.",
|
||||
parent = "resources"
|
||||
titleSection = "resources"
|
||||
)
|
||||
default boolean highlightResources()
|
||||
{
|
||||
@@ -85,7 +86,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "highlightResourcesColor",
|
||||
name = "Highlight Color",
|
||||
description = "Highlights all the resources in each room with this color.",
|
||||
parent = "resources",
|
||||
titleSection = "resources",
|
||||
hidden = true,
|
||||
unhide = "highlightResources"
|
||||
)
|
||||
@@ -99,7 +100,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "highlightResourcesIcons",
|
||||
name = "Highlight Resources (Icon)",
|
||||
description = "Highlights all the icons in each room with an icon.",
|
||||
parent = "resources",
|
||||
titleSection = "resources",
|
||||
hidden = true,
|
||||
unhide = "highlightResources"
|
||||
)
|
||||
@@ -119,22 +120,22 @@ public interface GauntletConfig extends Config
|
||||
description = " change the size of resource icons.",
|
||||
hidden = true,
|
||||
unhide = "highlightResources",
|
||||
parent = "resources"
|
||||
titleSection = "resources"
|
||||
)
|
||||
default int resourceIconSize()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
@ConfigTitleSection(
|
||||
keyName = "boss",
|
||||
position = 5,
|
||||
name = "Boss",
|
||||
description = ""
|
||||
)
|
||||
default Stub boss()
|
||||
default Title boss()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -142,7 +143,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "countAttacks",
|
||||
name = "Count Attacks Display",
|
||||
description = "Count the attacks until the Hunllef switches their attack style and prayer.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default CounterDisplay countAttacks()
|
||||
{
|
||||
@@ -154,7 +155,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "highlightWidget",
|
||||
name = "Highlight Prayer (Prayer Tab)",
|
||||
description = "Highlights the correct prayer to use in your prayer book.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean highlightWidget()
|
||||
{
|
||||
@@ -166,7 +167,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "highlightPrayerInfobox",
|
||||
name = "Highlight Prayer (InfoBox)",
|
||||
description = "Highlights the correct prayer to use in an Infobox.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean highlightPrayerInfobox()
|
||||
{
|
||||
@@ -178,7 +179,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "flashOnWrongAttack",
|
||||
name = "Flash screen on Wrong Attack",
|
||||
description = "This will flash your screen if you attack with the wrong stlye.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean flashOnWrongAttack()
|
||||
{
|
||||
@@ -190,7 +191,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "uniquePrayerAudio",
|
||||
name = "Prayer Audio Warning",
|
||||
description = "Plays a unique sound whenever the boss is about to shut down your prayer.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean uniquePrayerAudio()
|
||||
{
|
||||
@@ -202,7 +203,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "uniquePrayerVisual",
|
||||
name = "Prayer Attack (Icon)",
|
||||
description = "Prayer attacks will have a unique overlay visual.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean uniquePrayerVisual()
|
||||
{
|
||||
@@ -214,7 +215,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "uniqueAttackVisual",
|
||||
name = "Magic & Range Attack (Icon)",
|
||||
description = "Magic and Range attacks will have a unique overlay visual.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean uniqueAttackVisual()
|
||||
{
|
||||
@@ -226,7 +227,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "attackVisualOutline",
|
||||
name = "Hunllefs' attacks (Outline)",
|
||||
description = "Outline the Hunllefs' attacks.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean attackVisualOutline()
|
||||
{
|
||||
@@ -238,7 +239,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "overlayBoss",
|
||||
name = "Outline Hunllef (Color)",
|
||||
description = "Overlay Hunllef while you are on the wrong prayer with an color denoting it's current attack style.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean overlayBoss()
|
||||
{
|
||||
@@ -251,7 +252,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "overlayBossPrayer",
|
||||
name = "Hunllef Overlay (Icons)",
|
||||
description = "Overlay the Hunllef with an icon denoting it's current attack style.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean overlayBossPrayer()
|
||||
{
|
||||
@@ -263,7 +264,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "overlayTornadoes",
|
||||
name = "Show Tornado Decay",
|
||||
description = "Display the amount of ticks left until the tornadoes decay.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default boolean overlayTornadoes()
|
||||
{
|
||||
@@ -279,22 +280,22 @@ public interface GauntletConfig extends Config
|
||||
keyName = "projectileIconSize",
|
||||
name = "Hunllef Projectile Icon Size",
|
||||
description = " change the size of Projectile icons.",
|
||||
parent = "boss"
|
||||
titleSection = "boss"
|
||||
)
|
||||
default int projectileIconSize()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 18,
|
||||
@ConfigTitleSection(
|
||||
keyName = "timer",
|
||||
position = 18,
|
||||
name = "Timer",
|
||||
description = ""
|
||||
)
|
||||
default Stub timer()
|
||||
default Title timer()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -302,7 +303,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "displayTimerWidget",
|
||||
name = "Show Gauntlet timer overlay",
|
||||
description = "Display a timer widget that tracks your gauntlet progress.",
|
||||
parent = "timer"
|
||||
titleSection = "timer"
|
||||
)
|
||||
default boolean displayTimerWidget()
|
||||
{
|
||||
@@ -314,7 +315,7 @@ public interface GauntletConfig extends Config
|
||||
keyName = "displayTimerChat",
|
||||
name = "Show Gauntlet timer chat message",
|
||||
description = "Display a chat message that tracks your gauntlet progress.",
|
||||
parent = "timer"
|
||||
titleSection = "timer"
|
||||
)
|
||||
default boolean displayTimerChat()
|
||||
{
|
||||
|
||||
@@ -27,8 +27,9 @@ package net.runelite.client.plugins.gpu;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
import static net.runelite.client.plugins.gpu.GpuPlugin.MAX_DISTANCE;
|
||||
import static net.runelite.client.plugins.gpu.GpuPlugin.MAX_FOG_DEPTH;
|
||||
import net.runelite.client.plugins.gpu.config.AnisotropicFilteringMode;
|
||||
@@ -37,15 +38,15 @@ import net.runelite.client.plugins.gpu.config.AntiAliasingMode;
|
||||
@ConfigGroup("gpu")
|
||||
public interface GpuPluginConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "drawingStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "drawingTitle",
|
||||
name = "Drawing",
|
||||
description = "",
|
||||
position = 1
|
||||
)
|
||||
default Stub drawingStub()
|
||||
default Title drawingTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@Range(
|
||||
@@ -57,7 +58,7 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Draw Distance",
|
||||
description = "Draw distance",
|
||||
position = 2,
|
||||
parent = "drawingStub"
|
||||
titleSection = "drawingTitle"
|
||||
)
|
||||
default int drawDistance()
|
||||
{
|
||||
@@ -69,22 +70,22 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Remove Color Banding",
|
||||
description = "Smooths out the color banding that is present in the CPU renderer",
|
||||
position = 3,
|
||||
parent = "drawingStub"
|
||||
titleSection = "drawingTitle"
|
||||
)
|
||||
default boolean smoothBanding()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "ppStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "ppTitle",
|
||||
name = "Post processing",
|
||||
description = "",
|
||||
position = 4
|
||||
)
|
||||
default Stub ppStub()
|
||||
default Title ppTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -92,7 +93,7 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Anti Aliasing",
|
||||
description = "Configures the anti-aliasing mode",
|
||||
position = 5,
|
||||
parent = "ppStub"
|
||||
titleSection = "ppTitle"
|
||||
)
|
||||
default AntiAliasingMode antiAliasingMode()
|
||||
{
|
||||
@@ -104,22 +105,22 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Anisotropic Filtering",
|
||||
description = "Configures the anisotropic filtering mode",
|
||||
position = 6,
|
||||
parent = "ppStub"
|
||||
titleSection = "ppTitle"
|
||||
)
|
||||
default AnisotropicFilteringMode anisotropicFilteringMode()
|
||||
{
|
||||
return AnisotropicFilteringMode.DISABLED;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "fogStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "fogTitle",
|
||||
name = "Fog",
|
||||
description = "",
|
||||
position = 7
|
||||
)
|
||||
default Stub fogStub()
|
||||
default Title fogTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@Range(
|
||||
@@ -130,7 +131,7 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Depth",
|
||||
description = "Distance from the scene edge the fog starts",
|
||||
position = 8,
|
||||
parent = "fogStub"
|
||||
titleSection = "fogTitle"
|
||||
)
|
||||
default int fogDepth()
|
||||
{
|
||||
@@ -145,7 +146,7 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Roundness",
|
||||
description = "Fog circularity in %",
|
||||
position = 9,
|
||||
parent = "fogStub"
|
||||
titleSection = "fogTitle"
|
||||
)
|
||||
default int fogCircularity()
|
||||
{
|
||||
@@ -160,7 +161,7 @@ public interface GpuPluginConfig extends Config
|
||||
name = "Density",
|
||||
description = "Relative fog thickness",
|
||||
position = 10,
|
||||
parent = "fogStub"
|
||||
titleSection = "fogTitle"
|
||||
)
|
||||
default int fogDensity()
|
||||
{
|
||||
|
||||
@@ -30,7 +30,8 @@ import net.runelite.client.config.Alpha;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
import net.runelite.client.plugins.grounditems.config.ItemHighlightMode;
|
||||
import net.runelite.client.plugins.grounditems.config.MenuHighlightMode;
|
||||
import net.runelite.client.plugins.grounditems.config.PriceDisplayMode;
|
||||
@@ -40,15 +41,15 @@ import net.runelite.client.plugins.grounditems.config.ValueCalculationMode;
|
||||
@ConfigGroup("grounditems")
|
||||
public interface GroundItemsConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "colorsStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "colorsTitle",
|
||||
name = "Colors",
|
||||
description = "",
|
||||
position = 1
|
||||
)
|
||||
default Stub colorsStub()
|
||||
default Title colorsTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -56,7 +57,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Default items",
|
||||
description = "Configures the color for default, non-highlighted items",
|
||||
position = 2,
|
||||
parent = "colorsStub"
|
||||
titleSection = "colorsTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color defaultColor()
|
||||
@@ -69,7 +70,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlighted items",
|
||||
description = "Configures the color for highlighted items",
|
||||
position = 3,
|
||||
parent = "colorsStub"
|
||||
titleSection = "colorsTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color highlightedColor()
|
||||
@@ -82,7 +83,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Hidden items",
|
||||
description = "Configures the color for hidden items in right-click menu and when holding ALT",
|
||||
position = 4,
|
||||
parent = "colorsStub"
|
||||
titleSection = "colorsTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color hiddenColor()
|
||||
@@ -90,15 +91,15 @@ public interface GroundItemsConfig extends Config
|
||||
return Color.GRAY;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightedStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "highlightedTitle",
|
||||
name = "Highlighted",
|
||||
description = "",
|
||||
position = 5
|
||||
)
|
||||
default Stub highlightedStub()
|
||||
default Title highlightedTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -106,7 +107,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlighted Items",
|
||||
description = "Configures specifically highlighted ground items. Format: (item), (item)",
|
||||
position = 6,
|
||||
parent = "highlightedStub"
|
||||
titleSection = "highlightedTitle"
|
||||
)
|
||||
default String getHighlightItems()
|
||||
{
|
||||
@@ -125,7 +126,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Show Highlighted items only",
|
||||
description = "Configures whether or not to draw items only on your highlighted list",
|
||||
position = 7,
|
||||
parent = "highlightedStub"
|
||||
titleSection = "highlightedTitle"
|
||||
)
|
||||
default boolean showHighlightedOnly()
|
||||
{
|
||||
@@ -137,7 +138,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlighted Value Calculation",
|
||||
description = "Configures which coin value is used to determine highlight color",
|
||||
position = 8,
|
||||
parent = "highlightedStub"
|
||||
titleSection = "highlightedTitle"
|
||||
)
|
||||
default ValueCalculationMode valueCalculationMode()
|
||||
{
|
||||
@@ -149,7 +150,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlight > Value",
|
||||
description = "Configures highlighted ground items over either GE or HA value",
|
||||
position = 9,
|
||||
parent = "highlightedStub"
|
||||
titleSection = "highlightedTitle"
|
||||
)
|
||||
default int getHighlightOverValue()
|
||||
{
|
||||
@@ -161,22 +162,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Notify for Highlighted drops",
|
||||
description = "Configures whether or not to notify for drops on your highlighted list",
|
||||
position = 10,
|
||||
parent = "highlightStub"
|
||||
titleSection = "highlightTitle"
|
||||
)
|
||||
default boolean notifyHighlightedDrops()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "hiddenStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "hiddenTitle",
|
||||
name = "Hidden",
|
||||
description = "",
|
||||
position = 11
|
||||
)
|
||||
default Stub hiddenStub()
|
||||
default Title hiddenTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -184,7 +185,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Do not hide untradeables",
|
||||
description = "Configures whether or not untradeable items ignore hiding under settings",
|
||||
position = 12,
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
default boolean dontHideUntradeables()
|
||||
{
|
||||
@@ -196,7 +197,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Hidden Items",
|
||||
description = "Configures hidden ground items. Format: (item), (item)",
|
||||
position = 13,
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
default String getHiddenItems()
|
||||
{
|
||||
@@ -207,7 +208,7 @@ public interface GroundItemsConfig extends Config
|
||||
keyName = "hiddenItems",
|
||||
name = "",
|
||||
description = "",
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
void setHiddenItems(String key);
|
||||
|
||||
@@ -216,7 +217,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Recolor Menu Hidden Items",
|
||||
description = "Configures whether or not hidden items in right click menu will be recolored",
|
||||
position = 14,
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
default boolean recolorMenuHiddenItems()
|
||||
{
|
||||
@@ -228,7 +229,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Hide < Value",
|
||||
description = "Configures hidden ground items under both GE and HA value",
|
||||
position = 15,
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
default int getHideUnderValue()
|
||||
{
|
||||
@@ -240,7 +241,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Hide Hidden",
|
||||
description = "Remove take option for items that are on the hidden items list.",
|
||||
position = 16,
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
default boolean removeIgnored()
|
||||
{
|
||||
@@ -252,22 +253,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Right click hidden items",
|
||||
description = "Places hidden items below the 'Walk here' option, making it so that you need to right click to pick them up",
|
||||
position = 17,
|
||||
parent = "hiddenStub"
|
||||
titleSection = "hiddenTitle"
|
||||
)
|
||||
default boolean rightClickHidden()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "highlightTitle",
|
||||
name = "Highlight",
|
||||
description = "",
|
||||
position = 18
|
||||
)
|
||||
default Stub highlightStub()
|
||||
default Title highlightTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -275,7 +276,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlight Tiles",
|
||||
description = "Configures whether or not to highlight tiles containing ground items",
|
||||
position = 19,
|
||||
parent = "highlightStub"
|
||||
titleSection = "highlightTitle"
|
||||
)
|
||||
default boolean highlightTiles()
|
||||
{
|
||||
@@ -287,7 +288,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Item Highlight Mode",
|
||||
description = "Configures how ground items will be highlighted",
|
||||
position = 20,
|
||||
parent = "highlightStub"
|
||||
titleSection = "highlightTitle"
|
||||
)
|
||||
default ItemHighlightMode itemHighlightMode()
|
||||
{
|
||||
@@ -299,22 +300,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Menu Highlight Mode",
|
||||
description = "Configures what to highlight in right-click menu",
|
||||
position = 21,
|
||||
parent = "highlightStub"
|
||||
titleSection = "highlightTitle"
|
||||
)
|
||||
default MenuHighlightMode menuHighlightMode()
|
||||
{
|
||||
return MenuHighlightMode.NAME;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "lowValueStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "lowValueTitle",
|
||||
name = "Low value",
|
||||
description = "",
|
||||
position = 22
|
||||
)
|
||||
default Stub lowValueStub()
|
||||
default Title lowValueTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -322,7 +323,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Low value color",
|
||||
description = "Configures the color for low value items",
|
||||
position = 23,
|
||||
parent = "lowValueStub"
|
||||
titleSection = "lowValueTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color lowValueColor()
|
||||
@@ -335,7 +336,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Low value price",
|
||||
description = "Configures the start price for low value items",
|
||||
position = 24,
|
||||
parent = "lowValueStub"
|
||||
titleSection = "lowValueTitle"
|
||||
)
|
||||
default int lowValuePrice()
|
||||
{
|
||||
@@ -347,22 +348,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Notify for low value drops",
|
||||
description = "Configures whether or not to notify for drops of low value",
|
||||
position = 25,
|
||||
parent = "lowValueStub"
|
||||
titleSection = "lowValueTitle"
|
||||
)
|
||||
default boolean notifyLowValueDrops()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "mediumValueStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "mediumValueTitle",
|
||||
name = "Medium value",
|
||||
description = "",
|
||||
position = 26
|
||||
)
|
||||
default Stub mediumValueStub()
|
||||
default Title mediumValueTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -370,7 +371,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Medium value color",
|
||||
description = "Configures the color for medium value items",
|
||||
position = 27,
|
||||
parent = "mediumValueStub"
|
||||
titleSection = "mediumValueTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color mediumValueColor()
|
||||
@@ -383,7 +384,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Medium value price",
|
||||
description = "Configures the start price for medium value items",
|
||||
position = 28,
|
||||
parent = "mediumValueStub"
|
||||
titleSection = "mediumValueTitle"
|
||||
)
|
||||
default int mediumValuePrice()
|
||||
{
|
||||
@@ -395,22 +396,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Notify for medium value drops",
|
||||
description = "Configures whether or not to notify for drops of medium value",
|
||||
position = 29,
|
||||
parent = "mediumValueStub"
|
||||
titleSection = "mediumValueTitle"
|
||||
)
|
||||
default boolean notifyMediumValueDrops()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highValueStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "highValueTitle",
|
||||
name = "High value",
|
||||
description = "",
|
||||
position = 30
|
||||
)
|
||||
default Stub highValueStub()
|
||||
default Title highValueTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -418,7 +419,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "High value color",
|
||||
description = "Configures the color for high value items",
|
||||
position = 31,
|
||||
parent = "highValueStub"
|
||||
titleSection = "highValueTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color highValueColor()
|
||||
@@ -431,7 +432,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "High value price",
|
||||
description = "Configures the start price for high value items",
|
||||
position = 32,
|
||||
parent = "highValueStub"
|
||||
titleSection = "highValueTitle"
|
||||
)
|
||||
default int highValuePrice()
|
||||
{
|
||||
@@ -443,22 +444,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Notify for high value drops",
|
||||
description = "Configures whether or not to notify for drops of high value",
|
||||
position = 33,
|
||||
parent = "highValueStub"
|
||||
titleSection = "highValueTitle"
|
||||
)
|
||||
default boolean notifyHighValueDrops()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "insaneValueStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "insaneValueTitle",
|
||||
name = "Insane value",
|
||||
description = "",
|
||||
position = 34
|
||||
)
|
||||
default Stub insaneValueStub()
|
||||
default Title insaneValueTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -466,7 +467,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Insane value items color",
|
||||
description = "Configures the color for insane value items",
|
||||
position = 35,
|
||||
parent = "insaneValueStub"
|
||||
titleSection = "insaneValueTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color insaneValueColor()
|
||||
@@ -479,7 +480,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Insane value price",
|
||||
description = "Configures the start price for insane value items",
|
||||
position = 36,
|
||||
parent = "insaneValueStub"
|
||||
titleSection = "insaneValueTitle"
|
||||
)
|
||||
default int insaneValuePrice()
|
||||
{
|
||||
@@ -491,22 +492,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Notify for insane value drops",
|
||||
description = "Configures whether or not to notify for drops of insane value",
|
||||
position = 37,
|
||||
parent = "insaneValueStub"
|
||||
titleSection = "insaneValueTitle"
|
||||
)
|
||||
default boolean notifyInsaneValueDrops()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "priceStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "priceTitle",
|
||||
name = "Price",
|
||||
description = "",
|
||||
position = 38
|
||||
)
|
||||
default Stub priceStub()
|
||||
default Title priceTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -514,7 +515,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Price Display Mode",
|
||||
description = "Configures what price types are shown alongside of ground item name",
|
||||
position = 39,
|
||||
parent = "priceStub"
|
||||
titleSection = "priceTitle"
|
||||
)
|
||||
default PriceDisplayMode priceDisplayMode()
|
||||
{
|
||||
@@ -526,22 +527,22 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Sort by GE price",
|
||||
description = "Sorts ground items by GE price, instead of alch value",
|
||||
position = 40,
|
||||
parent = "priceStub"
|
||||
titleSection = "priceTitle"
|
||||
)
|
||||
default boolean sortByGEPrice()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "miscStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "miscTitle",
|
||||
name = "Miscellaneous",
|
||||
description = "",
|
||||
position = 41
|
||||
)
|
||||
default Stub miscStub()
|
||||
default Title miscTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -549,7 +550,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Show Menu Item Quantities",
|
||||
description = "Configures whether or not to show the item quantities in the menu",
|
||||
position = 42,
|
||||
parent = "miscStub"
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default boolean showMenuItemQuantities()
|
||||
{
|
||||
@@ -561,7 +562,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Collapse ground item menu entries",
|
||||
description = "Collapses ground item menu entries together and appends count",
|
||||
position = 43,
|
||||
parent = "miscStub"
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default boolean collapseEntries()
|
||||
{
|
||||
@@ -573,7 +574,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Only show loot",
|
||||
description = "Only shows drops from NPCs and players",
|
||||
position = 44,
|
||||
parent = "miscStub"
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default boolean onlyShowLoot()
|
||||
{
|
||||
@@ -585,7 +586,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Show time remaining",
|
||||
description = "Turn on a countdown timer to show how long an item will remain on the ground",
|
||||
position = 45,
|
||||
parent = "miscStub"
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default TimerDisplayMode showGroundItemDuration()
|
||||
{
|
||||
@@ -597,7 +598,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Delay for double-tap ALT to hide",
|
||||
description = "Decrease this number if you accidentally hide ground items often. (0 = Disabled)",
|
||||
position = 46,
|
||||
parent = "miscStub"
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default int doubleTapDelay()
|
||||
{
|
||||
@@ -609,31 +610,20 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Text Outline",
|
||||
description = "Use an outline around text instead of a text shadow",
|
||||
position = 47,
|
||||
parent = "miscStub"
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default boolean toggleOutline()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showTimer",
|
||||
name = "Show ground item tick countdown timer",
|
||||
description = "Shows how many ticks left until disappearing.",
|
||||
position = 48,
|
||||
parent = "miscStub"
|
||||
)
|
||||
default boolean showTimer()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@Alpha
|
||||
@ConfigItem(
|
||||
keyName = "bordercolor",
|
||||
name = "Border color",
|
||||
description = "Change the border color",
|
||||
position = 49
|
||||
position = 48,
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default Color bordercolor()
|
||||
{
|
||||
@@ -641,14 +631,26 @@ public interface GroundItemsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "xpStub",
|
||||
keyName = "showTimer",
|
||||
name = "Show ground item tick countdown timer",
|
||||
description = "Shows how many ticks left until disappearing.",
|
||||
position = 49,
|
||||
titleSection = "miscTitle"
|
||||
)
|
||||
default boolean showTimer()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigTitleSection(
|
||||
keyName = "xpTitle",
|
||||
name = "XP",
|
||||
description = "Highlights various items that give xp",
|
||||
position = 50
|
||||
)
|
||||
default Stub xpStub()
|
||||
default Title xpTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -656,7 +658,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlight Herblore xp",
|
||||
description = "Highlight Herblore xp related items.",
|
||||
position = 51,
|
||||
parent = "xpStub"
|
||||
titleSection = "xpTitle"
|
||||
)
|
||||
default boolean highlightHerblore()
|
||||
{
|
||||
@@ -668,7 +670,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Herblore Color",
|
||||
description = "Color of Herblore xp items.",
|
||||
position = 52,
|
||||
parent = "xpStub"
|
||||
titleSection = "xpTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color herbloreColor()
|
||||
@@ -681,7 +683,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Highlight Prayer xp",
|
||||
description = "Highlight Prayer xp related items.",
|
||||
position = 53,
|
||||
parent = "xpStub"
|
||||
titleSection = "xpTitle"
|
||||
)
|
||||
default boolean highlightPrayer()
|
||||
{
|
||||
@@ -693,7 +695,7 @@ public interface GroundItemsConfig extends Config
|
||||
name = "Prayer Color",
|
||||
description = "Color of Prayer xp items.",
|
||||
position = 54,
|
||||
parent = "xpStub"
|
||||
titleSection = "xpTitle"
|
||||
)
|
||||
@Alpha
|
||||
default Color prayerColor()
|
||||
|
||||
@@ -30,6 +30,7 @@ package net.runelite.client.plugins.hideprayers;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.plugins.hideprayers.util.Armadyl;
|
||||
import net.runelite.client.plugins.hideprayers.util.Bandos;
|
||||
import net.runelite.client.plugins.hideprayers.util.Barrows;
|
||||
@@ -43,12 +44,45 @@ import net.runelite.client.plugins.hideprayers.util.Zulrah;
|
||||
@ConfigGroup("hideprayers")
|
||||
public interface HidePrayersConfig extends Config
|
||||
{
|
||||
@ConfigSection(
|
||||
name = "Individual Prayers",
|
||||
description = "",
|
||||
position = 0,
|
||||
keyName = "individualPrayersSection"
|
||||
)
|
||||
default boolean individualPrayersSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "PvM Prayers",
|
||||
description = "",
|
||||
position = 1,
|
||||
keyName = "pvmSection"
|
||||
)
|
||||
default boolean pvmSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "PvP Prayers",
|
||||
description = "",
|
||||
position = 2,
|
||||
keyName = "pvpSection"
|
||||
)
|
||||
default boolean pvpSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
keyName = "showindividualprayers",
|
||||
name = "Hide Individual Prayers",
|
||||
description = "Hide/Show Prayers.",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
disabledBy = "getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean showindividualprayers()
|
||||
@@ -61,7 +95,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowTHICK_SKIN",
|
||||
name = "Show Thick Skin",
|
||||
description = "Hide/Show Thick Skin",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -75,7 +109,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowBURST_OF_STRENGTH",
|
||||
name = "Show Burst of Strength",
|
||||
description = "Hide/Show Burst of Strength",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -89,7 +123,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowCLARITY_OF_THOUGHT",
|
||||
name = "Show Clarity of Thought",
|
||||
description = "Hide/Show Clarity of Thought",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "Showindividualprayers"
|
||||
)
|
||||
@@ -103,7 +137,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowSHARP_EYE",
|
||||
name = "Show Sharp Eye",
|
||||
description = "Hide/Show Sharp Eye",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -117,7 +151,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowMYSTIC_WILL",
|
||||
name = "Show Mystic Will",
|
||||
description = "Hide/Show Mystic Will",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -131,7 +165,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowROCK_SKIN",
|
||||
name = "Show Rock Skin",
|
||||
description = "Hide/Show Rock Skin",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -145,7 +179,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowSUPERHUMAN_STRENGTH",
|
||||
name = "Show Super Human Strength",
|
||||
description = "Hide/Show Super Human Strength",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -159,7 +193,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowIMPROVED_REFLEXES",
|
||||
name = "Show Improved_Reflexes",
|
||||
description = "Hide/Show Improved_Reflexes",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -173,7 +207,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowRapidRestore",
|
||||
name = "Show Rapid Restore",
|
||||
description = "Hide/Show Rapid Restore",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -187,7 +221,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowRapidHeal",
|
||||
name = "Show Rapid Heal",
|
||||
description = "Hide/Show Rapid Heal",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -201,7 +235,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowProtectItem",
|
||||
name = "Show Protect Item",
|
||||
description = "Hide/Show Protect Item",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -215,7 +249,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowHAWK_EYE",
|
||||
name = "Show Hawk Eye",
|
||||
description = "Hide/Show Hawk Eye",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -229,7 +263,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowMYSTIC_LORE",
|
||||
name = "Show Mystic Lore",
|
||||
description = "Hide/Show Mystic Lore",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -244,7 +278,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowSteelSkin",
|
||||
name = "Show Steel Skin",
|
||||
description = "Hide/Show Steel skin",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -258,7 +292,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowUltimateStrength",
|
||||
name = "Show Ultimate Strength",
|
||||
description = "Hide/Show Ultimate strength",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -272,7 +306,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowIncredibleReflex",
|
||||
name = "Show Incredible Reflex",
|
||||
description = "Hide/Show Incredible Reflex",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -286,7 +320,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowPTFMagic",
|
||||
name = "Show Protect From Magic",
|
||||
description = "Hide/Show Protect From Magic",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -300,7 +334,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowPTFRange",
|
||||
name = "Show Protect From Range",
|
||||
description = "Hide/Show Protect from Range",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -314,7 +348,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowPTFMelee",
|
||||
name = "Show Protect From Melee",
|
||||
description = "Hide/Show Protect From Melee",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -328,7 +362,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowEagle",
|
||||
name = "Show Eagle Eye",
|
||||
description = "Hide/Show Eagle Eye",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -342,7 +376,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowMystic",
|
||||
name = "Show Mystic Might",
|
||||
description = "Hide/Show Mystic Might",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -356,7 +390,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowRETRIBUTION",
|
||||
name = "Show Retribution",
|
||||
description = "Hide/Show Retribution",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -370,7 +404,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowRedemption",
|
||||
name = "Show Redemption",
|
||||
description = "Hide/Show Redemption",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -384,7 +418,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowSmite",
|
||||
name = "Show Smite",
|
||||
description = "Hide/Show Smite",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -398,7 +432,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowPreserve",
|
||||
name = "Show Preserve",
|
||||
description = "Hide/Show Preserve",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -412,7 +446,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowChivalry",
|
||||
name = "Show Chivalry",
|
||||
description = "Hide/Show Chivalry",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -426,7 +460,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowPiety",
|
||||
name = "Show Piety",
|
||||
description = "Hide/Show Piety",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -440,7 +474,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowRigour",
|
||||
name = "Show Rigour",
|
||||
description = "Hide/Show Rigour",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -454,7 +488,7 @@ public interface HidePrayersConfig extends Config
|
||||
keyName = "ShowAugury",
|
||||
name = "Show Augury",
|
||||
description = "Hide/Show Augury",
|
||||
group = "Individual Prayers",
|
||||
section = "individualPrayersSection",
|
||||
hidden = true,
|
||||
unhide = "showindividualprayers"
|
||||
)
|
||||
@@ -466,11 +500,11 @@ public interface HidePrayersConfig extends Config
|
||||
// ----------------------------------------------------------- //
|
||||
|
||||
@ConfigItem(
|
||||
position = 29,
|
||||
position = 0,
|
||||
keyName = "getarmadylprayers",
|
||||
name = "enable Armadyl Prayers",
|
||||
description = "Shows prayers for Armadyl",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers"
|
||||
)
|
||||
default boolean getarmadylprayers()
|
||||
@@ -479,11 +513,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 30,
|
||||
position = 1,
|
||||
keyName = "armadyl",
|
||||
name = "Armadyl",
|
||||
description = "Shows prayers for Armadyl",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getarmadylprayers"
|
||||
)
|
||||
@@ -493,11 +527,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 31,
|
||||
position = 2,
|
||||
keyName = "getbarrowsprayers",
|
||||
name = "enable Barrows Prayers",
|
||||
description = "Shows prayers for Barrows",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getbarrowsprayers()
|
||||
@@ -506,11 +540,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 32,
|
||||
position = 3,
|
||||
keyName = "barrows",
|
||||
name = "Barrows",
|
||||
description = "Shows prayers for Barrows",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getbarrowsprayers"
|
||||
)
|
||||
@@ -520,11 +554,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 33,
|
||||
position = 4,
|
||||
keyName = "getbandosprayers",
|
||||
name = "enable Bandos Prayers",
|
||||
description = "Shows prayers for Bandos",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getbandosprayers()
|
||||
@@ -533,11 +567,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 34,
|
||||
position = 5,
|
||||
keyName = "bandos",
|
||||
name = "Bandos",
|
||||
description = "Shows prayers for Bandos",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getbandosprayers"
|
||||
)
|
||||
@@ -547,11 +581,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 35,
|
||||
position = 6,
|
||||
keyName = "getcerberusprayers",
|
||||
name = "enable Cerberus Prayers",
|
||||
description = "Shows prayers for Cerberus",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getvorkathprayers || getsaradominprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getcerberusprayers()
|
||||
@@ -560,11 +594,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 36,
|
||||
position = 7,
|
||||
keyName = "cerberus",
|
||||
name = "Cerberus",
|
||||
description = "Shows prayers for Cerberus",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getcerberusprayers"
|
||||
)
|
||||
@@ -574,11 +608,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 37,
|
||||
position = 8,
|
||||
keyName = "getsaradominprayers",
|
||||
name = "enable Saradomin Prayers",
|
||||
description = "Shows prayers for Saradomin",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getvorkathprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getsaradominprayers()
|
||||
@@ -587,11 +621,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 38,
|
||||
position = 9,
|
||||
keyName = "saradomin",
|
||||
name = "Saradomin",
|
||||
description = "Shows prayers for Saradomin",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getsaradominprayers"
|
||||
)
|
||||
@@ -601,11 +635,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 39,
|
||||
position = 10,
|
||||
keyName = "getvorkathprayers",
|
||||
name = "enable Vorkath Prayers",
|
||||
description = "Shows prayers for Vorkath",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getzamorakprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getvorkathprayers()
|
||||
@@ -614,11 +648,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 40,
|
||||
position = 11,
|
||||
keyName = "vorkath",
|
||||
name = "Vorkath",
|
||||
description = "Shows prayers for Vorkath",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getvorkathprayers"
|
||||
)
|
||||
@@ -628,11 +662,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 41,
|
||||
position = 12,
|
||||
keyName = "getzamorakprayers",
|
||||
name = "enable Zamorak Prayers",
|
||||
description = "Shows prayers for Zamorak",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzulrahprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getzamorakprayers()
|
||||
@@ -641,11 +675,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 42,
|
||||
position = 13,
|
||||
keyName = "zamorak",
|
||||
name = "Zamorak",
|
||||
description = "Shows prayers for Zamorak",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getzamorakprayers"
|
||||
)
|
||||
@@ -655,11 +689,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 43,
|
||||
position = 14,
|
||||
keyName = "getzulrahprayers",
|
||||
name = "enable Zulrah Prayers",
|
||||
description = "Shows prayers for Zulrah",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
disabledBy = "showindividualprayers || getpvpprayers || HideRapidHealRestore || getzamorakprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getzulrahprayers()
|
||||
@@ -668,11 +702,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 44,
|
||||
position = 15,
|
||||
keyName = "zulrah",
|
||||
name = "Zulrah",
|
||||
description = "Shows prayers for Zulrah",
|
||||
group = "PVM Prayers",
|
||||
section = "pvmSection",
|
||||
hidden = true,
|
||||
unhide = "getzulrahprayers"
|
||||
)
|
||||
@@ -684,11 +718,11 @@ public interface HidePrayersConfig extends Config
|
||||
// ----------------------------------------------------------- //
|
||||
|
||||
@ConfigItem(
|
||||
position = 45,
|
||||
position = 0,
|
||||
keyName = "getpvpprayers",
|
||||
name = "enable PVP Prayers",
|
||||
description = "Shows prayers based on prayer build",
|
||||
group = "PVP Prayers",
|
||||
section = "pvpSection",
|
||||
disabledBy = "showindividualprayers || getzulrahprayers || getzamorakprayers || getvorkathprayers || getsaradominprayers || getcerberusprayers || getbandosprayers || getbarrowsprayers || getarmadylprayers"
|
||||
)
|
||||
default boolean getpvpprayers()
|
||||
@@ -697,11 +731,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 46,
|
||||
position = 1,
|
||||
keyName = "pvpprayers",
|
||||
name = "PVP Prayers",
|
||||
description = "Shows prayers based on prayer build",
|
||||
group = "PVP Prayers",
|
||||
section = "pvpSection",
|
||||
hidden = true,
|
||||
unhide = "getpvpprayers"
|
||||
)
|
||||
@@ -711,11 +745,11 @@ public interface HidePrayersConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 47,
|
||||
position = 2,
|
||||
keyName = "HideRapidHealRestore",
|
||||
name = "Hide Rapid Heal and Rapid Restore",
|
||||
description = "Hides the Rapid Heal and Rapid Restore prayers",
|
||||
group = "PVP Prayers",
|
||||
section = "pvpSection",
|
||||
hidden = true,
|
||||
unhide = "getpvpprayers"
|
||||
)
|
||||
|
||||
@@ -27,6 +27,7 @@ package net.runelite.client.plugins.idlenotifier;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
|
||||
@ConfigGroup("idlenotifier")
|
||||
public interface IdleNotifierConfig extends Config
|
||||
@@ -85,7 +86,7 @@ public interface IdleNotifierConfig extends Config
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "movementidle",
|
||||
name = "Idle Movement Notifications",
|
||||
@@ -240,12 +241,24 @@ public interface IdleNotifierConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ConfigSection(
|
||||
position = 20,
|
||||
keyName = "pvpSection",
|
||||
name = "PvP",
|
||||
description = ""
|
||||
)
|
||||
default boolean pvpSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "pkers",
|
||||
name = "PKer Notifier",
|
||||
description = "Notifies if an attackable player based on your level range appears on screen.",
|
||||
position = 20,
|
||||
group = "PvP",
|
||||
position = 21,
|
||||
section = "pvpSection",
|
||||
warning = "This will not notify you if the player is in your cc or is online on your friends list."
|
||||
)
|
||||
default boolean notifyPkers()
|
||||
@@ -254,11 +267,11 @@ public interface IdleNotifierConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "resourceDoor",
|
||||
name = "Resource Door Notifier",
|
||||
description = "Notifies if the wilderness resource area door is opened",
|
||||
position = 21,
|
||||
group = "PvP"
|
||||
keyName = "resourceDoor",
|
||||
name = "Resource Door Notifier",
|
||||
description = "Notifies if the wilderness resource area door is opened",
|
||||
position = 22,
|
||||
section = "pvpSection"
|
||||
)
|
||||
default boolean notifyResourceDoor()
|
||||
{
|
||||
|
||||
@@ -28,27 +28,29 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("inferno")
|
||||
public interface InfernoConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
@ConfigTitleSection(
|
||||
keyName = "prayer",
|
||||
position = 0,
|
||||
name = "Prayer",
|
||||
description = ""
|
||||
)
|
||||
default Stub prayer()
|
||||
default Title prayer()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 1,
|
||||
keyName = "Prayer Helper",
|
||||
name = "Prayer Helper",
|
||||
description = "Indicates the correct prayer"
|
||||
description = "Indicates the correct prayer",
|
||||
titleSection = "prayer"
|
||||
)
|
||||
default boolean showPrayerHelp()
|
||||
{
|
||||
@@ -59,7 +61,8 @@ public interface InfernoConfig extends Config
|
||||
position = 2,
|
||||
keyName = "prayerHelperMode",
|
||||
name = "Prayer Helper Mode",
|
||||
description = "Display prayer indicator in the prayer tab or in the bottom right corner of the screen"
|
||||
description = "Display prayer indicator in the prayer tab or in the bottom right corner of the screen",
|
||||
titleSection = "prayer"
|
||||
)
|
||||
default InfernoPrayerOverlayMode prayerOverlayMode()
|
||||
{
|
||||
@@ -70,7 +73,8 @@ public interface InfernoConfig extends Config
|
||||
position = 3,
|
||||
keyName = "descendingBoxes",
|
||||
name = "Descending Boxes",
|
||||
description = "Draws timing boxes above the prayer icons, as if you were playing Piano Tiles"
|
||||
description = "Draws timing boxes above the prayer icons, as if you were playing Piano Tiles",
|
||||
titleSection = "prayer"
|
||||
)
|
||||
default boolean descendingBoxes()
|
||||
{
|
||||
@@ -81,29 +85,31 @@ public interface InfernoConfig extends Config
|
||||
position = 4,
|
||||
keyName = "indicateWhenPrayingCorrectly",
|
||||
name = "Indicate When Praying Correctly",
|
||||
description = "Indicate the correct prayer, even if you are already praying that prayer"
|
||||
description = "Indicate the correct prayer, even if you are already praying that prayer",
|
||||
titleSection = "prayer"
|
||||
)
|
||||
default boolean indicateWhenPrayingCorrectly()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
@ConfigTitleSection(
|
||||
keyName = "monsters",
|
||||
position = 5,
|
||||
name = "Monsters",
|
||||
description = ""
|
||||
)
|
||||
default Stub monsters()
|
||||
default Title monsters()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 6,
|
||||
keyName = "Nibbler Overlay",
|
||||
name = "Nibbler Overlay",
|
||||
description = "Shows if there are any Nibblers left"
|
||||
description = "Shows if there are any Nibblers left",
|
||||
titleSection = "monsters"
|
||||
)
|
||||
default boolean displayNibblerOverlay()
|
||||
{
|
||||
@@ -114,29 +120,31 @@ public interface InfernoConfig extends Config
|
||||
position = 7,
|
||||
keyName = "indicateActiveHealers",
|
||||
name = "Indicate Active Healers",
|
||||
description = "Indicate healers that are still healing Jad"
|
||||
description = "Indicate healers that are still healing Jad",
|
||||
titleSection = "monsters"
|
||||
)
|
||||
default boolean indicateActiveHealers()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 8,
|
||||
@ConfigTitleSection(
|
||||
keyName = "waves",
|
||||
position = 8,
|
||||
name = "Waves",
|
||||
description = ""
|
||||
)
|
||||
default Stub waves()
|
||||
default Title waves()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 9,
|
||||
keyName = "waveDisplay",
|
||||
name = "Wave display",
|
||||
description = "Shows monsters that will spawn on the selected wave(s)."
|
||||
description = "Shows monsters that will spawn on the selected wave(s).",
|
||||
titleSection = "waves"
|
||||
)
|
||||
default InfernoWaveDisplayMode waveDisplay()
|
||||
{
|
||||
@@ -147,7 +155,8 @@ public interface InfernoConfig extends Config
|
||||
position = 10,
|
||||
keyName = "getWaveOverlayHeaderColor",
|
||||
name = "Wave Header",
|
||||
description = "Color for Wave Header"
|
||||
description = "Color for Wave Header",
|
||||
titleSection = "waves"
|
||||
)
|
||||
default Color getWaveOverlayHeaderColor()
|
||||
{
|
||||
@@ -158,7 +167,8 @@ public interface InfernoConfig extends Config
|
||||
position = 11,
|
||||
keyName = "getWaveTextColor",
|
||||
name = "Wave Text Color",
|
||||
description = "Color for Wave Texts"
|
||||
description = "Color for Wave Texts",
|
||||
titleSection = "waves"
|
||||
)
|
||||
default Color getWaveTextColor()
|
||||
{
|
||||
|
||||
@@ -27,28 +27,29 @@ package net.runelite.client.plugins.lootingbagviewer;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("lootingbagviewer")
|
||||
public interface LootingBagViewerConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "overlayStub",
|
||||
name = "Overlays",
|
||||
description = "",
|
||||
position = 0
|
||||
@ConfigTitleSection(
|
||||
keyName = "overlayTitle",
|
||||
name = "Overlays",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub overlayStub()
|
||||
default Title overlayTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "renderViewer",
|
||||
name = "Render Viewer",
|
||||
description = "Shows second inventory on screen with looting bag items.",
|
||||
position = 1,
|
||||
parent = "overlayStub"
|
||||
keyName = "renderViewer",
|
||||
name = "Render Viewer",
|
||||
description = "Shows second inventory on screen with looting bag items.",
|
||||
position = 1,
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default boolean renderViewer()
|
||||
{
|
||||
@@ -56,11 +57,11 @@ public interface LootingBagViewerConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "renderLootingBag",
|
||||
name = "Render Looting Bag Worth",
|
||||
description = "Shows current amount of GP over the looting bag.",
|
||||
position = 2,
|
||||
parent = "overlayStub"
|
||||
keyName = "renderLootingBag",
|
||||
name = "Render Looting Bag Worth",
|
||||
description = "Shows current amount of GP over the looting bag.",
|
||||
position = 2,
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default boolean renderLootingBag()
|
||||
{
|
||||
|
||||
@@ -28,16 +28,28 @@ package net.runelite.client.plugins.loottracker;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
|
||||
@ConfigGroup("loottracker")
|
||||
public interface LootTrackerConfig extends Config
|
||||
{
|
||||
@ConfigSection(
|
||||
position = 1,
|
||||
keyName = "filterSection",
|
||||
name = "Filter",
|
||||
description = ""
|
||||
)
|
||||
default boolean filterSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "ignoredItems",
|
||||
name = "Ignored items",
|
||||
description = "Configures which items should be ignored when calculating loot prices.",
|
||||
position = 0,
|
||||
group = "Filters"
|
||||
section = "filterSection"
|
||||
)
|
||||
default String getIgnoredItems()
|
||||
{
|
||||
@@ -56,7 +68,7 @@ public interface LootTrackerConfig extends Config
|
||||
name = "Ignored NPCs",
|
||||
description = "Configures which NPCs should be ignored ",
|
||||
position = 1,
|
||||
group = "Filters"
|
||||
section = "filterSection"
|
||||
)
|
||||
default String getIgnoredNPCs()
|
||||
{
|
||||
@@ -128,7 +140,7 @@ public interface LootTrackerConfig extends Config
|
||||
name = "NPC Whitelist",
|
||||
description = "Only track drops from specific NPCs",
|
||||
position = 1,
|
||||
group = "Filters",
|
||||
section = "filterSection",
|
||||
disabledBy = "blacklistEnabled"
|
||||
)
|
||||
default boolean whitelistEnabled()
|
||||
@@ -141,7 +153,7 @@ public interface LootTrackerConfig extends Config
|
||||
name = "Whitelist",
|
||||
description = "Comma-separated list of NPCs to track drops from",
|
||||
position = 2,
|
||||
group = "Filters",
|
||||
section = "filterSection",
|
||||
hidden = true,
|
||||
unhide = "whitelistEnabled"
|
||||
)
|
||||
@@ -155,7 +167,7 @@ public interface LootTrackerConfig extends Config
|
||||
name = "NPC Blacklist",
|
||||
description = "Track drops from all NPCs except for specified ones",
|
||||
position = 3,
|
||||
group = "Filters",
|
||||
section = "filterSection",
|
||||
disabledBy = "whitelistEnabled"
|
||||
)
|
||||
default boolean blacklistEnabled()
|
||||
@@ -168,7 +180,7 @@ public interface LootTrackerConfig extends Config
|
||||
name = "Blacklist",
|
||||
description = "Comma-separated list of NPCs to not track drops from",
|
||||
position = 4,
|
||||
group = "Filters",
|
||||
section = "filterSection",
|
||||
hidden = true,
|
||||
unhide = "blacklistEnabled"
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,21 +30,22 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("objectindicators")
|
||||
public interface ObjectIndicatorsConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "overlayStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "overlayTitle",
|
||||
name = "Overlay Style",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub overlayStub()
|
||||
default Title overlayTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -52,7 +53,7 @@ public interface ObjectIndicatorsConfig extends Config
|
||||
keyName = "objectMarkerRenderStyle",
|
||||
name = "Highlight Style",
|
||||
description = "Highlight setting",
|
||||
parent = "overlayStub"
|
||||
titleSection = "overlayTitle"
|
||||
)
|
||||
default RenderStyle objectMarkerRenderStyle()
|
||||
{
|
||||
@@ -65,7 +66,7 @@ public interface ObjectIndicatorsConfig extends Config
|
||||
keyName = "objectMarkerOutlineRenderStyle",
|
||||
name = "Outline Style",
|
||||
description = "Highlight outline setting",
|
||||
parent = "overlayStub",
|
||||
titleSection = "overlayTitle",
|
||||
hidden = true,
|
||||
unhide = "objectMarkerRenderStyle",
|
||||
unhideValue = "OUTLINE"
|
||||
@@ -75,15 +76,15 @@ public interface ObjectIndicatorsConfig extends Config
|
||||
return OutlineRenderStyle.NORMAL_OUTLINE;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "colorStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "colorTitle",
|
||||
name = "Colors",
|
||||
description = "",
|
||||
position = 3
|
||||
)
|
||||
default Stub colorStub()
|
||||
default Title colorTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -91,7 +92,7 @@ public interface ObjectIndicatorsConfig extends Config
|
||||
keyName = "markerColor",
|
||||
name = "Marker color",
|
||||
description = "Configures the outer color of object marker",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color objectMarkerColor()
|
||||
{
|
||||
@@ -106,7 +107,7 @@ public interface ObjectIndicatorsConfig extends Config
|
||||
keyName = "objectMarkerAlpha",
|
||||
name = "Alpha",
|
||||
description = "Configures the opacity/alpha of object marker",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default int objectMarkerAlpha()
|
||||
{
|
||||
|
||||
@@ -28,21 +28,22 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("pileindicators")
|
||||
public interface PileIndicatorsConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "playerPilesStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "playerPilesTitle",
|
||||
name = "Player Piles",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub playerPilesStub()
|
||||
default Title playerPilesTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -50,7 +51,7 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "enablePlayers",
|
||||
name = "Enable Player Piling",
|
||||
description = "Enable the option to highlight players when they pile.",
|
||||
parent = "playerPilesStub"
|
||||
titleSection = "playerPilesTitle"
|
||||
)
|
||||
default boolean enablePlayers()
|
||||
{
|
||||
@@ -62,7 +63,7 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "wildyOnlyPlayer",
|
||||
name = "Wilderness Only",
|
||||
description = "Show player piling only when in the Wilderness.",
|
||||
parent = "playerPilesStub"
|
||||
titleSection = "playerPilesTitle"
|
||||
)
|
||||
default boolean wildyOnlyPlayer()
|
||||
{
|
||||
@@ -74,22 +75,22 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "playerPileColor",
|
||||
name = "Player Pile Color",
|
||||
description = "Color used for player piles.",
|
||||
parent = "playerPilesStub"
|
||||
titleSection = "playerPilesTitle"
|
||||
)
|
||||
default Color playerPileColor()
|
||||
{
|
||||
return Color.RED;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "npcPilesStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "npcPilesTitle",
|
||||
name = "NPC Piles",
|
||||
description = "",
|
||||
position = 4
|
||||
)
|
||||
default Stub npcPilesStub()
|
||||
default Title npcPilesTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -97,7 +98,7 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "enableNPCS",
|
||||
name = "Enable NPC Piling",
|
||||
description = "Enable the option to highlight NPCs when they pile.",
|
||||
parent = "npcPilesStub"
|
||||
titleSection = "npcPilesTitle"
|
||||
)
|
||||
default boolean enableNPCS()
|
||||
{
|
||||
@@ -109,22 +110,22 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "npcPileColor",
|
||||
name = "NPC Pile Color",
|
||||
description = "Color used for NPC piles.",
|
||||
parent = "npcPilesStub"
|
||||
titleSection = "npcPilesTitle"
|
||||
)
|
||||
default Color npcPileColor()
|
||||
{
|
||||
return Color.BLUE;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "mixedPilesStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "mixedPilesTitle",
|
||||
name = "Mixed Piles",
|
||||
description = "",
|
||||
position = 7
|
||||
)
|
||||
default Stub mixedPilesStub()
|
||||
default Title mixedPilesTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -132,22 +133,22 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "mixedPileColor",
|
||||
name = "Mixed Pile Color",
|
||||
description = "Color used for mixed piles.",
|
||||
parent = "mixedPilesStub"
|
||||
titleSection = "mixedPilesTitle"
|
||||
)
|
||||
default Color mixedPileColor()
|
||||
{
|
||||
return new Color(255, 0, 255);
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "pilesSizeStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "pilesSizeTitle",
|
||||
name = "Pile size",
|
||||
description = "",
|
||||
position = 9
|
||||
)
|
||||
default Stub pilesSizeStub()
|
||||
default Title pilesSizeTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@Range(
|
||||
@@ -158,22 +159,22 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "minimumPileSize",
|
||||
name = "Minimum Pile Size",
|
||||
description = "Any pile under this size will not show up. (Minimum: 2)",
|
||||
parent = "pilesSizeStub"
|
||||
titleSection = "pilesSizeTitle"
|
||||
)
|
||||
default int minimumPileSize()
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "miscellaneousStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "miscellaneousTitle",
|
||||
name = "Miscellaneous",
|
||||
description = "",
|
||||
position = 11
|
||||
)
|
||||
default Stub miscellaneousStub()
|
||||
default Title miscellaneousTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -181,7 +182,7 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "numberOnly",
|
||||
name = "Display Number Only",
|
||||
description = "Shorten \"PILE SIZE: 1\" to \"1\"",
|
||||
parent = "miscellaneousStub"
|
||||
titleSection = "miscellaneousTitle"
|
||||
)
|
||||
default boolean numberOnly()
|
||||
{
|
||||
@@ -193,7 +194,7 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "drawPileTile",
|
||||
name = "Draw Pile Tile",
|
||||
description = "Draws the tile of the pile for best visibility.",
|
||||
parent = "miscellaneousStub"
|
||||
titleSection = "miscellaneousTitle"
|
||||
)
|
||||
default boolean drawPileTile()
|
||||
{
|
||||
@@ -205,7 +206,7 @@ public interface PileIndicatorsConfig extends Config
|
||||
keyName = "drawPileHull",
|
||||
name = "Draw Pile Convex Hull",
|
||||
description = "Draws the hull of the pile for best visibility.",
|
||||
parent = "miscellaneousStub"
|
||||
titleSection = "miscellaneousTitle"
|
||||
)
|
||||
default boolean drawPileHull()
|
||||
{
|
||||
|
||||
@@ -30,19 +30,109 @@ import net.runelite.api.ClanMemberRank;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("playerindicators")
|
||||
public interface PlayerIndicatorsConfig extends Config
|
||||
{
|
||||
EnumSet<PlayerIndicationLocation> defaultPlayerIndicatorMode = EnumSet.complementOf(EnumSet.of(PlayerIndicationLocation.HULL));
|
||||
|
||||
@ConfigSection(
|
||||
name = "Yourself",
|
||||
description = "",
|
||||
position = 0,
|
||||
keyName = "yourselfSection"
|
||||
)
|
||||
default boolean yourselfSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Friends",
|
||||
description = "",
|
||||
position = 1,
|
||||
keyName = "friendsSection"
|
||||
)
|
||||
default boolean friendsSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Clan",
|
||||
description = "",
|
||||
position = 2,
|
||||
keyName = "clanSection"
|
||||
)
|
||||
default boolean clanSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Team",
|
||||
description = "",
|
||||
position = 3,
|
||||
keyName = "teamSection"
|
||||
)
|
||||
default boolean teamSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Target",
|
||||
description = "",
|
||||
position = 4,
|
||||
keyName = "targetSection"
|
||||
)
|
||||
default boolean targetSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Other",
|
||||
description = "",
|
||||
position = 5,
|
||||
keyName = "otherSection"
|
||||
)
|
||||
default boolean otherSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Callers",
|
||||
description = "",
|
||||
position = 6,
|
||||
keyName = "callersSection"
|
||||
)
|
||||
default boolean callersSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
name = "Miscellaneous",
|
||||
description = "",
|
||||
position = 7,
|
||||
keyName = "miscellaneousSection"
|
||||
)
|
||||
default boolean miscellaneousSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
keyName = "drawOwnName",
|
||||
name = "Highlight own player",
|
||||
description = "Configures whether or not your own player should be highlighted",
|
||||
group = "Yourself"
|
||||
section = "yourselfSection"
|
||||
)
|
||||
default boolean highlightOwnPlayer()
|
||||
{
|
||||
@@ -54,7 +144,7 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
keyName = "ownNameColor",
|
||||
name = "Own player color",
|
||||
description = "Color of your own player",
|
||||
group = "Yourself"
|
||||
section = "yourselfSection"
|
||||
)
|
||||
default Color getOwnPlayerColor()
|
||||
{
|
||||
@@ -66,7 +156,7 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
keyName = "selfIndicatorModes",
|
||||
name = "Indicator Mode",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Yourself",
|
||||
section = "yourselfSection",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
)
|
||||
default EnumSet<PlayerIndicationLocation> selfIndicatorModes()
|
||||
@@ -75,11 +165,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 3,
|
||||
position = 0,
|
||||
keyName = "drawFriendNames",
|
||||
name = "Highlight friends",
|
||||
description = "Configures whether or not friends should be highlighted",
|
||||
group = "Friends"
|
||||
section = "friendsSection"
|
||||
)
|
||||
default boolean highlightFriends()
|
||||
{
|
||||
@@ -87,11 +177,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 4,
|
||||
position = 1,
|
||||
keyName = "friendNameColor",
|
||||
name = "Friend color",
|
||||
description = "Color of friend names",
|
||||
group = "Friends"
|
||||
section = "friendsSection"
|
||||
)
|
||||
default Color getFriendColor()
|
||||
{
|
||||
@@ -99,11 +189,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
position = 2,
|
||||
keyName = "friendIndicatorMode",
|
||||
name = "Indicator Mode",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Friends",
|
||||
section = "friendsSection",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
|
||||
)
|
||||
@@ -113,11 +203,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 6,
|
||||
position = 0,
|
||||
keyName = "highlightClan",
|
||||
name = "Highlight clan members",
|
||||
description = "Configures whether or clan members should be highlighted",
|
||||
group = "Clan"
|
||||
section = "clanSection"
|
||||
)
|
||||
default boolean highlightClan()
|
||||
{
|
||||
@@ -125,11 +215,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 7,
|
||||
position = 1,
|
||||
keyName = "clanMemberColor",
|
||||
name = "Clan member color",
|
||||
description = "Color of clan members",
|
||||
group = "Clan"
|
||||
section = "clanSection"
|
||||
)
|
||||
default Color getClanColor()
|
||||
{
|
||||
@@ -137,11 +227,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 8,
|
||||
position = 2,
|
||||
keyName = "clanIndicatorModes",
|
||||
name = "Indicator Mode",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Clan",
|
||||
section = "clanSection",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
|
||||
)
|
||||
@@ -151,11 +241,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 9,
|
||||
position = 3,
|
||||
keyName = "clanMenuIcons",
|
||||
name = "Show clan ranks",
|
||||
description = "Add clan rank to right click menu and next to player names",
|
||||
group = "Clan"
|
||||
section = "clanSection"
|
||||
)
|
||||
default boolean showClanRanks()
|
||||
{
|
||||
@@ -163,11 +253,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 10,
|
||||
position = 0,
|
||||
keyName = "drawTeamMemberNames",
|
||||
name = "Highlight team members",
|
||||
description = "Configures whether or not team members should be highlighted",
|
||||
group = "Team"
|
||||
section = "teamSection"
|
||||
)
|
||||
default boolean highlightTeamMembers()
|
||||
{
|
||||
@@ -175,11 +265,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 11,
|
||||
position = 1,
|
||||
keyName = "teamMemberColor",
|
||||
name = "Team member color",
|
||||
description = "Color of team members",
|
||||
group = "Team"
|
||||
section = "teamSection"
|
||||
)
|
||||
default Color getTeamcolor()
|
||||
{
|
||||
@@ -187,11 +277,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 12,
|
||||
position = 2,
|
||||
keyName = "teamIndicatorModes",
|
||||
name = "Indicator Mode",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Team",
|
||||
section = "teamSection",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
|
||||
)
|
||||
@@ -201,11 +291,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 13,
|
||||
position = 0,
|
||||
keyName = "drawTargetsNames",
|
||||
name = "Highlight attackable targets",
|
||||
description = "Configures whether or not attackable targets should be highlighted",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default boolean highlightTargets()
|
||||
{
|
||||
@@ -213,11 +303,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 14,
|
||||
position = 1,
|
||||
keyName = "targetColor",
|
||||
name = "Target member color",
|
||||
description = "Color of attackable targets",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default Color getTargetsColor()
|
||||
{
|
||||
@@ -225,11 +315,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 15,
|
||||
position = 2,
|
||||
keyName = "targetsIndicatorModes",
|
||||
name = "Indicator Mode",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Target",
|
||||
section = "targetSection",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
|
||||
)
|
||||
@@ -239,11 +329,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 16,
|
||||
position = 3,
|
||||
keyName = "showAgility",
|
||||
name = "Show Agility Levels",
|
||||
description = "Show the agility level of attackable players next to their name while in the wilderness.",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default boolean showAgilityLevel()
|
||||
{
|
||||
@@ -251,11 +341,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 17,
|
||||
position = 4,
|
||||
keyName = "agilityFormat",
|
||||
name = "Format",
|
||||
description = "Whether to show the agility level as text, or as icons (1 skull >= 1st threshold, 2 skulls >= 2nd threshold).",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default PlayerIndicatorsPlugin.AgilityFormats agilityFormat()
|
||||
{
|
||||
@@ -263,11 +353,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 18,
|
||||
position = 5,
|
||||
keyName = "agilityFirstThreshold",
|
||||
name = "First Threshold",
|
||||
description = "When showing agility as icons, show one icon for agility >= this level.",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default int agilityFirstThreshold()
|
||||
{
|
||||
@@ -275,11 +365,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 19,
|
||||
position = 6,
|
||||
keyName = "agilitySecondThreshold",
|
||||
name = "Second Threshold",
|
||||
description = "When showing agility as icons, show two icons for agility >= this level.",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default int agilitySecondThreshold()
|
||||
{
|
||||
@@ -287,11 +377,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 20,
|
||||
position = 7,
|
||||
keyName = "playerSkull",
|
||||
name = "Show Skull Information",
|
||||
description = "shows",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default boolean playerSkull()
|
||||
{
|
||||
@@ -299,11 +389,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 21,
|
||||
position = 8,
|
||||
keyName = "minimapSkullLocation",
|
||||
name = "Skull Icon Location",
|
||||
description = "The location of the skull icon for skulled players",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default PlayerIndicatorsPlugin.MinimapSkullLocations skullLocation()
|
||||
{
|
||||
@@ -311,11 +401,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 22,
|
||||
position = 9,
|
||||
keyName = "targetRisk",
|
||||
name = "Indicate Target Risk",
|
||||
description = "Indicates the risk (in K GP) of the target",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default boolean targetRisk()
|
||||
{
|
||||
@@ -323,11 +413,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 23,
|
||||
position = 10,
|
||||
keyName = "showCombat",
|
||||
name = "Show Combat Levels",
|
||||
description = "Show the combat level of attackable players next to their name.",
|
||||
group = "Target"
|
||||
section = "targetSection"
|
||||
)
|
||||
default boolean showCombatLevel()
|
||||
{
|
||||
@@ -335,11 +425,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 24,
|
||||
position = 0,
|
||||
keyName = "drawOtherPlayerNames",
|
||||
name = "Highlight other players",
|
||||
description = "Configures whether or not other players should be highlighted",
|
||||
group = "Other"
|
||||
section = "otherSection"
|
||||
)
|
||||
default boolean highlightOtherPlayers()
|
||||
{
|
||||
@@ -347,11 +437,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 25,
|
||||
position = 1,
|
||||
keyName = "otherPlayerColor",
|
||||
name = "Other player color",
|
||||
description = "Color of other players' names",
|
||||
group = "Other"
|
||||
section = "otherSection"
|
||||
)
|
||||
default Color getOtherColor()
|
||||
{
|
||||
@@ -359,11 +449,11 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 26,
|
||||
position = 2,
|
||||
keyName = "otherIndicatorModes",
|
||||
name = "Indicator Mode",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Other",
|
||||
section = "otherSection",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
|
||||
)
|
||||
@@ -372,38 +462,25 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
return defaultPlayerIndicatorMode;
|
||||
}
|
||||
|
||||
|
||||
@ConfigItem(
|
||||
position = 11,
|
||||
keyName = "playerNamePosition",
|
||||
name = "Name position",
|
||||
description = "Configures the position of drawn player names, or if they should be disabled",
|
||||
parent = "Other Settings"
|
||||
)
|
||||
default PlayerNameLocation playerNamePosition()
|
||||
{
|
||||
return PlayerNameLocation.ABOVE_HEAD;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
@ConfigTitleSection(
|
||||
keyName = "callerConfiguration",
|
||||
position = 0,
|
||||
name = "Caller Configuration",
|
||||
description = "",
|
||||
group = "Callers"
|
||||
section = "callersSection"
|
||||
)
|
||||
default Stub callerConfiguration()
|
||||
default Title callerConfiguration()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 30,
|
||||
position = 1,
|
||||
keyName = "highlightCallers",
|
||||
name = "Highlight Callers",
|
||||
description = "Highlights Callers Onscreen",
|
||||
group = "Callers",
|
||||
parent = "callerConfiguration"
|
||||
section = "callersSection",
|
||||
titleSection = "callerConfiguration"
|
||||
)
|
||||
default boolean highlightCallers()
|
||||
{
|
||||
@@ -411,12 +488,12 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 31,
|
||||
position = 2,
|
||||
keyName = "useClanchatRanks",
|
||||
name = "Use Ranks as Callers",
|
||||
description = "Uses clanchat ranks as the list of callers",
|
||||
group = "Callers",
|
||||
parent = "callerConfiguration"
|
||||
section = "callersSection",
|
||||
titleSection = "callerConfiguration"
|
||||
)
|
||||
default boolean useClanchatRanks()
|
||||
{
|
||||
@@ -424,12 +501,12 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 32,
|
||||
position = 3,
|
||||
keyName = "callerRank",
|
||||
name = "Minimum rank for Clan Caller",
|
||||
description = "Chooses the minimum rank to use as clanchat callers.",
|
||||
group = "Callers",
|
||||
parent = "callerConfiguration"
|
||||
section = "callersSection",
|
||||
titleSection = "callerConfiguration"
|
||||
)
|
||||
default ClanMemberRank callerRank()
|
||||
{
|
||||
@@ -437,38 +514,38 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 33,
|
||||
position = 4,
|
||||
keyName = "callers",
|
||||
name = "List of callers to highlight",
|
||||
description = "Highlights callers, only highlights one at a time. Separate each entry with a comma and enter" +
|
||||
" in the order you want them highlighted.",
|
||||
group = "Callers",
|
||||
parent = "callerConfiguration"
|
||||
section = "callersSection",
|
||||
titleSection = "callerConfiguration"
|
||||
)
|
||||
default String callers()
|
||||
{
|
||||
return " ";
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
@ConfigTitleSection(
|
||||
keyName = "callerIndicators",
|
||||
position = 5,
|
||||
name = "Caller Indicators",
|
||||
description = "",
|
||||
group = "Callers"
|
||||
section = "callersSection"
|
||||
)
|
||||
default Stub callerIndicators()
|
||||
default Title callerIndicators()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 31,
|
||||
position = 6,
|
||||
keyName = "callerColor",
|
||||
name = "Caller Color",
|
||||
description = "Color of Indicated Callers",
|
||||
group = "Callers",
|
||||
parent = "callerIndicators"
|
||||
section = "callersSection",
|
||||
titleSection = "callerIndicators"
|
||||
)
|
||||
default Color callerColor()
|
||||
{
|
||||
@@ -476,12 +553,12 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 32,
|
||||
position = 7,
|
||||
keyName = "callerHighlightOptions",
|
||||
name = "Caller indication methods",
|
||||
description = "Location(s) of the overlay",
|
||||
group = "Callers",
|
||||
parent = "callerIndicators",
|
||||
section = "callersSection",
|
||||
titleSection = "callerIndicators",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
)
|
||||
default EnumSet<PlayerIndicationLocation> callerHighlightOptions()
|
||||
@@ -489,25 +566,25 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
return defaultPlayerIndicatorMode;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
@ConfigTitleSection(
|
||||
keyName = "callerTargetIndicators",
|
||||
position = 8,
|
||||
name = "Caller Target Indicators",
|
||||
description = "",
|
||||
group = "Callers"
|
||||
section = "callersSection"
|
||||
)
|
||||
default Stub callerTargetIndicators()
|
||||
default Title callerTargetIndicators()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 33,
|
||||
position = 9,
|
||||
keyName = "callersTargets",
|
||||
name = "Calllers' targets",
|
||||
description = "Highlights the targets of callers",
|
||||
group = "Callers",
|
||||
parent = "callerTargetIndicators"
|
||||
section = "callersSection",
|
||||
titleSection = "callerTargetIndicators"
|
||||
)
|
||||
default boolean callersTargets()
|
||||
{
|
||||
@@ -515,12 +592,12 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 34,
|
||||
position = 10,
|
||||
keyName = "callerTargetColor",
|
||||
name = "Callers' targets color",
|
||||
description = "Color of the the targets of callers",
|
||||
group = "Callers",
|
||||
parent = "callerTargetIndicators"
|
||||
section = "callersSection",
|
||||
titleSection = "callerTargetIndicators"
|
||||
)
|
||||
default Color callerTargetColor()
|
||||
{
|
||||
@@ -528,12 +605,12 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 35,
|
||||
position = 11,
|
||||
keyName = "callerTargetHighlightOptions",
|
||||
name = "Pile indication methods",
|
||||
description = "How to highlight the callers' target",
|
||||
group = "Callers",
|
||||
parent = "callerTargetIndicators",
|
||||
section = "callersSection",
|
||||
titleSection = "callerTargetIndicators",
|
||||
enumClass = PlayerIndicationLocation.class
|
||||
)
|
||||
default EnumSet<PlayerIndicationLocation> callerTargetHighlightOptions()
|
||||
@@ -541,13 +618,12 @@ public interface PlayerIndicatorsConfig extends Config
|
||||
return defaultPlayerIndicatorMode;
|
||||
}
|
||||
|
||||
|
||||
@ConfigItem(
|
||||
position = 36,
|
||||
position = 0,
|
||||
keyName = "unchargedGlory",
|
||||
name = "Uncharged Glory Indication",
|
||||
description = "Indicates if players have an uncharged glory",
|
||||
parent = "Other Settings"
|
||||
description = "Indicates if players have an uncharged glory (this only works if the above head indicator is selected)",
|
||||
section = "miscellaneousSection"
|
||||
)
|
||||
default boolean unchargedGlory()
|
||||
{
|
||||
|
||||
@@ -29,26 +29,27 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("raids")
|
||||
public interface RaidsConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "scouterConfig",
|
||||
name = "Scouter Config",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub scouterConfig()
|
||||
default Title scouterConfig()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
|
||||
@ConfigItem(
|
||||
position = 1,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "enhanceScouterTitle",
|
||||
name = "Enhance scouter title",
|
||||
description = "Adds #combat and good puzzles to scouter title"
|
||||
@@ -60,7 +61,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 2,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "hideBackground",
|
||||
name = "Hide Scouter Background",
|
||||
description = "Removes the scouter background, and makes it transparent."
|
||||
@@ -72,7 +73,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 2,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "raidsTimer",
|
||||
name = "Display elapsed raid time",
|
||||
description = "Display elapsed raid time"
|
||||
@@ -84,7 +85,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 3,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "pointsMessage",
|
||||
name = "Display points in chatbox after raid",
|
||||
description = "Display a message with total points, individual points and percentage at the end of a raid"
|
||||
@@ -97,7 +98,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 4,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "ptsHr",
|
||||
name = "Enable points per hour message",
|
||||
description = "Enable the message"
|
||||
@@ -109,7 +110,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "scoutOverlay",
|
||||
name = "Show scout overlay",
|
||||
description = "Display an overlay that shows the current raid layout (when entering lobby)"
|
||||
@@ -121,7 +122,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 6,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "scoutOverlayAtBank",
|
||||
name = "Show scout overlay outside lobby",
|
||||
description = "Keep the overlay active while at the raids area"
|
||||
@@ -133,7 +134,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 7,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "scoutOverlayInRaid",
|
||||
name = "Show scout overlay inside raid",
|
||||
description = "Keep the overlay active while inside raid"
|
||||
@@ -145,7 +146,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 8,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "displayFloorBreak",
|
||||
name = "Layout floor break",
|
||||
description = "Displays floor break in layout"
|
||||
@@ -157,7 +158,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 9,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "showRecommendedItems",
|
||||
name = "Show recommended items",
|
||||
description = "Adds overlay with recommended items to scouter"
|
||||
@@ -169,7 +170,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 10,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "recommendedItems",
|
||||
name = "Recommended items",
|
||||
hidden = true,
|
||||
@@ -183,7 +184,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 11,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "alwaysShowWorldAndCC",
|
||||
name = "Always show CC and World",
|
||||
description = "The CC and World are not removed from being in the in-game scouter"
|
||||
@@ -195,7 +196,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 12,
|
||||
parent = "scouterConfig",
|
||||
titleSection = "scouterConfig",
|
||||
keyName = "displayLayoutMessage",
|
||||
name = "Send raid layout message when entering raid",
|
||||
description = "Sends game message with raid layout on entering new raid"
|
||||
@@ -205,20 +206,20 @@ public interface RaidsConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "roomConfig",
|
||||
name = "Room Config",
|
||||
description = "",
|
||||
position = 13
|
||||
)
|
||||
default Stub roomConfig()
|
||||
default Title roomConfig()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 14,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "colorTightrope",
|
||||
name = "Color tightrope",
|
||||
description = "Colors tightrope a separate color"
|
||||
@@ -230,7 +231,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 15,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "tightropeColor",
|
||||
name = "Tightrope color",
|
||||
description = "The color of tightropes",
|
||||
@@ -244,7 +245,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 16,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "crabHandler",
|
||||
name = "Color crabs",
|
||||
description = "If your crabs are good, it will color them to your set color." +
|
||||
@@ -257,7 +258,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 17,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "goodCrabColor",
|
||||
name = "Good Crab color",
|
||||
description = "The color of good crabs",
|
||||
@@ -271,7 +272,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 17,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "rareCrabColor",
|
||||
name = "Rare Crab color",
|
||||
description = "The color of rare crabs",
|
||||
@@ -285,7 +286,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 18,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "enableRotationWhitelist",
|
||||
name = "Enable rotation whitelist",
|
||||
description = "Enable the rotation whitelist"
|
||||
@@ -297,7 +298,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 19,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "whitelistedRotations",
|
||||
name = "Whitelisted rotations",
|
||||
hidden = true,
|
||||
@@ -311,7 +312,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 20,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "enableLayoutWhitelist",
|
||||
name = "Enable layout whitelist",
|
||||
description = "Enable the layout whitelist"
|
||||
@@ -323,7 +324,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 21,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "whitelistedLayouts",
|
||||
name = "Whitelisted layouts",
|
||||
hidden = true,
|
||||
@@ -337,7 +338,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 22,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "showScavsFarms",
|
||||
name = "Show scavengers and farming",
|
||||
description = "Adds scavengers and farming to the room breakdown"
|
||||
@@ -349,7 +350,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 23,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "scavsBeforeIce",
|
||||
name = "Show last scavs for Ice Demon",
|
||||
description = "Highlights final scavengers before Ice Demon"
|
||||
@@ -361,7 +362,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 24,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "scavsBeforeOlm",
|
||||
name = "Show last scavs for Olm",
|
||||
description = "Highlights final scavengers before Olm"
|
||||
@@ -373,7 +374,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 25,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "scavPrepColor",
|
||||
name = "Last scavs color",
|
||||
description = "The color of the final scavs before Ice Demon/Olm"
|
||||
@@ -385,7 +386,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 26,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "whitelistedRooms",
|
||||
name = "Whitelisted rooms",
|
||||
description = "Display whitelisted rooms in green on the overlay. Separate with comma (full name)",
|
||||
@@ -400,7 +401,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 27,
|
||||
parent = "roomConfig",
|
||||
titleSection = "roomConfig",
|
||||
keyName = "blacklistedRooms",
|
||||
name = "Blacklisted rooms",
|
||||
description = "Display blacklisted rooms in red on the overlay. Separate with comma (full name)",
|
||||
@@ -413,20 +414,20 @@ public interface RaidsConfig extends Config
|
||||
return "";
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "hideRooms",
|
||||
name = "Hide Rooms",
|
||||
description = "",
|
||||
position = 28
|
||||
)
|
||||
default Stub hideRooms()
|
||||
default Title hideRooms()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 29,
|
||||
parent = "hideRooms",
|
||||
titleSection = "hideRooms",
|
||||
keyName = "hideRopeless",
|
||||
name = "Hide no Tightrope raids",
|
||||
description = "Completely hides raids with no tightrope"
|
||||
@@ -438,7 +439,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 30,
|
||||
parent = "hideRooms",
|
||||
titleSection = "hideRooms",
|
||||
keyName = "hideVanguards",
|
||||
name = "Hide Vanguard raids",
|
||||
description = "Completely hides raids with Vanguards"
|
||||
@@ -450,7 +451,7 @@ public interface RaidsConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 31,
|
||||
parent = "hideRooms",
|
||||
titleSection = "hideRooms",
|
||||
keyName = "hideUnknownCombat",
|
||||
name = "Hide Unknown combat raids",
|
||||
description = "Completely hides raids with Unknown combat"
|
||||
|
||||
@@ -28,27 +28,28 @@ package net.runelite.client.plugins.runecraft;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("runecraft")
|
||||
public interface RunecraftConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
keyName = "utilStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "utilTitle",
|
||||
name = "Utility",
|
||||
description = "",
|
||||
position = 1
|
||||
)
|
||||
default Stub utilStub()
|
||||
default Title utilTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "lavas",
|
||||
name = "Lavas",
|
||||
description = "Swaps Ring of dueling menu entry depending on location, requires fire tiara or RC cape to be worn.",
|
||||
parent = "utilStub",
|
||||
titleSection = "utilTitle",
|
||||
warning = "<html><center>This config option is incompatible with menu-entry-swapper equipment swaps." +
|
||||
"<br>Expect bugs if you use them together.</html></center>",
|
||||
position = 2
|
||||
@@ -62,7 +63,7 @@ public interface RunecraftConfig extends Config
|
||||
keyName = "essPouch",
|
||||
name = "Swap essence pouch",
|
||||
description = "Makes essence pouch left-click fill in bank",
|
||||
parent = "utilStub",
|
||||
titleSection = "utilTitle",
|
||||
position = 3
|
||||
)
|
||||
default boolean essPouch()
|
||||
@@ -75,7 +76,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Highlight Dark Mage NPC",
|
||||
description = "Configures whether to highlight the Dark Mage when pouches are degraded",
|
||||
position = 4,
|
||||
parent = "utilStub"
|
||||
titleSection = "utilTitle"
|
||||
)
|
||||
default boolean hightlightDarkMage()
|
||||
{
|
||||
@@ -87,23 +88,22 @@ public interface RunecraftConfig extends Config
|
||||
name = "Notify when pouch degrades",
|
||||
description = "Send a notification when a pouch degrades",
|
||||
position = 5,
|
||||
parent = "utilStub"
|
||||
titleSection = "utilTitle"
|
||||
)
|
||||
default boolean degradingNotification()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "riftsStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "riftsTitle",
|
||||
name = "Rifts",
|
||||
description = "",
|
||||
position = 6
|
||||
)
|
||||
default Stub riftsStub()
|
||||
default Title riftsTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -111,7 +111,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Rifts in Abyss",
|
||||
description = "Configures whether the rifts in the abyss will be displayed",
|
||||
position = 7,
|
||||
parent = "riftsStub"
|
||||
titleSection = "riftsTitle"
|
||||
)
|
||||
default boolean showRifts()
|
||||
{
|
||||
@@ -123,7 +123,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Air rift",
|
||||
description = "Configures whether to display the air rift",
|
||||
position = 8,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -137,7 +137,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Blood rift",
|
||||
description = "Configures whether to display the Blood rift",
|
||||
position = 9,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -151,7 +151,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Body rift",
|
||||
description = "Configures whether to display the Body rift",
|
||||
position = 10,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -165,7 +165,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Chaos rift",
|
||||
description = "Configures whether to display the Chaos rift",
|
||||
position = 11,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -179,7 +179,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Cosmic rift",
|
||||
description = "Configures whether to display the Cosmic rift",
|
||||
position = 12,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -193,7 +193,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Death rift",
|
||||
description = "Configures whether to display the Death rift",
|
||||
position = 13,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -207,7 +207,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Earth rift",
|
||||
description = "Configures whether to display the Earth rift",
|
||||
position = 14,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -221,7 +221,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Fire rift",
|
||||
description = "Configures whether to display the Fire rift",
|
||||
position = 15,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -235,7 +235,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Law rift",
|
||||
description = "Configures whether to display the Law rift",
|
||||
position = 16,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -249,7 +249,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Mind rift",
|
||||
description = "Configures whether to display the Mind rift",
|
||||
position = 17,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -263,7 +263,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Nature rift",
|
||||
description = "Configures whether to display the Nature rift",
|
||||
position = 18,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -277,7 +277,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Soul rift",
|
||||
description = "Configures whether to display the Soul rift",
|
||||
position = 19,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -291,7 +291,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Water rift",
|
||||
description = "Configures whether to display the Water rift",
|
||||
position = 20,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
@@ -305,7 +305,7 @@ public interface RunecraftConfig extends Config
|
||||
name = "Show Rift click box",
|
||||
description = "Configures whether to display the click box of the rift",
|
||||
position = 21,
|
||||
parent = "riftsStub",
|
||||
titleSection = "riftsTitle",
|
||||
hidden = true,
|
||||
unhide = "showRifts"
|
||||
)
|
||||
|
||||
@@ -28,21 +28,22 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("runedoku")
|
||||
public interface RunedokuConfig extends Config
|
||||
{
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "colorTitle",
|
||||
position = 0,
|
||||
keyName = "colorStub",
|
||||
name = "Colors",
|
||||
description = "" //stubs don't show descriptions when hovered over
|
||||
)
|
||||
default Stub colorStub()
|
||||
default Title colorTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -50,7 +51,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "mindRuneColor",
|
||||
name = "Mind Rune Color",
|
||||
description = "Color used to highlight Mind runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color mindRuneColor()
|
||||
{
|
||||
@@ -62,7 +63,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "fireRuneColor",
|
||||
name = "Fire Rune Color",
|
||||
description = "Color used to highlight Fire runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color fireRuneColor()
|
||||
{
|
||||
@@ -74,7 +75,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "bodyRuneColor",
|
||||
name = "Body Rune Color",
|
||||
description = "Color used to highlight Body runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color bodyRuneColor()
|
||||
{
|
||||
@@ -86,7 +87,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "airRuneColor",
|
||||
name = "Air Rune Color",
|
||||
description = "Color used to highlight Air runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color airRuneColor()
|
||||
{
|
||||
@@ -98,7 +99,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "deathRuneColor",
|
||||
name = "Death Rune Color",
|
||||
description = "Color used to highlight Death runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color deathRuneColor()
|
||||
{
|
||||
@@ -110,7 +111,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "waterRuneColor",
|
||||
name = "Water Rune Color",
|
||||
description = "Color used to highlight Water runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color waterRuneColor()
|
||||
{
|
||||
@@ -122,7 +123,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "chaosRuneColor",
|
||||
name = "Chaos Rune Color",
|
||||
description = "Color used to highlight Chaos runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color chaosRuneColor()
|
||||
{
|
||||
@@ -134,7 +135,7 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "earthRuneColor",
|
||||
name = "Earth Rune Color",
|
||||
description = "Color used to highlight Earth runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color earthRuneColor()
|
||||
{
|
||||
@@ -146,29 +147,30 @@ public interface RunedokuConfig extends Config
|
||||
keyName = "lawRuneColor",
|
||||
name = "Law Rune Color",
|
||||
description = "Color used to highlight Law runes.",
|
||||
parent = "colorStub"
|
||||
titleSection = "colorTitle"
|
||||
)
|
||||
default Color lawRuneColor()
|
||||
{
|
||||
return Color.CYAN;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 10,
|
||||
@ConfigTitleSection(
|
||||
keyName = "miscFeature",
|
||||
position = 10,
|
||||
name = "Miscellaneous Features",
|
||||
description = ""
|
||||
)
|
||||
default Stub miscFeature()
|
||||
default Title miscFeature()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 11,
|
||||
keyName = "onlyHighlightSelectedPiece",
|
||||
name = "Only Highlight Selected Piece",
|
||||
description = "Instead of showing all, this option only show what rune you have selected."
|
||||
description = "Instead of showing all, this option only show what rune you have selected.",
|
||||
titleSection = "miscFeature"
|
||||
)
|
||||
default boolean onlyHighlightSelectedPiece()
|
||||
{
|
||||
|
||||
@@ -28,27 +28,28 @@ package net.runelite.client.plugins.statusorbs;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("statusorbs")
|
||||
public interface StatusOrbsConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "hp",
|
||||
name = "Hitpoints",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub hp()
|
||||
default Title hp()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "dynamicHpHeart",
|
||||
name = "Dynamic hitpoints heart",
|
||||
description = "Changes the HP heart color to match players current affliction",
|
||||
parent = "hp",
|
||||
titleSection = "hp",
|
||||
position = 1
|
||||
)
|
||||
default boolean dynamicHpHeart()
|
||||
@@ -60,7 +61,7 @@ public interface StatusOrbsConfig extends Config
|
||||
keyName = "showHitpoints",
|
||||
name = "Show hitpoints regen",
|
||||
description = "Show a ring around the hitpoints orb",
|
||||
parent = "hp",
|
||||
titleSection = "hp",
|
||||
position = 2
|
||||
)
|
||||
default boolean showHitpoints()
|
||||
@@ -72,7 +73,7 @@ public interface StatusOrbsConfig extends Config
|
||||
keyName = "showWhenNoChange",
|
||||
name = "Show hitpoints regen at full hitpoints",
|
||||
description = "Always show the hitpoints regen orb, even if there will be no stat change",
|
||||
parent = "hp",
|
||||
titleSection = "hp",
|
||||
position = 3
|
||||
)
|
||||
default boolean showWhenNoChange()
|
||||
@@ -84,7 +85,7 @@ public interface StatusOrbsConfig extends Config
|
||||
keyName = "notifyBeforeHpRegenDuration",
|
||||
name = "Hitpoint Regen Notification (seconds)",
|
||||
description = "Notify approximately when your next hitpoint is about to regen. A value of 0 will disable notification.",
|
||||
parent = "hp",
|
||||
titleSection = "hp",
|
||||
position = 4
|
||||
)
|
||||
default int getNotifyBeforeHpRegenSeconds()
|
||||
@@ -92,22 +93,22 @@ public interface StatusOrbsConfig extends Config
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "spec",
|
||||
name = "Special attack",
|
||||
description = "",
|
||||
position = 5
|
||||
)
|
||||
default Stub spec()
|
||||
default Title spec()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showSpecial",
|
||||
name = "Show Spec. Attack regen",
|
||||
description = "Show a ring around the Special Attack orb",
|
||||
parent = "spec",
|
||||
titleSection = "spec",
|
||||
position = 6
|
||||
)
|
||||
default boolean showSpecial()
|
||||
@@ -115,15 +116,15 @@ public interface StatusOrbsConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "run",
|
||||
name = "Run energy",
|
||||
description = "",
|
||||
position = 7
|
||||
)
|
||||
default Stub run()
|
||||
default Title run()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -131,7 +132,7 @@ public interface StatusOrbsConfig extends Config
|
||||
name = "Show run energy regen",
|
||||
description = "Show a ring around the run regen orb",
|
||||
position = 8,
|
||||
parent = "run"
|
||||
titleSection = "run"
|
||||
)
|
||||
default boolean showRun()
|
||||
{
|
||||
@@ -143,7 +144,7 @@ public interface StatusOrbsConfig extends Config
|
||||
name = "Replace run orb text with run time left",
|
||||
description = "Show the remaining run time (in seconds) next in the energy orb",
|
||||
position = 9,
|
||||
parent = "run"
|
||||
titleSection = "run"
|
||||
)
|
||||
default boolean replaceOrbText()
|
||||
{
|
||||
|
||||
@@ -12,17 +12,29 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
|
||||
@ConfigGroup("Theatre")
|
||||
|
||||
public interface TheatreConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
@ConfigSection(
|
||||
position = 0,
|
||||
keyName = "maidenSection",
|
||||
name = "Maiden",
|
||||
description = ""
|
||||
)
|
||||
default boolean experimentalSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 1,
|
||||
keyName = "showMaidenBloodToss",
|
||||
name = "Show Maiden Blood Toss",
|
||||
description = "Displays the tile location where tossed blood will land.",
|
||||
group = "Maiden"
|
||||
section = "maidenSection"
|
||||
)
|
||||
default boolean showMaidenBloodToss()
|
||||
{
|
||||
@@ -30,11 +42,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 1,
|
||||
position = 2,
|
||||
keyName = "showMaidenBloodSpawns",
|
||||
name = "Show Maiden Blood Spawns",
|
||||
description = "Show the tiles that blood spawns will travel to.",
|
||||
group = "Maiden"
|
||||
section = "maidenSection"
|
||||
)
|
||||
default boolean showMaidenBloodSpawns()
|
||||
{
|
||||
@@ -42,23 +54,34 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 2,
|
||||
position = 3,
|
||||
keyName = "showNyloFreezeHighlights",
|
||||
name = "Show Nylo Freeze Highlights",
|
||||
description = "Show when to freeze Nylos at maiden. Say n1,n2,s1,s2 in chat for it to register.",
|
||||
group = "Maiden"
|
||||
section = "maidenSection"
|
||||
)
|
||||
default boolean showNyloFreezeHighlights()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
position = 4,
|
||||
keyName = "bloatSection",
|
||||
name = "Bloat",
|
||||
description = ""
|
||||
)
|
||||
default boolean bloatSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 2,
|
||||
position = 5,
|
||||
keyName = "showBloatIndicator",
|
||||
name = "Show Bloat Status",
|
||||
description = "Displays Bloat's status (asleep, wake, and enrage) using color code.",
|
||||
group = "Bloat"
|
||||
section = "bloatSection"
|
||||
)
|
||||
default boolean showBloatIndicator()
|
||||
{
|
||||
@@ -66,11 +89,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 3,
|
||||
position = 6,
|
||||
keyName = "showBloatHands",
|
||||
name = "Show Bloat Hands",
|
||||
description = "Highlights the falling hands inside Bloat.",
|
||||
group = "Bloat"
|
||||
section = "bloatSection"
|
||||
)
|
||||
default boolean showBloatHands()
|
||||
{
|
||||
@@ -78,11 +101,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 4,
|
||||
position = 7,
|
||||
keyName = "bloatFeet",
|
||||
name = "Bloat Hands Rave Edition",
|
||||
description = "",
|
||||
group = "Bloat"
|
||||
section = "bloatSection"
|
||||
)
|
||||
default boolean BloatFeetIndicatorRaveEdition()
|
||||
{
|
||||
@@ -90,23 +113,34 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 4,
|
||||
position = 8,
|
||||
keyName = "showBloatTimer",
|
||||
name = "Show Bloat Timer",
|
||||
description = "Show the estimated time when Bloat will go down.",
|
||||
group = "Bloat"
|
||||
section = "bloatSection"
|
||||
)
|
||||
default boolean showBloatTimer()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
position = 9,
|
||||
keyName = "nylocasSection",
|
||||
name = "Nylocas",
|
||||
description = ""
|
||||
)
|
||||
default boolean nylocasSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 5,
|
||||
position = 10,
|
||||
keyName = "showNyloPillarHealth",
|
||||
name = "Show Nylocas Pillar Health",
|
||||
description = "Show the health bars of the Nylocas pillars.",
|
||||
group = "Nylocas"
|
||||
section = "nylocasSection"
|
||||
)
|
||||
default boolean showNyloPillarHealth()
|
||||
{
|
||||
@@ -114,11 +148,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 6,
|
||||
position = 11,
|
||||
keyName = "showNylocasExplosions",
|
||||
name = "Highlight Old Nylocas",
|
||||
description = "Either a timer on the nylo counting down to explosion, or a tile underneath.",
|
||||
group = "Nylocas"
|
||||
section = "nylocasSection"
|
||||
)
|
||||
default NYLOOPTION showNylocasExplosions()
|
||||
{
|
||||
@@ -126,11 +160,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 7,
|
||||
position = 12,
|
||||
keyName = "showNylocasAmount",
|
||||
name = "Show Nylocas Amount",
|
||||
description = "An overlay will appear that counts the amount of Nylocas in the room.",
|
||||
group = "Nylocas"
|
||||
section = "nylocasSection"
|
||||
)
|
||||
default boolean showNylocasAmount()
|
||||
{
|
||||
@@ -138,11 +172,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 8,
|
||||
position = 13,
|
||||
keyName = "nylocasMenuSwap",
|
||||
name = "Hide Nylocas wrong attack options",
|
||||
description = "hides attack options on small nylos of the wrong style",
|
||||
group = "Nylocas"
|
||||
section = "nylocasSection"
|
||||
)
|
||||
default boolean nylocasMenuSwap()
|
||||
{
|
||||
@@ -180,23 +214,35 @@ public interface TheatreConfig extends Config
|
||||
**/
|
||||
|
||||
@ConfigItem(
|
||||
position = 11,
|
||||
position = 14,
|
||||
keyName = "highlightNyloAgros",
|
||||
name = "Show Nylocas Agros",
|
||||
description = "Highlight the Nylocas that are aggressive to the player.",
|
||||
group = "Nylocas"
|
||||
section = "nylocasSection"
|
||||
)
|
||||
default boolean highlightNyloAgros()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ConfigSection(
|
||||
position = 15,
|
||||
keyName = "sotetsegSection",
|
||||
name = "Sotetseg",
|
||||
description = ""
|
||||
)
|
||||
default boolean sotetsegSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 12,
|
||||
position = 16,
|
||||
keyName = "showSotetsegAttacks",
|
||||
name = "Show Sotetseg Attacks",
|
||||
description = "Highlight the attacks which Sotetseg throws at you.",
|
||||
group = "Sotetseg"
|
||||
section = "sotetsegSection"
|
||||
)
|
||||
default boolean showSotetsegAttacks()
|
||||
{
|
||||
@@ -204,11 +250,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 13,
|
||||
position = 17,
|
||||
keyName = "showSotetsegMaze",
|
||||
name = "Mark Sotetseg Maze",
|
||||
description = "Marks the tiles of Sotetseg's maze while in the overworld.",
|
||||
group = "Sotetseg"
|
||||
section = "sotetsegSection"
|
||||
)
|
||||
default boolean showSotetsegMaze()
|
||||
{
|
||||
@@ -216,11 +262,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 14,
|
||||
position = 18,
|
||||
keyName = "showSotetsegSolo",
|
||||
name = "Mark Sotetseg Maze (Solo)",
|
||||
description = "Marks the tiles of Sotetseg's maze while in the underworld.",
|
||||
group = "Sotetseg"
|
||||
section = "sotetsegSection"
|
||||
)
|
||||
default boolean showSotetsegSolo()
|
||||
{
|
||||
@@ -228,23 +274,34 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 14,
|
||||
position = 19,
|
||||
keyName = "markerColor",
|
||||
name = "Sotey Tile Colour",
|
||||
description = "Configures the color of marked tile",
|
||||
group = "Sotetseg"
|
||||
section = "sotetsegSection"
|
||||
)
|
||||
default Color mazeTileColour()
|
||||
{
|
||||
return Color.WHITE;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
position = 20,
|
||||
keyName = "xarpusSection",
|
||||
name = "Xarpus",
|
||||
description = ""
|
||||
)
|
||||
default boolean xarpusSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 15,
|
||||
position = 21,
|
||||
keyName = "showXarpusHeals",
|
||||
name = "Show Xarpus Heals",
|
||||
description = "Highlights the tiles that Xarpus is healing with.",
|
||||
group = "Xarpus"
|
||||
section = "xarpusSection"
|
||||
)
|
||||
default boolean showXarpusHeals()
|
||||
{
|
||||
@@ -252,23 +309,34 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 16,
|
||||
position = 22,
|
||||
keyName = "showXarpusTick",
|
||||
name = "Show Xarpus Turn Tick",
|
||||
description = "Count down the ticks until Xarpus turns their head.",
|
||||
group = "Xarpus"
|
||||
section = "xarpusSection"
|
||||
)
|
||||
default boolean showXarpusTick()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigSection(
|
||||
position = 23,
|
||||
keyName = "verzikSection",
|
||||
name = "Verzik",
|
||||
description = ""
|
||||
)
|
||||
default boolean verzikSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 17,
|
||||
position = 24,
|
||||
keyName = "showVerzikAttacks",
|
||||
name = "Show Verzik Attack Tick",
|
||||
description = "Count down the ticks until Verzik attacks.",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean showVerzikAttacks()
|
||||
{
|
||||
@@ -276,11 +344,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 18,
|
||||
position = 25,
|
||||
keyName = "showVerzikYellows",
|
||||
name = "Show Yellows Tick",
|
||||
description = "Count down the ticks until Verzik yellow's damage tick.",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean showVerzikYellows()
|
||||
{
|
||||
@@ -288,11 +356,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 19,
|
||||
position = 26,
|
||||
keyName = "showCrabTargets",
|
||||
name = "Show Crab Targets",
|
||||
description = "Shows the target of crabs at Verzik.",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean showCrabTargets()
|
||||
{
|
||||
@@ -300,11 +368,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 20,
|
||||
position = 27,
|
||||
keyName = "VerzikTankTile",
|
||||
name = "Verzik P3 Tile Overlay",
|
||||
description = "",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean VerzikTankTile()
|
||||
{
|
||||
@@ -312,11 +380,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 22,
|
||||
position = 28,
|
||||
keyName = "verzikrangeattacks",
|
||||
name = "Show Verzik Range Attacks",
|
||||
description = "",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean verzikRangeAttacks()
|
||||
{
|
||||
@@ -324,11 +392,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 23,
|
||||
position = 29,
|
||||
keyName = "extratimers",
|
||||
name = "Show Extra Timers",
|
||||
description = "",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean extraTimers()
|
||||
{
|
||||
@@ -336,11 +404,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 24,
|
||||
position = 30,
|
||||
keyName = "p1attacks",
|
||||
name = "Verzik P1 Timer",
|
||||
description = "",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean p1attacks()
|
||||
{
|
||||
@@ -348,11 +416,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 25,
|
||||
position = 31,
|
||||
keyName = "p2attacks",
|
||||
name = "Verzik P2 Timer",
|
||||
description = "",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean p2attacks()
|
||||
{
|
||||
@@ -360,11 +428,11 @@ public interface TheatreConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 26,
|
||||
position = 32,
|
||||
keyName = "p3attacks",
|
||||
name = "Verzik P3 Timer",
|
||||
description = "",
|
||||
group = "Verzik"
|
||||
section = "verzikSection"
|
||||
)
|
||||
default boolean p3attacks()
|
||||
{
|
||||
|
||||
@@ -30,21 +30,22 @@ import lombok.Getter;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Range;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("TickTimers")
|
||||
public interface TickTimersConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
position = 0,
|
||||
@ConfigTitleSection(
|
||||
keyName = "mainConfig",
|
||||
position = 0,
|
||||
name = "Main Config",
|
||||
description = ""
|
||||
)
|
||||
default Stub mainConfig()
|
||||
default Title mainConfig()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -52,7 +53,7 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "prayerWidgetHelper",
|
||||
name = "Prayer Widget Helper",
|
||||
description = "Shows you which prayer to click and the time until click.",
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean showPrayerWidgetHelper()
|
||||
{
|
||||
@@ -64,7 +65,7 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "showHitSquares",
|
||||
name = "Show Hit Squares",
|
||||
description = "Shows you where the melee bosses can hit you from.",
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean showHitSquares()
|
||||
{
|
||||
@@ -77,22 +78,22 @@ public interface TickTimersConfig extends Config
|
||||
name = "Change Tick Color",
|
||||
description = "If this is enabled, it will change the tick color to white" +
|
||||
"<br> at 1 tick remaining, signaling you to swap.",
|
||||
parent = "mainConfig"
|
||||
titleSection = "mainConfig"
|
||||
)
|
||||
default boolean changeTickColor()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 4,
|
||||
@ConfigTitleSection(
|
||||
keyName = "bosses",
|
||||
position = 4,
|
||||
name = "Bosses",
|
||||
description = ""
|
||||
)
|
||||
default Stub bosses()
|
||||
default Title bosses()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -100,7 +101,7 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "gwd",
|
||||
name = "God Wars Dungeon",
|
||||
description = "Show tick timers for GWD Bosses. This must be enabled before you zone in.",
|
||||
parent = "bosses"
|
||||
titleSection = "bosses"
|
||||
)
|
||||
default boolean gwd()
|
||||
{
|
||||
@@ -112,22 +113,22 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "dks",
|
||||
name = "Dagannoth Kings",
|
||||
description = "Show tick timers for Dagannoth Kings. This must be enabled before you zone in.",
|
||||
parent = "bosses"
|
||||
titleSection = "bosses"
|
||||
)
|
||||
default boolean dks()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 7,
|
||||
@ConfigTitleSection(
|
||||
keyName = "text",
|
||||
position = 7,
|
||||
name = "Text",
|
||||
description = ""
|
||||
)
|
||||
default Stub text()
|
||||
default Title text()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -135,7 +136,7 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "fontStyle",
|
||||
name = "Font Style",
|
||||
description = "Plain | Bold | Italics",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default FontStyle fontStyle()
|
||||
{
|
||||
@@ -151,7 +152,7 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "textSize",
|
||||
name = "Text Size",
|
||||
description = "Text Size for Timers.",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default int textSize()
|
||||
{
|
||||
@@ -163,7 +164,7 @@ public interface TickTimersConfig extends Config
|
||||
keyName = "shadows",
|
||||
name = "Shadows",
|
||||
description = "Adds Shadows to text.",
|
||||
parent = "text"
|
||||
titleSection = "text"
|
||||
)
|
||||
default boolean shadows()
|
||||
{
|
||||
|
||||
@@ -26,20 +26,22 @@ package net.runelite.client.plugins.tmorph;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigSection;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("TMorph")
|
||||
public interface TMorphConfig extends Config
|
||||
{
|
||||
@ConfigItem(
|
||||
@ConfigTitleSection(
|
||||
keyName = "swaps",
|
||||
name = "Morphers",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub swaps()
|
||||
default Title swaps()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
@@ -48,7 +50,7 @@ public interface TMorphConfig extends Config
|
||||
description = "<html><center>Proper Format is id,id:Slot" +
|
||||
"<br>For example: 6570,21295:Cape" +
|
||||
"<br>Valid Slots: Helmet, Cape, Amulet, Weapon, Torso, Shield, Legs, Head, Hands, Boots, Jaw, Ring, Ammo</center></html>",
|
||||
parent = "swaps",
|
||||
titleSection = "swaps",
|
||||
position = 1,
|
||||
parse = true,
|
||||
clazz = Parse.class,
|
||||
@@ -65,7 +67,7 @@ public interface TMorphConfig extends Config
|
||||
description = "<html><center>Proper Format is id,id:Slot" +
|
||||
"<br>For example: 6570,21295:Cape" +
|
||||
"<br>Valid Slots: Helmet, Cape, Amulet, Weapon, Torso, Shield, Legs, Head, Hands, Boots, Jaw, Ring, Ammo</center></html>",
|
||||
parent = "swaps",
|
||||
titleSection = "swaps",
|
||||
position = 2,
|
||||
parse = true,
|
||||
clazz = Parse.class,
|
||||
@@ -82,7 +84,7 @@ public interface TMorphConfig extends Config
|
||||
description = "<html><center>Proper Format is id,id:Slot" +
|
||||
"<br>For example: 6570,21295:Cape" +
|
||||
"<br>Valid Slots: Helmet, Cape, Amulet, Weapon, Torso, Shield, Legs, Head, Hands, Boots, Jaw, Ring, Ammo</center></html>",
|
||||
parent = "swaps",
|
||||
titleSection = "swaps",
|
||||
position = 3,
|
||||
parse = true,
|
||||
clazz = Parse.class,
|
||||
@@ -93,27 +95,39 @@ public interface TMorphConfig extends Config
|
||||
return "";
|
||||
}
|
||||
|
||||
//////////////////Experimental Functions
|
||||
|
||||
@ConfigSection(
|
||||
position = 4,
|
||||
keyName = "experimentalSection",
|
||||
name = "Experimental Functions",
|
||||
description = ""
|
||||
)
|
||||
default boolean experimentalSection()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "experimentalFunctions",
|
||||
name = "Experimental Functions",
|
||||
description = "May bug out in unintended ways.",
|
||||
parent = "swaps",
|
||||
position = 4
|
||||
section = "experimentalSection",
|
||||
position = 0
|
||||
)
|
||||
default boolean experimentalFunctions()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
//////////////////Experimental Functions
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "globalAnimSwap",
|
||||
name = "Global Animation Swap",
|
||||
description = "DO NOT USE WITH ANIMATION SWAP BELOW",
|
||||
group = "Experimental Functions",
|
||||
section = "experimentalSection",
|
||||
hidden = true,
|
||||
unhide = "experimentalFunctions"
|
||||
unhide = "experimentalFunctions",
|
||||
position = 1
|
||||
)
|
||||
default int globalAnimSwap()
|
||||
{
|
||||
@@ -124,9 +138,10 @@ public interface TMorphConfig extends Config
|
||||
keyName = "animationSwap",
|
||||
name = "Animation Swap",
|
||||
description = "ID",
|
||||
group = "Experimental Functions",
|
||||
section = "experimentalSection",
|
||||
hidden = true,
|
||||
unhide = "experimentalFunctions"
|
||||
unhide = "experimentalFunctions",
|
||||
position = 2
|
||||
)
|
||||
default int animationSwap()
|
||||
{
|
||||
@@ -137,9 +152,10 @@ public interface TMorphConfig extends Config
|
||||
keyName = "animationTarget",
|
||||
name = "Animation Target",
|
||||
description = "ID",
|
||||
group = "Experimental Functions",
|
||||
section = "experimentalSection",
|
||||
hidden = true,
|
||||
unhide = "experimentalFunctions"
|
||||
unhide = "experimentalFunctions",
|
||||
position = 3
|
||||
)
|
||||
default int animationTarget()
|
||||
{
|
||||
@@ -150,9 +166,10 @@ public interface TMorphConfig extends Config
|
||||
keyName = "globalGraphicSwap",
|
||||
name = "Global Graphic Swap",
|
||||
description = "DO NOT USE WITH GRAPHIC SWAP BELOW",
|
||||
group = "Experimental Functions",
|
||||
section = "experimentalSection",
|
||||
hidden = true,
|
||||
unhide = "experimentalFunctions"
|
||||
unhide = "experimentalFunctions",
|
||||
position = 4
|
||||
)
|
||||
default int globalGraphicSwap()
|
||||
{
|
||||
@@ -163,9 +180,10 @@ public interface TMorphConfig extends Config
|
||||
keyName = "graphicSwap",
|
||||
name = "Graphic Swap",
|
||||
description = "ID",
|
||||
group = "Experimental Functions",
|
||||
section = "experimentalSection",
|
||||
hidden = true,
|
||||
unhide = "experimentalFunctions"
|
||||
unhide = "experimentalFunctions",
|
||||
position = 5
|
||||
)
|
||||
default int graphicSwap()
|
||||
{
|
||||
@@ -176,9 +194,10 @@ public interface TMorphConfig extends Config
|
||||
keyName = "graphicTarget",
|
||||
name = "Graphic Target",
|
||||
description = "ID",
|
||||
group = "Experimental Functions",
|
||||
section = "experimentalSection",
|
||||
hidden = true,
|
||||
unhide = "experimentalFunctions"
|
||||
unhide = "experimentalFunctions",
|
||||
position = 6
|
||||
)
|
||||
default int graphicTarget()
|
||||
{
|
||||
|
||||
@@ -30,28 +30,29 @@ import java.awt.Color;
|
||||
import net.runelite.client.config.Config;
|
||||
import net.runelite.client.config.ConfigGroup;
|
||||
import net.runelite.client.config.ConfigItem;
|
||||
import net.runelite.client.config.Stub;
|
||||
import net.runelite.client.config.ConfigTitleSection;
|
||||
import net.runelite.client.config.Title;
|
||||
|
||||
@ConfigGroup("zalcano")
|
||||
public interface ZalcanoConfig extends Config
|
||||
{
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "zalcanoStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "zalcanoTitle",
|
||||
name = "Zalcano",
|
||||
description = "",
|
||||
position = 0
|
||||
)
|
||||
default Stub zalcanoStub()
|
||||
default Title zalcanoTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightZalcanoHull",
|
||||
name = "Highlight Zalcano",
|
||||
description = "Highlight Zalcano\'s convex hull.",
|
||||
parent = "zalcanoStub",
|
||||
titleSection = "zalcanoTitle",
|
||||
position = 1
|
||||
)
|
||||
default boolean highlightZalcanoHull()
|
||||
@@ -63,7 +64,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "zalcanoHullColor",
|
||||
name = "Color for highlight",
|
||||
description = "",
|
||||
parent = "zalcanoStub",
|
||||
titleSection = "zalcanoTitle",
|
||||
position = 2
|
||||
)
|
||||
default Color zalcanoHullColor()
|
||||
@@ -71,22 +72,22 @@ public interface ZalcanoConfig extends Config
|
||||
return new Color(255, 25, 0);
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "zalcanoAoesStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "zalcanoAoesTitle",
|
||||
name = "Area of Effect",
|
||||
description = "",
|
||||
position = 3
|
||||
)
|
||||
default Stub zalcanoAoesStub()
|
||||
default Title zalcanoAoesTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showAoeZalcanoWakeup",
|
||||
name = "Zalcano Wakeup",
|
||||
description = "Shows an AOE warning for Zalcano waking back up.",
|
||||
parent = "zalcanoAoesStub",
|
||||
titleSection = "zalcanoAoesTitle",
|
||||
position = 4
|
||||
)
|
||||
default boolean showAoeZalcanoWakeup()
|
||||
@@ -98,7 +99,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "showAoeForRockfall",
|
||||
name = "Small Rocks",
|
||||
description = "Shows an AOE warning for the rocks that fall occasionally.",
|
||||
parent = "zalcanoAoesStub",
|
||||
titleSection = "zalcanoAoesTitle",
|
||||
position = 5
|
||||
)
|
||||
default boolean showAoeForRockfall()
|
||||
@@ -110,7 +111,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "showAoeForRedSymbols",
|
||||
name = "Red Symbols",
|
||||
description = "Shows an AOE warning for the 3x3 red symbols that appear.",
|
||||
parent = "zalcanoAoesStub",
|
||||
titleSection = "zalcanoAoesTitle",
|
||||
position = 6
|
||||
)
|
||||
default boolean showAoeForRedSymbols()
|
||||
@@ -122,7 +123,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "highlightMiningSpot",
|
||||
name = "Mining spot",
|
||||
description = "Highlights the glowing rock and warns you if Zalcano attacks it.",
|
||||
parent = "zalcanoAoesStub",
|
||||
titleSection = "zalcanoAoesTitle",
|
||||
position = 7
|
||||
)
|
||||
default boolean highlightMiningSpot()
|
||||
@@ -130,15 +131,15 @@ public interface ZalcanoConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "helperStub",
|
||||
@ConfigTitleSection(
|
||||
keyName = "helperTitle",
|
||||
name = "Helpers",
|
||||
description = "",
|
||||
position = 8
|
||||
)
|
||||
default Stub helperStub()
|
||||
default Title helperTitle()
|
||||
{
|
||||
return new Stub();
|
||||
return new Title();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -148,7 +149,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "showSteps",
|
||||
name = "Show Step",
|
||||
description = "",
|
||||
parent = "helperStub",
|
||||
titleSection = "helperTitle",
|
||||
position = 9,
|
||||
hidden = true //hidden until fully functional
|
||||
)
|
||||
@@ -161,7 +162,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "showAoeZalcanoMineable",
|
||||
name = "Zalcano Mineable",
|
||||
description = "Highlights Zalcano if she is mineable.",
|
||||
parent = "helperStub",
|
||||
titleSection = "helperTitle",
|
||||
position = 10
|
||||
)
|
||||
default boolean showAoeZalcanoMineable()
|
||||
@@ -173,7 +174,7 @@ public interface ZalcanoConfig extends Config
|
||||
keyName = "highlightGolem",
|
||||
name = "Highlight Golem",
|
||||
description = "Highlights the Golem that Zalcano spawns in.",
|
||||
parent = "helperStub",
|
||||
titleSection = "helperTitle",
|
||||
position = 11
|
||||
)
|
||||
default boolean highlightGolem()
|
||||
|
||||
@@ -27,6 +27,7 @@ package net.runelite.client.ui.components;
|
||||
import java.awt.Insets;
|
||||
import java.awt.event.MouseAdapter;
|
||||
import java.awt.event.MouseEvent;
|
||||
import javax.swing.Icon;
|
||||
import javax.swing.ImageIcon;
|
||||
import javax.swing.JButton;
|
||||
|
||||
@@ -50,22 +51,29 @@ public class IconButton extends JButton
|
||||
setOpaque(false);
|
||||
setRolloverEnabled(false);
|
||||
|
||||
if (hoverIcon != null)
|
||||
{
|
||||
addMouseListener(new MouseAdapter()
|
||||
{
|
||||
@Override
|
||||
public void mouseEntered(MouseEvent e)
|
||||
{
|
||||
setIcon(hoverIcon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mouseExited(MouseEvent e)
|
||||
{
|
||||
setIcon(icon);
|
||||
}
|
||||
});
|
||||
}
|
||||
setHoverIcon(hoverIcon);
|
||||
}
|
||||
}
|
||||
|
||||
public void setHoverIcon(ImageIcon hoverIcon)
|
||||
{
|
||||
if (hoverIcon == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
final Icon icon = getIcon();
|
||||
addMouseListener(new MouseAdapter()
|
||||
{
|
||||
@Override
|
||||
public void mouseEntered(MouseEvent e)
|
||||
{
|
||||
setIcon(hoverIcon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void mouseExited(MouseEvent e)
|
||||
{
|
||||
setIcon(icon);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Craftiii4 <craftiii4@gmail.com>
|
||||
* Copyright (c) 2019, Hydrox6 <ikada@protonmail.ch>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -22,31 +22,18 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
package net.runelite.client.config;
|
||||
package net.runelite.client.ui.components;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
import javax.swing.JPanel;
|
||||
import java.awt.Dimension;
|
||||
|
||||
public class ConfigItemsGroup
|
||||
public class MinimumSizedPanel extends JPanel
|
||||
{
|
||||
|
||||
@Getter(AccessLevel.PUBLIC)
|
||||
private final String group;
|
||||
|
||||
@Getter(AccessLevel.PUBLIC)
|
||||
private Collection<ConfigItemDescriptor> items;
|
||||
|
||||
public ConfigItemsGroup(String group)
|
||||
@Override
|
||||
public Dimension getPreferredSize()
|
||||
{
|
||||
this.group = group;
|
||||
this.items = new ArrayList<>();
|
||||
final Dimension pref = super.getPreferredSize();
|
||||
final Dimension minimum = super.getMinimumSize();
|
||||
return new Dimension(Math.max(pref.width, minimum.width), Math.max(pref.height, minimum.height));
|
||||
}
|
||||
|
||||
public void addItem(ConfigItemDescriptor item)
|
||||
{
|
||||
items.add(item);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user