Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
SirDank committed Sep 10, 2023
1 parent e92cb71 commit 68eb1cd
Show file tree
Hide file tree
Showing 7 changed files with 245 additions and 241 deletions.
2 changes: 1 addition & 1 deletion Visual Bukkit Project/Build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>vb</groupId>
<artifactId>dankchatroom</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public boolean onCommand(CommandSender commandSender, Command command, String la
if (PluginMain.checkEquals(GLOBAL_9ce148715491d15c729aff6847d37f60,
((java.lang.Object) (Object) true))) {
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) false);
commandSender.sendMessage(ChatColor.translateAlternateColorCodes('&',
"&6[&cdank&6.&cserver&6] \u27A4 &bYou have been disconnected&6!"));
} else {
commandSender.sendMessage(ChatColor.translateAlternateColorCodes('&',
"&6[&cdank&6.&cserver&6] \u27A4 &bYou are already disconnected&6!"));
Expand All @@ -65,6 +67,8 @@ public boolean onCommand(CommandSender commandSender, Command command, String la
"&6[&cdank&6.&cserver&6] \u27A4 &bYou are already connected&6!"));
} else {
PluginMain.procedure("chatroom_enabler", new ArrayList());
commandSender.sendMessage(ChatColor.translateAlternateColorCodes('&',
"&6[&cdank&6.&cserver&6] \u27A4 &bTrying to connect&6..."));
}
} catch (Exception e) {
e.printStackTrace();
Expand All @@ -82,7 +86,7 @@ public static void procedure(String procedure, List procedureArgs) throws Except
new ArrayList(Arrays.asList("https://dank-site.onrender.com/chatroom-login", "POST",
GLOBAL_6613e6c3dc9064e6ad3422610595df88)));
PluginMain.getInstance().getLogger().info("Logged in!");
} catch (Exception wuKhLJGAaYoATIKI) {
} catch (Exception QtODUKQqEsrqiXGX) {
PluginMain.getInstance().getLogger().severe("Failed to login!");
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) false);
}
Expand All @@ -103,7 +107,7 @@ public void run() {
((java.lang.Object) (Object) true))) {
try {
PluginMain.procedure("chatroom_validator", new ArrayList());
} catch (Exception UUXAGIxZaoCuVreB) {
} catch (Exception VRNNgFRsdKSGpFJv) {
PluginMain.getInstance().getLogger().severe("Failed to validate!");
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) false);
cancel();
Expand All @@ -122,8 +126,8 @@ public void run() {
if (PluginMain.checkEquals(GLOBAL_9ce148715491d15c729aff6847d37f60,
((java.lang.Object) (Object) true))) {
try {
PluginMain.procedure("chatroom_grabber", new ArrayList());
} catch (Exception kEAxskmfBNPKVDRK) {
PluginMain.procedure("chatroom_grabber_and_output", new ArrayList());
} catch (Exception RGowKRCnqGzoRJuW) {
PluginMain.getInstance().getLogger().severe("Failed to get chat!");
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) false);
cancel();
Expand All @@ -139,31 +143,37 @@ public void run() {
}
return;
}
if (procedure.equalsIgnoreCase("chatroom_grabber")) {
Object $4aaaeff40027ab37e580c28e4c9bf80b = null;
if (procedure.equalsIgnoreCase("chatroom_grabber_and_output")) {
Object $4d6c6afd73ebb562dab16d7cf5012aa8 = null;
Object $b979d3536be72c6fde1bea3ac6314886 = null;
Object $e7cb42ac1349db10ce0fd08b421bb3db = null;
$e7cb42ac1349db10ce0fd08b421bb3db = PluginMain.function("compress", new ArrayList(Arrays.asList(
(((("{\"uuid\":\"" + String.valueOf(GLOBAL_65e48c28264992f0f46da7786376f6c3)) + "\",\"msg_id\":\"")
+ String.valueOf(GLOBAL_54bc2ca21fe9f603fdf50a6cae5269ec)) + "\"}"))));
$4aaaeff40027ab37e580c28e4c9bf80b = PluginMain.function("decompress",
new ArrayList(Arrays.asList(PluginMain.function("send_request",
new ArrayList(Arrays.asList("https://dank-site.onrender.com/chatroom", "GET",
$e7cb42ac1349db10ce0fd08b421bb3db))))));
$b979d3536be72c6fde1bea3ac6314886 = PluginMain.function("mapper",
new ArrayList(Arrays.asList($4aaaeff40027ab37e580c28e4c9bf80b)));
$4d6c6afd73ebb562dab16d7cf5012aa8 = ((java.lang.Object) ((java.util.HashMap) (Object) $b979d3536be72c6fde1bea3ac6314886)
.get("chat"));
new ArrayList(Arrays.asList(PluginMain.function("decompress",
new ArrayList(Arrays.asList(PluginMain.function("send_request",
new ArrayList(Arrays.asList("https://dank-site.onrender.com/chatroom", "GET",
PluginMain.function("compress",
new ArrayList(Arrays.asList((((("{\"uuid\":\""
+ String.valueOf(GLOBAL_65e48c28264992f0f46da7786376f6c3))
+ "\",\"msg_id\":\"")
+ String.valueOf(GLOBAL_54bc2ca21fe9f603fdf50a6cae5269ec))
+ "\"}")))))))))))));
$4d6c6afd73ebb562dab16d7cf5012aa8 = PluginMain
.createList(((java.lang.String) ((java.lang.String) ((java.lang.String) String
.valueOf($4d6c6afd73ebb562dab16d7cf5012aa8).replace(String.valueOf("["),
String.valueOf(ChatColor.translateAlternateColorCodes('&', "&6[&c")))).replace(
String.valueOf("]"),
String.valueOf(ChatColor.translateAlternateColorCodes('&', "&6]&b"))))
.replace(String.valueOf(">"), String.valueOf(
ChatColor.translateAlternateColorCodes('&', "&6\u27A4&b"))))
.split("\\\\n", ((int) (25d))));
.createList(((java.lang.String) ((java.lang.String) ((java.lang.String) ((java.lang.String) String
.valueOf(
((java.lang.Object) ((java.util.HashMap) (Object) $b979d3536be72c6fde1bea3ac6314886)
.get("chat")))
.replace(String.valueOf("[SirDank]"),
String.valueOf(ChatColor.translateAlternateColorCodes('&', "[&4SirDank]"))))
.replace(String.valueOf("["), String.valueOf(
ChatColor.translateAlternateColorCodes('&', "&6[&c")))).replace(
String.valueOf("]"),
String.valueOf(ChatColor.translateAlternateColorCodes('&',
"&6]&b")))).replace(
String.valueOf(">"),
String.valueOf(ChatColor
.translateAlternateColorCodes('&',
"&6\u27A4&b")))).split(
"\\\\n",
((int) (25d))));
if (!PluginMain.checkEquals($4d6c6afd73ebb562dab16d7cf5012aa8, new ArrayList(Arrays.asList("")))) {
for (Object FINAL_loopValue1 : ((java.util.List) (Object) $4d6c6afd73ebb562dab16d7cf5012aa8)) {
org.bukkit.Bukkit.broadcastMessage(String.valueOf(FINAL_loopValue1));
Expand All @@ -175,12 +185,13 @@ public void run() {
}
if (procedure.equalsIgnoreCase("chatroom_input")) {
Object $01903771aa49381d3482b07d777054c5 = null;
Object $e7cb42ac1349db10ce0fd08b421bb3db = null;
$e7cb42ac1349db10ce0fd08b421bb3db = PluginMain.function("compress", new ArrayList(Arrays.asList(
(((("{\"uuid\":\"" + String.valueOf(GLOBAL_65e48c28264992f0f46da7786376f6c3)) + "\",\"msg\":\"")
+ String.valueOf(((java.lang.Object) procedureArgs.get(((int) (0d)))))) + "\"}"))));
$01903771aa49381d3482b07d777054c5 = PluginMain.function("send_request", new ArrayList(Arrays
.asList("https://dank-site.onrender.com/chatroom", "POST", $e7cb42ac1349db10ce0fd08b421bb3db)));
$01903771aa49381d3482b07d777054c5 = PluginMain.function("send_request",
new ArrayList(Arrays.asList("https://dank-site.onrender.com/chatroom", "POST",
PluginMain.function("compress", new ArrayList(Arrays.asList(
(((("{\"uuid\":\"" + String.valueOf(GLOBAL_65e48c28264992f0f46da7786376f6c3))
+ "\",\"msg\":\"")
+ String.valueOf(((java.lang.Object) procedureArgs.get(((int) (0d))))))
+ "\"}")))))));
return;
}
if (procedure.equalsIgnoreCase("chatroom_validator")) {
Expand All @@ -206,7 +217,7 @@ public void run() {
PluginMain.getInstance().getLogger()
.info(("HWID: " + String.valueOf(GLOBAL_65e48c28264992f0f46da7786376f6c3)));
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) true);
} catch (Exception zQFEvvyGfeCFqxlq) {
} catch (Exception lEmVMEVmVQrnytVg) {
PluginMain.getInstance().getLogger().severe("Failed to get HWID!");
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) false);
}
Expand Down Expand Up @@ -345,7 +356,7 @@ public void event1(org.bukkit.event.player.AsyncPlayerChatEvent event) throws Ex
+ ((java.lang.String) ((org.bukkit.command.CommandSender) (Object) ((org.bukkit.entity.Player) event
.getPlayer())).getName()))
+ "] > ") + ((java.lang.String) event.getMessage())))));
} catch (Exception XwAGlWuLgYymkpVv) {
} catch (Exception EXdmMXGFUmhTqpsv) {
PluginMain.getInstance().getLogger().severe("Input Failed!");
PluginMain.GLOBAL_9ce148715491d15c729aff6847d37f60 = ((java.lang.Object) (Object) false);
}
Expand Down
2 changes: 1 addition & 1 deletion Visual Bukkit Project/Build/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "DankChatroom"
version: "1.0.2"
version: "1.0.3"
main: "vb.$dankchatroom.PluginMain"
api-version: 1.13
authors: [SirDank]
Expand Down
2 changes: 1 addition & 1 deletion Visual Bukkit Project/Build/target/classes/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "DankChatroom"
version: "1.0.2"
version: "1.0.3"
main: "vb.$dankchatroom.PluginMain"
api-version: 1.13
authors: [SirDank]
Expand Down
Binary file modified Visual Bukkit Project/Build/target/dankchatroom.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Fri Sep 01 16:46:44 IST 2023
#Sun Sep 10 20:28:21 IST 2023
groupId=vb
artifactId=dankchatroom
version=1.0.2
version=1.0.3
Loading

0 comments on commit 68eb1cd

Please sign in to comment.