File tree Expand file tree Collapse file tree
src/space/commandf1/cracker/lpx Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ main: space.commandf1.cracker.lpx.LPXCrackerPlugin
33authors :
44 - Ytnoos
55 - commandf1
6- version : 3.6.12
6+ version : 3.7.1
77api-version : 1.13
88description : Blazingly stable anti exploit 1.8-1.21 but cracked
99softdepend :
Original file line number Diff line number Diff line change 11package space .commandf1 .cracker .lpx ;
22
3- import it .ytnoos .lpx .g ;
3+ import it .ytnoos .lpx .Sf ;
44import org .bukkit .command .CommandExecutor ;
55import org .bukkit .command .PluginCommand ;
66import 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" );
Original file line number Diff line number Diff line change 1212import java .util .jar .JarEntry ;
1313import java .util .jar .JarFile ;
1414
15+ /**
16+ * @author commandf1
17+ */
1518public class ClassUtil {
1619 private static final Object CLASS_LOADING_LOCK = new Object ();
1720
Original file line number Diff line number Diff line change 77
88/**
99 * Don't delete this class, you idiot.
10+ *
11+ * @author commandf1
1012 * */
1113@ SuppressWarnings ("unused" )
1214public 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 );
You can’t perform that action at this time.
0 commit comments