Skip to content

Commit

Permalink
Remove multiple Kill Aura flags
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Apr 23, 2024
1 parent a4bfc72 commit 155cf10
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions server/src/main/java/com/soulfiremc/server/plugins/KillAura.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,14 @@ private static class KillAuraSettings implements SettingsObject {
BUILDER.ofString(
"whitelisted-user",
"Whitelisted User",
new String[] {
"--kill-aura-whitelisted-user", "--kill-aura-whitelisted-username", "--kwu"
},
new String[] {"--kill-aura-whitelisted-username"},
"This user will be ignored by the kill aura",
"Pansexuel");
public static final DoubleProperty HIT_RANGE =
BUILDER.ofDouble(
"hit-range",
"Hit Range",
new String[] {"--kill-aura-hit-range", "--kill-aura-hit-distance", "--khr"},
new String[] {"--kill-aura-hit-range"},
"Distance for the kill aura where the bot will start hitting the entity",
3.0d,
0.5d,
Expand All @@ -160,7 +158,7 @@ private static class KillAuraSettings implements SettingsObject {
BUILDER.ofDouble(
"swing-range",
"Swing Range",
new String[] {"--kill-aura-swing-range", "--kill-aura-swing-distance", "--ksr"},
new String[] {"--kill-aura-swing-range"},
"Distance for the kill aura where the bot will start swinging arm, set to 0 to disable",
3.5d,
0.0d,
Expand All @@ -170,7 +168,7 @@ private static class KillAuraSettings implements SettingsObject {
BUILDER.ofDouble(
"look-range",
"Look Range",
new String[] {"--kill-aura-look-range", "--kill-aura-look-distance", "--klr"},
new String[] {"--kill-aura-look-range"},
"Distance for the kill aura where the bot will start looking at the entity, set to 0 to disable",
4.8d,
0.0d,
Expand All @@ -180,14 +178,14 @@ private static class KillAuraSettings implements SettingsObject {
BUILDER.ofBoolean(
"check-walls",
"Check Walls",
new String[] {"--kill-aura-check-walls", "--kill-aura-cw"},
new String[] {"--kill-aura-check-walls"},
"Check if the entity is behind a wall",
true);
public static final BooleanProperty IGNORE_COOLDOWN =
BUILDER.ofBoolean(
"ignore-cooldown",
"Ignore Cooldown",
new String[] {"--kill-aura-ignore-cooldown", "--kill-aura-ic"},
new String[] {"--kill-aura-ignore-cooldown"},
"Ignore the 1.9+ attack cooldown to act like a 1.8 kill aura",
false);
public static final MinMaxPropertyLink ATTACK_DELAY_TICKS =
Expand Down

0 comments on commit 155cf10

Please sign in to comment.