From b07db4c12cf2a5190fe19b30f5f1107b9870f85e Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 19 Dec 2020 15:21:54 +0000 Subject: [PATCH] Updated to 5.10.2 --- .../ecoenchants/command/commands/CommandEcodebug.java | 7 ++++++- gradle.properties | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/command/commands/CommandEcodebug.java b/Plugin/src/main/java/com/willfp/ecoenchants/command/commands/CommandEcodebug.java index e200671e..90e584a3 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/command/commands/CommandEcodebug.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/command/commands/CommandEcodebug.java @@ -1,5 +1,7 @@ package com.willfp.ecoenchants.command.commands; +import com.comphenix.protocol.ProtocolLibrary; +import com.comphenix.protocol.events.ListenerPriority; import com.willfp.ecoenchants.EcoEnchantsPlugin; import com.willfp.ecoenchants.command.AbstractCommand; import com.willfp.ecoenchants.display.EnchantmentCache; @@ -97,10 +99,13 @@ public class CommandEcodebug extends AbstractCommand { Logger.info("Collate? " + FastCollatedDropQueue.use()); Logger.info(""); + Logger.info("Packets: " + ProtocolLibrary.getProtocolManager().getPacketListeners().stream().filter(packetListener -> packetListener.getSendingWhitelist().getPriority().equals(ListenerPriority.MONITOR)).collect(Collectors.toList()).toString()); + Logger.info(""); + Logger.info("Server Information: "); Logger.info("Players Online: " + Bukkit.getServer().getOnlinePlayers().size()); Logger.info("Bukkit IP: " + Bukkit.getIp()); - Logger.info("Running Version: " + Bukkit.getVersion() + ", Bukkit Version: " + Bukkit.getBukkitVersion() + ", Alt Version: " + Bukkit.getServer().getVersion()); + Logger.info("Running Version: " + Bukkit.getVersion() + ", Bukkit Version: " + Bukkit.getBukkitVersion() + ", Alt Version: " + Bukkit.getServer().getVersion() + ", NMS: " + EcoEnchantsPlugin.NMS_VERSION); Logger.info("Motd: " + Bukkit.getServer().getMotd()); Logger.info("--------------- END DEBUG ----------------"); } diff --git a/gradle.properties b/gradle.properties index 2b7b361f..30a444e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 5.10.1 +version = 5.10.2 plugin-name = EcoEnchants \ No newline at end of file