Skip to content

Commit f3da48a

Browse files
committed
Bump to 3.7.1
1 parent 528202d commit f3da48a

9 files changed

Lines changed: 942 additions & 4 deletions

File tree

libs/LPX.jar

-26.5 KB
Binary file not shown.

resources/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ options:
5151
# NONE (vanilla behavior)
5252
disable-item-decoding: SMART
5353

54+
# Maximum depth an ItemStack can have per packet
55+
max-item-depth: 4
56+
57+
# Maximum number of items a packet can contain
58+
max-items-per-packet: 1458
59+
5460
# LPX will prevent any type of component exploit that slows Netty threads
5561
skip-component-decoding: true
5662

@@ -143,6 +149,19 @@ packet-logger:
143149

144150
enabled: false
145151

152+
# Where to save the logs. It can be CONSOLE, FILE or BOTH
153+
output: FILE
154+
155+
# Netty watchdog thread
156+
netty-watchdog:
157+
enabled: true
158+
# Max time (in milliseconds) a Netty thread can be be blocked before being dumped
159+
max-time: 50
160+
# Delay between thread health checks (in milliseconds)
161+
check-frequency: 25
162+
# Time to wait before dumping the thread again (in milliseconds)
163+
report-cooldown: 5000
164+
146165
# MODES: whitelist, blacklist
147166
# Whitelist mode: only players in the list will be logged
148167
# Blacklist mode: only players not in the list will be logged

resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ main: space.commandf1.cracker.lpx.LPXCrackerPlugin
33
authors:
44
- Ytnoos
55
- commandf1
6-
version: 3.6.12
6+
version: 3.7.1
77
api-version: 1.13
88
description: Blazingly stable anti exploit 1.8-1.21 but cracked
99
softdepend:

screenshots/show.png

-18.2 KB
Loading

src/space/commandf1/cracker/lpx/LPXCrackerPlugin.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
package space.commandf1.cracker.lpx;
22

3-
import it.ytnoos.lpx.g;
3+
import it.ytnoos.lpx.Sf;
44
import org.bukkit.command.CommandExecutor;
55
import org.bukkit.command.PluginCommand;
66
import space.commandf1.cracker.lpx.util.ClassUtil;
7+
import space.commandf1.cracker.lpx.util.Metrics;
78

8-
public class LPXCrackerPlugin extends g {
9+
/**
10+
* @author commandf1
11+
*/
12+
public class LPXCrackerPlugin extends Sf {
913
private static LPXCrackerPlugin instance;
1014

1115
public LPXCrackerPlugin() {
@@ -19,6 +23,8 @@ public static LPXCrackerPlugin getInstance() {
1923

2024
@Override
2125
public void onEnable() {
26+
new Metrics(this, 27278);
27+
2228
String version = this.getDescription().getVersion();
2329

2430
this.getLogger().info("LPX v" + version + " was cracked by commandf1");

src/space/commandf1/cracker/lpx/util/ClassUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
import java.util.jar.JarEntry;
1313
import java.util.jar.JarFile;
1414

15+
/**
16+
* @author commandf1
17+
*/
1518
public class ClassUtil {
1619
private static final Object CLASS_LOADING_LOCK = new Object();
1720

src/space/commandf1/cracker/lpx/util/CrackerUtil.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* Don't delete this class, you idiot.
10+
*
11+
* @author commandf1
1012
* */
1113
@SuppressWarnings("unused")
1214
public class CrackerUtil {
@@ -33,7 +35,7 @@ public static void executeFinishVerification(Object lpx) {
3335

3436
try {
3537
Class<?> aClass = Class.forName("it.ytnoos.lpx.q");
36-
Object o = aClass.newInstance();
38+
Object o = aClass.getDeclaredConstructor().newInstance();
3739
Method declaredMethod = aClass.getDeclaredMethod("q", lpx.getClass());
3840
declaredMethod.setAccessible(true);
3941
declaredMethod.invoke(o, lpx);

0 commit comments

Comments
 (0)