aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/commands')
-rw-r--r--src/main/java/me/Danker/commands/DankerGuiCommand.java1
-rw-r--r--src/main/java/me/Danker/commands/MoveCommand.java12
-rw-r--r--src/main/java/me/Danker/commands/ScaleCommand.java10
-rw-r--r--src/main/java/me/Danker/commands/ToggleCommand.java21
4 files changed, 30 insertions, 14 deletions
diff --git a/src/main/java/me/Danker/commands/DankerGuiCommand.java b/src/main/java/me/Danker/commands/DankerGuiCommand.java
index 14041d1..1c5ea53 100644
--- a/src/main/java/me/Danker/commands/DankerGuiCommand.java
+++ b/src/main/java/me/Danker/commands/DankerGuiCommand.java
@@ -63,6 +63,7 @@ public class DankerGuiCommand extends CommandBase {
debug.append("[gianthp][").append(MoveCommand.giantHPXY[0]).append(", ").append(MoveCommand.giantHPXY[1]).append("]\n");
debug.append("[abilitycooldowns][").append(MoveCommand.abilityCooldownsXY[0]).append(", ").append(MoveCommand.abilityCooldownsXY[1]).append("]\n");
debug.append("[dungeonscore][").append(MoveCommand.dungeonScoreXY[0]).append(", ").append(MoveCommand.dungeonScoreXY[1]).append("]\n");
+ debug.append("[firepillar][").append(MoveCommand.firePillarXY[0]).append(", ").append(MoveCommand.firePillarXY[1]).append("]\n");
debug.append("# Other Settings\n");
debug.append("[Current Display][").append(LootDisplay.display).append("]\n");
debug.append("[Auto Display][").append(LootDisplay.auto).append("]\n");
diff --git a/src/main/java/me/Danker/commands/MoveCommand.java b/src/main/java/me/Danker/commands/MoveCommand.java
index 5a6c6a2..106e603 100644
--- a/src/main/java/me/Danker/commands/MoveCommand.java
+++ b/src/main/java/me/Danker/commands/MoveCommand.java
@@ -27,6 +27,7 @@ public class MoveCommand extends CommandBase {
public static int[] giantHPXY = {0, 0};
public static int[] abilityCooldownsXY = {0, 0};
public static int[] dungeonScoreXY = {0, 0};
+ public static int[] firePillarXY = {0, 0};
@Override
public String getCommandName() {
@@ -37,7 +38,7 @@ public class MoveCommand extends CommandBase {
public String getCommandUsage(ICommandSender arg0) {
return "/" + getCommandName() + " <coords/display/dungeontimer/skill50/lividhp/caketimer/skilltracker/" +
"wateranswer/bonzotimer/golemtimer/teammatesinradius/gianthp/" +
- "abilitycooldowns/dungeonscore> <x> <y>";
+ "abilitycooldowns/dungeonscore/firepillar> <x> <y>";
}
public static String usage(ICommandSender arg0) {
@@ -54,7 +55,7 @@ public class MoveCommand extends CommandBase {
if (args.length == 1) {
return getListOfStringsMatchingLastWord(args, "coords", "display", "dungeontimer", "skill50", "lividhp", "caketimer",
"skilltracker", "wateranswer", "bonzotimer", "golemtimer", "teammatesinradius",
- "gianthp", "abilitycooldowns", "dungeonscore");
+ "gianthp", "abilitycooldowns", "dungeonscore", "firepillar");
}
return null;
}
@@ -167,6 +168,13 @@ public class MoveCommand extends CommandBase {
ConfigHandler.writeIntConfig("locations", "dungeonScoreY", dungeonScoreXY[1]);
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Dungeon score has been moved to " + DankersSkyblockMod.SECONDARY_COLOUR + arg1[1] + ", " + arg1[2]));
break;
+ case "firepillar":
+ firePillarXY[0] = Integer.parseInt(arg1[1]);
+ firePillarXY[1] = Integer.parseInt(arg1[2]);
+ ConfigHandler.writeIntConfig("locations", "firePillarX", firePillarXY[0]);
+ ConfigHandler.writeIntConfig("locations", "firePillarY", firePillarXY[1]);
+ player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Fire pillar has been moved to " + DankersSkyblockMod.SECONDARY_COLOUR + arg1[1] + ", " + arg1[2]));
+ break;
default:
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.ERROR_COLOUR + "Usage: " + getCommandUsage(arg0)));
}
diff --git a/src/main/java/me/Danker/commands/ScaleCommand.java b/src/main/java/me/Danker/commands/ScaleCommand.java
index 9bb1f08..a19642b 100644
--- a/src/main/java/me/Danker/commands/ScaleCommand.java
+++ b/src/main/java/me/Danker/commands/ScaleCommand.java
@@ -27,6 +27,7 @@ public class ScaleCommand extends CommandBase {
public static double giantHPScale;
public static double abilityCooldownsScale;
public static double dungeonScoreScale;
+ public static double firePillarScale;
@Override
public String getCommandName() {
@@ -36,7 +37,7 @@ public class ScaleCommand extends CommandBase {
@Override
public String getCommandUsage(ICommandSender arg0) {
return "/" + getCommandName() + " <coords/display/dungeontimer/skill50/lividhp/caketimer/skilltracker/wateranswer/" +
- "bonzotimer/golemtimer/teammatesinradius/gianthp/abilitycooldown/dungeonscore> <size (0.1 - 10)>";
+ "bonzotimer/golemtimer/teammatesinradius/gianthp/abilitycooldown/dungeonscore/firepillar> <size (0.1 - 10)>";
}
public static String usage(ICommandSender arg0) {
@@ -53,7 +54,7 @@ public class ScaleCommand extends CommandBase {
if (args.length == 1) {
return getListOfStringsMatchingLastWord(args, "coords", "display", "dungeontimer", "skill50", "lividhp", "caketimer",
"skilltracker", "wateranswer", "bonzotimer", "golemtimer", "teammatesinradius",
- "gianthp", "abilitycooldowns", "dungeonscore");
+ "gianthp", "abilitycooldowns", "dungeonscore", "firepillar");
}
return null;
}
@@ -144,6 +145,11 @@ public class ScaleCommand extends CommandBase {
ConfigHandler.writeDoubleConfig("scales", "dungeonScoreScale", dungeonScoreScale);
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Dungeon score has been scaled to " + DankersSkyblockMod.SECONDARY_COLOUR + dungeonScoreScale + "x"));
break;
+ case "firepillar":
+ firePillarScale = scaleAmount;
+ ConfigHandler.writeDoubleConfig("scales", "firePillarScale", firePillarScale);
+ player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Fire pillar has been scaled to " + DankersSkyblockMod.SECONDARY_COLOUR + firePillarScale + "x"));
+ break;
default:
player.addChatMessage(new ChatComponentText(DankersSkyblockMod.ERROR_COLOUR + "Usage: " + getCommandUsage(arg0)));
}
diff --git a/src/main/java/me/Danker/commands/ToggleCommand.java b/src/main/java/me/Danker/commands/ToggleCommand.java
index 3536bd7..7207565 100644
--- a/src/main/java/me/Danker/commands/ToggleCommand.java
+++ b/src/main/java/me/Danker/commands/ToggleCommand.java
@@ -32,6 +32,15 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean expertiseLoreToggled;
public static boolean skill50DisplayToggled;
public static boolean outlineTextToggled;
+ public static boolean lowHealthNotifyToggled;
+ public static boolean stopSalvageStarredToggled;
+ public static boolean watcherReadyToggled;
+ public static boolean swapToPickBlockToggled;
+ public static boolean flowerWeaponsToggled;
+ public static boolean notifySlayerSlainToggled;
+ public static boolean necronNotificationsToggled;
+ public static boolean bonzoTimerToggled;
+ public static boolean autoSkillTrackerToggled;
public static boolean cakeTimerToggled;
public static boolean highlightSlayers;
public static boolean highlightArachne;
@@ -51,6 +60,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean dungeonScore;
public static boolean hideArmour;
public static boolean autoJoinSkyblock;
+ public static boolean firePillar;
// Chat Messages
public static boolean sceptreMessages;
public static boolean midasStaffMessages;
@@ -59,16 +69,6 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean cooldownMessages;
public static boolean manaMessages;
public static boolean killComboMessages;
- public static boolean lowHealthNotifyToggled;
- public static boolean lividSolverToggled;
- public static boolean stopSalvageStarredToggled;
- public static boolean watcherReadyToggled;
- public static boolean swapToPickBlockToggled;
- public static boolean flowerWeaponsToggled;
- public static boolean notifySlayerSlainToggled;
- public static boolean necronNotificationsToggled;
- public static boolean bonzoTimerToggled;
- public static boolean autoSkillTrackerToggled;
// Puzzle Solvers
public static boolean threeManToggled;
public static boolean oruoToggled;
@@ -80,6 +80,7 @@ public class ToggleCommand extends CommandBase implements ICommand {
public static boolean boulderToggled;
public static boolean silverfishToggled;
public static boolean iceWalkToggled;
+ public static boolean lividSolverToggled;
// Terminal Helpers
public static boolean startsWithToggled;
public static boolean selectAllToggled;