diff --git a/src/main/java/pw/kaboom/extras/commands/CommandBroadcastVanilla.java b/src/main/java/pw/kaboom/extras/commands/CommandBroadcastVanilla.java index eb974ed..9ab0576 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandBroadcastVanilla.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandBroadcastVanilla.java @@ -1,7 +1,6 @@ package pw.kaboom.extras.commands; import org.bukkit.ChatColor; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; diff --git a/src/main/java/pw/kaboom/extras/commands/CommandClearChat.java b/src/main/java/pw/kaboom/extras/commands/CommandClearChat.java index e3d8ff4..bcb1c59 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandClearChat.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandClearChat.java @@ -2,11 +2,9 @@ package pw.kaboom.extras.commands; import org.bukkit.Bukkit; import org.bukkit.ChatColor; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; - import org.bukkit.entity.Player; public final class CommandClearChat implements CommandExecutor { diff --git a/src/main/java/pw/kaboom/extras/commands/CommandConsole.java b/src/main/java/pw/kaboom/extras/commands/CommandConsole.java index 915a934..3e4d1f4 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandConsole.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandConsole.java @@ -2,7 +2,6 @@ package pw.kaboom.extras.commands; import org.bukkit.Bukkit; import org.bukkit.ChatColor; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; diff --git a/src/main/java/pw/kaboom/extras/commands/CommandEnchantAll.java b/src/main/java/pw/kaboom/extras/commands/CommandEnchantAll.java index f52ca48..48fcb6e 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandEnchantAll.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandEnchantAll.java @@ -1,16 +1,12 @@ package pw.kaboom.extras.commands; import org.bukkit.Material; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; - import org.bukkit.enchantments.Enchantment; - import org.bukkit.entity.Player; - import org.bukkit.inventory.ItemStack; public final class CommandEnchantAll implements CommandExecutor { diff --git a/src/main/java/pw/kaboom/extras/commands/CommandJumpscare.java b/src/main/java/pw/kaboom/extras/commands/CommandJumpscare.java index e772e2f..615bd51 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandJumpscare.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandJumpscare.java @@ -4,11 +4,9 @@ import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Particle; import org.bukkit.Sound; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; - import org.bukkit.entity.Player; public final class CommandJumpscare implements CommandExecutor { diff --git a/src/main/java/pw/kaboom/extras/commands/CommandKaboom.java b/src/main/java/pw/kaboom/extras/commands/CommandKaboom.java index 3d4adfd..2428cdc 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandKaboom.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandKaboom.java @@ -3,13 +3,11 @@ package pw.kaboom.extras.commands; import java.util.concurrent.ThreadLocalRandom; import org.bukkit.Location; - import org.bukkit.Material; import org.bukkit.World; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; - import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; diff --git a/src/main/java/pw/kaboom/extras/commands/CommandPrefix.java b/src/main/java/pw/kaboom/extras/commands/CommandPrefix.java index 851df47..9988706 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandPrefix.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandPrefix.java @@ -3,17 +3,13 @@ package pw.kaboom.extras.commands; import java.io.File; import org.bukkit.ChatColor; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; - import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; - import org.bukkit.entity.Player; - import org.bukkit.plugin.java.JavaPlugin; import pw.kaboom.extras.Main; diff --git a/src/main/java/pw/kaboom/extras/commands/CommandPumpkin.java b/src/main/java/pw/kaboom/extras/commands/CommandPumpkin.java index ee74b66..3ca82d8 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandPumpkin.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandPumpkin.java @@ -3,13 +3,10 @@ package pw.kaboom.extras.commands; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; - import org.bukkit.entity.Player; - import org.bukkit.inventory.ItemStack; public final class CommandPumpkin implements CommandExecutor { diff --git a/src/main/java/pw/kaboom/extras/commands/CommandServerInfo.java b/src/main/java/pw/kaboom/extras/commands/CommandServerInfo.java index 21d56ec..995e9a2 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandServerInfo.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandServerInfo.java @@ -2,12 +2,10 @@ package pw.kaboom.extras.commands; import java.io.BufferedReader; import java.io.InputStreamReader; - import java.lang.management.ManagementFactory; import java.net.InetAddress; import org.bukkit.ChatColor; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; diff --git a/src/main/java/pw/kaboom/extras/commands/CommandSpawn.java b/src/main/java/pw/kaboom/extras/commands/CommandSpawn.java index edb629b..71818d5 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandSpawn.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandSpawn.java @@ -3,15 +3,12 @@ package pw.kaboom.extras.commands; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; - import org.bukkit.block.Block; import org.bukkit.block.BlockFace; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; - import org.bukkit.entity.Player; public final class CommandSpawn implements CommandExecutor { diff --git a/src/main/java/pw/kaboom/extras/commands/CommandSpidey.java b/src/main/java/pw/kaboom/extras/commands/CommandSpidey.java index 13aac24..ab3a3b7 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandSpidey.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandSpidey.java @@ -2,14 +2,11 @@ package pw.kaboom.extras.commands; import org.bukkit.Material; import org.bukkit.World; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; - import org.bukkit.entity.Player; - import org.bukkit.util.BlockIterator; import org.bukkit.util.Vector; diff --git a/src/main/java/pw/kaboom/extras/commands/CommandTellraw.java b/src/main/java/pw/kaboom/extras/commands/CommandTellraw.java index fdd86cd..c00fbf7 100644 --- a/src/main/java/pw/kaboom/extras/commands/CommandTellraw.java +++ b/src/main/java/pw/kaboom/extras/commands/CommandTellraw.java @@ -2,11 +2,9 @@ package pw.kaboom.extras.commands; import org.bukkit.Bukkit; import org.bukkit.ChatColor; - import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; - import org.bukkit.entity.Player; public final class CommandTellraw implements CommandExecutor { diff --git a/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java b/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java index 30344ee..ee3b9cf 100644 --- a/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java +++ b/src/main/java/pw/kaboom/extras/helpers/SkinDownloader.java @@ -14,6 +14,7 @@ import org.bukkit.scheduler.BukkitRunnable; import com.destroystokyo.paper.profile.PlayerProfile; import com.destroystokyo.paper.profile.ProfileProperty; + import com.google.gson.JsonObject; import com.google.gson.JsonParser; diff --git a/src/main/java/pw/kaboom/extras/modules/entity/EntityExplosion.java b/src/main/java/pw/kaboom/extras/modules/entity/EntityExplosion.java index 936bae0..69d7ba2 100644 --- a/src/main/java/pw/kaboom/extras/modules/entity/EntityExplosion.java +++ b/src/main/java/pw/kaboom/extras/modules/entity/EntityExplosion.java @@ -1,12 +1,9 @@ package pw.kaboom.extras.modules.entity; import org.bukkit.World; - import org.bukkit.entity.Fireball; - import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; - import org.bukkit.event.entity.ExplosionPrimeEvent; public final class EntityExplosion implements Listener { diff --git a/src/main/java/pw/kaboom/extras/modules/player/PlayerChat.java b/src/main/java/pw/kaboom/extras/modules/player/PlayerChat.java index 771fe98..0661982 100644 --- a/src/main/java/pw/kaboom/extras/modules/player/PlayerChat.java +++ b/src/main/java/pw/kaboom/extras/modules/player/PlayerChat.java @@ -4,17 +4,12 @@ import java.io.File; import java.util.UUID; import org.bukkit.ChatColor; - import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; - import org.bukkit.entity.Player; - import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; - import org.bukkit.event.player.AsyncPlayerChatEvent; - import org.bukkit.plugin.java.JavaPlugin; import pw.kaboom.extras.Main; diff --git a/src/main/java/pw/kaboom/extras/modules/player/PlayerConnection.java b/src/main/java/pw/kaboom/extras/modules/player/PlayerConnection.java index d1fbed8..96448b8 100644 --- a/src/main/java/pw/kaboom/extras/modules/player/PlayerConnection.java +++ b/src/main/java/pw/kaboom/extras/modules/player/PlayerConnection.java @@ -23,6 +23,7 @@ import org.spigotmc.event.player.PlayerSpawnLocationEvent; import com.destroystokyo.paper.event.profile.PreLookupProfileEvent; import com.destroystokyo.paper.profile.ProfileProperty; + import com.google.common.base.Charsets; import pw.kaboom.extras.Main; diff --git a/src/main/java/pw/kaboom/extras/modules/server/ServerGameRule.java b/src/main/java/pw/kaboom/extras/modules/server/ServerGameRule.java index 742c746..7e816d8 100644 --- a/src/main/java/pw/kaboom/extras/modules/server/ServerGameRule.java +++ b/src/main/java/pw/kaboom/extras/modules/server/ServerGameRule.java @@ -1,10 +1,11 @@ package pw.kaboom.extras.modules.server; -import io.papermc.paper.event.world.WorldGameRuleChangeEvent; import org.bukkit.GameRule; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; +import io.papermc.paper.event.world.WorldGameRuleChangeEvent; + public final class ServerGameRule implements Listener { @EventHandler void onGameRuleChange(final WorldGameRuleChangeEvent event) {