mirror of
https://e.coding.net/circlecloud/RocketJump.git
synced 2024-11-22 14:58:50 +00:00
feat: 更新混淆 修复命令失效问题
This commit is contained in:
parent
5663cb7737
commit
3e67c29eae
65
class.dict
Normal file
65
class.dict
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
IIIIiI
|
||||||
|
IIiIiI
|
||||||
|
iiIIiI
|
||||||
|
Iiiiii
|
||||||
|
IIIIIi
|
||||||
|
IiIiII
|
||||||
|
iiIIIi
|
||||||
|
iIIIii
|
||||||
|
iIiiIi
|
||||||
|
iiiIiI
|
||||||
|
IiiIii
|
||||||
|
iIiiiI
|
||||||
|
iiiIIi
|
||||||
|
IIiIII
|
||||||
|
IIIIii
|
||||||
|
IIIiii
|
||||||
|
iiiiII
|
||||||
|
iIIiII
|
||||||
|
IIiiII
|
||||||
|
iiIIii
|
||||||
|
IiiIII
|
||||||
|
iIiIII
|
||||||
|
IiIIii
|
||||||
|
iiIiiI
|
||||||
|
iIiiII
|
||||||
|
IiiIiI
|
||||||
|
iiiIII
|
||||||
|
IIiIIi
|
||||||
|
iIiIiI
|
||||||
|
iiIiii
|
||||||
|
IiIiii
|
||||||
|
IiIIiI
|
||||||
|
IiiIIi
|
||||||
|
IiIIIi
|
||||||
|
IIiiIi
|
||||||
|
iIIiIi
|
||||||
|
iIIIII
|
||||||
|
IIIiIi
|
||||||
|
iiiiiI
|
||||||
|
iIiIIi
|
||||||
|
IIIiiI
|
||||||
|
iiiiIi
|
||||||
|
iiIiIi
|
||||||
|
IIiiiI
|
||||||
|
IiiiII
|
||||||
|
iIIiii
|
||||||
|
iIiIii
|
||||||
|
IiIiiI
|
||||||
|
IIiIii
|
||||||
|
IiIIII
|
||||||
|
IIIIII
|
||||||
|
iIIIIi
|
||||||
|
IIIiII
|
||||||
|
iiiiii
|
||||||
|
IiiiiI
|
||||||
|
IiIiIi
|
||||||
|
iiiIii
|
||||||
|
iIIIiI
|
||||||
|
iIIiiI
|
||||||
|
iIiiii
|
||||||
|
iiIiII
|
||||||
|
IIiiii
|
||||||
|
iiIIII
|
||||||
|
IiiiIi
|
||||||
|
llllll
|
24
obf.dict
Normal file
24
obf.dict
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
if
|
||||||
|
try
|
||||||
|
for
|
||||||
|
int
|
||||||
|
new
|
||||||
|
true
|
||||||
|
null
|
||||||
|
this
|
||||||
|
else
|
||||||
|
void
|
||||||
|
enum
|
||||||
|
final
|
||||||
|
false
|
||||||
|
class
|
||||||
|
catch
|
||||||
|
import
|
||||||
|
double
|
||||||
|
public
|
||||||
|
static
|
||||||
|
boolean
|
||||||
|
package
|
||||||
|
finally
|
||||||
|
private
|
||||||
|
protected
|
16
pom.xml
16
pom.xml
@ -1,10 +1,11 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>cn.citycraft</groupId>
|
<groupId>pw.yumc</groupId>
|
||||||
<artifactId>RocketJump</artifactId>
|
<artifactId>RocketJump</artifactId>
|
||||||
<version>1.2</version>
|
<version>1.3.1</version>
|
||||||
<name>RocketJump</name>
|
<name>RocketJump</name>
|
||||||
|
<description>火箭跳跃 特效Duang...</description>
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.name}</finalName>
|
<finalName>${project.name}</finalName>
|
||||||
<resources>
|
<resources>
|
||||||
@ -64,7 +65,8 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<options>
|
<options>
|
||||||
<option>-repackageclasses ${project.groupId}.${project.artifactId}</option>
|
<option>-repackageclasses ${project.groupId}.${project.artifactId}</option>
|
||||||
<option>-keep class ${project.groupId}.${project.artifactId}.${project.artifactId}</option>
|
<option>-keep class
|
||||||
|
${project.groupId}.${project.artifactId}.${project.artifactId}</option>
|
||||||
</options>
|
</options>
|
||||||
<libs>
|
<libs>
|
||||||
<lib>${java.home}/lib/rt.jar</lib>
|
<lib>${java.home}/lib/rt.jar</lib>
|
||||||
@ -74,7 +76,6 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
<properties>
|
<properties>
|
||||||
<jenkins.url>http://hs.citycraft.cn:8080</jenkins.url>
|
|
||||||
<update.description>&c修复命令部分代码...</update.description>
|
<update.description>&c修复命令部分代码...</update.description>
|
||||||
<update.changes></update.changes>
|
<update.changes></update.changes>
|
||||||
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
||||||
@ -85,17 +86,13 @@
|
|||||||
<id>spigot-repo</id>
|
<id>spigot-repo</id>
|
||||||
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
|
||||||
<id>citycraft-repo</id>
|
|
||||||
<url>${jenkins.url}/plugin/repository/everything/</url>
|
|
||||||
</repository>
|
|
||||||
</repositories>
|
</repositories>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<version>1.8.8-R0.1-SNAPSHOT</version>
|
<version>1.9-R0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.citycraft</groupId>
|
<groupId>cn.citycraft</groupId>
|
||||||
@ -104,5 +101,4 @@
|
|||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<description>火箭跳跃 特效Duang...</description>
|
|
||||||
</project>
|
</project>
|
@ -7,7 +7,12 @@
|
|||||||
|
|
||||||
# -----混淆时应用侵入式重载-----
|
# -----混淆时应用侵入式重载-----
|
||||||
-overloadaggressively
|
-overloadaggressively
|
||||||
|
|
||||||
|
# -----启用混淆字典-----
|
||||||
|
-obfuscationdictionary obf.dict
|
||||||
|
-classobfuscationdictionary class.dict
|
||||||
|
-packageobfuscationdictionary class.dict
|
||||||
|
|
||||||
# -----保留所有属性
|
# -----保留所有属性
|
||||||
-keepattributes **
|
-keepattributes **
|
||||||
|
|
||||||
@ -18,18 +23,24 @@
|
|||||||
-keepclassmembers class * implements java.io.Serializable { <fields>; }
|
-keepclassmembers class * implements java.io.Serializable { <fields>; }
|
||||||
|
|
||||||
# -----保护监听方法不被清理-----
|
# -----保护监听方法不被清理-----
|
||||||
-keepclassmembers class * implements org.bukkit.event.Listener
|
-keepclassmembers class * implements org.bukkit.event.Listener {
|
||||||
{
|
|
||||||
@org.bukkit.event.EventHandler <methods>;
|
@org.bukkit.event.EventHandler <methods>;
|
||||||
}
|
}
|
||||||
|
|
||||||
# -----保护注解命令方法不被清理-----
|
# -----保护注解命令方法不被清理-----
|
||||||
-keepclassmembers class **.commands.HandlerCommand { <methods>; }
|
-keepclassmembers class **.commands.HandlerCommand { <methods>; }
|
||||||
-keepclassmembers class * implements **.commands.HandlerCommands
|
-keepclassmembers class * implements **.commands.HandlerCommands {
|
||||||
{
|
|
||||||
@**.commands.HandlerCommand <methods>;
|
@**.commands.HandlerCommand <methods>;
|
||||||
@**.commands.HandlerTabComplete <methods>;
|
@**.commands.HandlerTabComplete <methods>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# -----保护注解NotProguard标记-----
|
||||||
|
-keep class **.NotProguard
|
||||||
|
-keep @**.NotProguard class * {*;}
|
||||||
|
-keepclassmembers class * {
|
||||||
|
@**.NotProguard <fields>;
|
||||||
|
@**.NotProguard <methods>;
|
||||||
|
}
|
||||||
|
|
||||||
# -----保护命令解析正常-----
|
# -----保护命令解析正常-----
|
||||||
-keepnames class * extends **.commands.BaseCommand
|
-keepnames class * extends **.commands.BaseCommand
|
@ -1,9 +1,8 @@
|
|||||||
package cn.citycraft.RocketJump;
|
package pw.yumc.RocketJump;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import cn.citycraft.PluginHelper.commands.InvokeSubCommand;
|
import cn.citycraft.PluginHelper.commands.InvokeSubCommand;
|
||||||
@ -19,11 +18,6 @@ public class RocketJump extends JavaPlugin {
|
|||||||
static RocketJump instence;
|
static RocketJump instence;
|
||||||
static List<String> Dante = new ArrayList<String>();
|
static List<String> Dante = new ArrayList<String>();
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onDisable() {
|
|
||||||
Bukkit.getConsoleSender().sendMessage("§4RocketJump已卸载...");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
instence = this;
|
instence = this;
|
||||||
@ -31,7 +25,6 @@ public class RocketJump extends JavaPlugin {
|
|||||||
isc.registerCommands(new RocketJumpCommands());
|
isc.registerCommands(new RocketJumpCommands());
|
||||||
isc.setAllCommandOnlyPlayer(true);
|
isc.setAllCommandOnlyPlayer(true);
|
||||||
getServer().getPluginManager().registerEvents(new RocketJumpListen(), this);
|
getServer().getPluginManager().registerEvents(new RocketJumpListen(), this);
|
||||||
Bukkit.getConsoleSender().sendMessage("§aRocketJump已加载...");
|
|
||||||
new VersionChecker(this);
|
new VersionChecker(this);
|
||||||
}
|
}
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package cn.citycraft.RocketJump;
|
package pw.yumc.RocketJump;
|
||||||
|
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
@ -1,4 +1,4 @@
|
|||||||
package cn.citycraft.RocketJump;
|
package pw.yumc.RocketJump;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
Loading…
Reference in New Issue
Block a user