Skip to content

Commit 92421ad

Browse files
Sync LunarClient Mods & Options
1 parent 1f263d8 commit 92421ad

File tree

10 files changed

+149
-16
lines changed

10 files changed

+149
-16
lines changed

api/src/main/java/com/lunarclient/apollo/mods/impl/ModChat.java

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,48 @@ public final class ModChat {
6666
.notifyClient()
6767
.build();
6868

69+
/**
70+
* Choose whether or not you want to stack multiple of the same messages in chat within a timeframe.
71+
*
72+
* @since %release_version%
73+
*/
74+
public static final SimpleOption<Boolean> STACK_MESSAGES_TIME_BASED = SimpleOption.<Boolean>builder()
75+
.comment("Choose whether or not you want to stack multiple of the same messages in chat within a timeframe")
76+
.node("chat", "stack-messages-time-based").type(TypeToken.get(Boolean.class))
77+
.notifyClient()
78+
.build();
79+
80+
/**
81+
* No documentation available.
82+
*
83+
* @since %release_version%
84+
*/
85+
public static final NumberOption<Integer> TIME_BASED_STACK_MESSAGES_TIMEFRAME = NumberOption.<Integer>number()
86+
.node("chat", "time-based-stack-messages-timeframe").type(TypeToken.get(Integer.class))
87+
.min(1).max(60)
88+
.notifyClient()
89+
.build();
90+
91+
/**
92+
* No documentation available.
93+
*
94+
* @since %release_version%
95+
*/
96+
public static final SimpleOption<Boolean> CHAT_STACK_IGNORE_BLANK = SimpleOption.<Boolean>builder()
97+
.node("chat", "chat-stack-ignore-blank").type(TypeToken.get(Boolean.class))
98+
.notifyClient()
99+
.build();
100+
101+
/**
102+
* No documentation available.
103+
*
104+
* @since %release_version%
105+
*/
106+
public static final SimpleOption<Boolean> CHAT_STACK_IGNORE_BREAK = SimpleOption.<Boolean>builder()
107+
.node("chat", "chat-stack-ignore-break").type(TypeToken.get(Boolean.class))
108+
.notifyClient()
109+
.build();
110+
69111
/**
70112
* Moves the chat up 12 pixels so it doesn't block health bar.
71113
*

api/src/main/java/com/lunarclient/apollo/mods/impl/ModHypixelMod.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,16 @@ public final class ModHypixelMod {
174174
.notifyClient()
175175
.build();
176176

177+
/**
178+
* No documentation available.
179+
*
180+
* @since %release_version%
181+
*/
182+
public static final SimpleOption<Boolean> USE_BEDWARS_LEVELS_FORMAT = SimpleOption.<Boolean>builder()
183+
.node("hypixel-mod", "use-bedwars-levels-format").type(TypeToken.get(Boolean.class))
184+
.notifyClient()
185+
.build();
186+
177187
/**
178188
* No documentation available.
179189
*

api/src/main/java/com/lunarclient/apollo/mods/impl/ModMotionBlur.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ public final class ModMotionBlur {
4949
*
5050
* @since 1.0.0
5151
*/
52-
public static final SimpleOption<Boolean> OLD_BLUR = SimpleOption.<Boolean>builder()
53-
.node("motion-blur", "old-blur").type(TypeToken.get(Boolean.class))
52+
public static final NumberOption<Integer> VALUE = NumberOption.<Integer>number()
53+
.node("motion-blur", "value").type(TypeToken.get(Integer.class))
54+
.min(1).max(10)
5455
.notifyClient()
5556
.build();
5657

@@ -59,9 +60,9 @@ public final class ModMotionBlur {
5960
*
6061
* @since 1.0.0
6162
*/
62-
public static final NumberOption<Integer> VALUE = NumberOption.<Integer>number()
63-
.node("motion-blur", "value").type(TypeToken.get(Integer.class))
64-
.min(1).max(10)
63+
@Deprecated
64+
public static final SimpleOption<Boolean> OLD_BLUR = SimpleOption.<Boolean>builder()
65+
.node("motion-blur", "old-blur").type(TypeToken.get(Boolean.class))
6566
.notifyClient()
6667
.build();
6768

api/src/main/java/com/lunarclient/apollo/mods/impl/ModOneSevenVisuals.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ public final class ModOneSevenVisuals {
4343
.notifyClient()
4444
.build();
4545

46+
/**
47+
* Provides better visual feedback when attacking while keeping vanilla behavior.
48+
*
49+
* @since %release_version%
50+
*/
51+
public static final SimpleOption<Boolean> ALWAYS_SWING = SimpleOption.<Boolean>builder()
52+
.comment("Provides better visual feedback when attacking while keeping vanilla behavior")
53+
.node("one-seven-visuals", "always-swing").type(TypeToken.get(Boolean.class))
54+
.notifyClient()
55+
.build();
56+
4657
private ModOneSevenVisuals() {
4758
}
4859

api/src/main/java/com/lunarclient/apollo/mods/impl/ModTimeChanger.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public final class ModTimeChanger {
5151
*/
5252
public static final NumberOption<Integer> TIME_CHANGER_TIME = NumberOption.<Integer>number()
5353
.node("time-changer", "time-changer-time").type(TypeToken.get(Integer.class))
54-
.min(-18000).max(-6000)
54+
.min(0).max(24000)
5555
.notifyClient()
5656
.build();
5757

@@ -76,6 +76,27 @@ public final class ModTimeChanger {
7676
.notifyClient()
7777
.build();
7878

79+
/**
80+
* No documentation available.
81+
*
82+
* @since %release_version%
83+
*/
84+
public static final SimpleOption<Boolean> TIME_PASSAGE = SimpleOption.<Boolean>builder()
85+
.node("time-changer", "time-passage").type(TypeToken.get(Boolean.class))
86+
.notifyClient()
87+
.build();
88+
89+
/**
90+
* No documentation available.
91+
*
92+
* @since %release_version%
93+
*/
94+
public static final NumberOption<Integer> SPEED = NumberOption.<Integer>number()
95+
.node("time-changer", "speed").type(TypeToken.get(Integer.class))
96+
.min(0).max(20)
97+
.notifyClient()
98+
.build();
99+
79100
private ModTimeChanger() {
80101
}
81102

docs/developers/mods/chat.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,33 @@ public void toggleChatExample(Player viewer, boolean value) {
3535
- Type: `Boolean`
3636
- Default: `false`
3737

38+
- __`STACK_MESSAGES_TIME_BASED`__
39+
- Choose whether or not you want to stack multiple of the same messages in chat within a timeframe
40+
- Config Key: `stack-messages-time-based`
41+
- Values
42+
- Type: `Boolean`
43+
- Default: `true`
44+
45+
- __`TIME_BASED_STACK_MESSAGES_TIMEFRAME`__
46+
- Config Key: `time-based-stack-messages-timeframe`
47+
- Values
48+
- Type: `Integer`
49+
- Default: `10`
50+
- Minimum: `1`
51+
- Maximum: `60`
52+
53+
- __`CHAT_STACK_IGNORE_BLANK`__
54+
- Config Key: `chat-stack-ignore-blank`
55+
- Values
56+
- Type: `Boolean`
57+
- Default: `false`
58+
59+
- __`CHAT_STACK_IGNORE_BREAK`__
60+
- Config Key: `chat-stack-ignore-break`
61+
- Values
62+
- Type: `Boolean`
63+
- Default: `false`
64+
3865
- __`CHAT_HEIGHT`__
3966
- Moves the chat up 12 pixels so it doesn't block health bar
4067
- Config Key: `chat-height`

docs/developers/mods/hypixelmod.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ public void toggleHypixelModsExample(Player viewer, boolean value) {
9999
- Type: `Boolean`
100100
- Default: `false`
101101

102+
- __`USE_BEDWARS_LEVELS_FORMAT`__
103+
- Config Key: `use-bedwars-levels-format`
104+
- Values
105+
- Type: `Boolean`
106+
- Default: `true`
107+
102108
- __`HIDE_PRIVATE_MESSAGES`__
103109
- Config Key: `hide-private-messages`
104110
- Values

docs/developers/mods/motionblur.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,11 @@ public void toggleMotionBlurExample(Player viewer, boolean value) {
2121
- Type: `Boolean`
2222
- Default: `false`
2323

24-
- __`OLD_BLUR`__
25-
- Config Key: `old-blur`
26-
- Values
27-
- Type: `Boolean`
28-
- Default: `false`
29-
3024
- __`VALUE`__
3125
- Config Key: `value`
3226
- Values
3327
- Type: `Integer`
34-
- Default: `1`
28+
- Default: `5`
3529
- Minimum: `1`
3630
- Maximum: `10`
3731

docs/developers/mods/onesevenvisuals.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ public void toggle17VisualsExample(Player viewer, boolean value) {
2121
- Type: `Boolean`
2222
- Default: `true`
2323

24+
- __`ALWAYS_SWING`__
25+
- Provides better visual feedback when attacking while keeping vanilla behavior
26+
- Config Key: `always-swing`
27+
- Values
28+
- Type: `Boolean`
29+
- Default: `true`
30+

docs/developers/mods/timechanger.mdx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public void toggleTimeChangerExample(Player viewer, boolean value) {
2525
- Config Key: `time-changer-time`
2626
- Values
2727
- Type: `Integer`
28-
- Default: `-12000`
29-
- Minimum: `-18000`
30-
- Maximum: `-6000`
28+
- Default: `12000`
29+
- Minimum: `0`
30+
- Maximum: `24000`
3131

3232
- __`HORIZON_YLEVEL`__
3333
- Config Key: `horizon-y-level`
@@ -43,3 +43,17 @@ public void toggleTimeChangerExample(Player viewer, boolean value) {
4343
- Type: `Boolean`
4444
- Default: `false`
4545

46+
- __`TIME_PASSAGE`__
47+
- Config Key: `time-passage`
48+
- Values
49+
- Type: `Boolean`
50+
- Default: `false`
51+
52+
- __`SPEED`__
53+
- Config Key: `speed`
54+
- Values
55+
- Type: `Integer`
56+
- Default: `1`
57+
- Minimum: `0`
58+
- Maximum: `20`
59+

0 commit comments

Comments
 (0)