From 96f8ef153fd1354e7e73722e5fff19123a6fa874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Tue, 31 May 2022 20:09:36 +0200 Subject: [PATCH] Rename main package --- buildNumber.properties | 4 +-- pom.xml | 2 +- .../beatrice}/hubthat/HubThat.java | 30 +++++++++---------- .../hubthat/commands/HubCommand.java | 8 ++--- .../hubthat/commands/HubThatCommand.java | 14 ++++----- .../hubthat/commands/SetHubCommand.java | 6 ++-- .../hubthat/commands/SetSpawnCommand.java | 8 ++--- .../hubthat/commands/SpawnCommand.java | 8 ++--- .../hubthat/commands/WorldCreatorCommand.java | 2 +- .../hubthat/commands/WorldListCommand.java | 7 ++--- .../hubthat/commands/WorldTpCommand.java | 10 +++---- .../commands/hubthatcommands/HelpCommand.java | 10 +++---- .../hubthatcommands/ReloadCommand.java | 8 ++--- .../hubthat/completers/InfoCompleter.java | 2 +- .../hubthat/completers/SpawnCompleter.java | 2 +- .../hubthat/listeners/PlayerChatListener.java | 10 +++---- .../hubthat/listeners/PlayerJoinListener.java | 16 +++++----- .../hubthat/listeners/PlayerMoveListener.java | 12 ++++---- .../listeners/PlayerRespawnListener.java | 12 ++++---- .../hubthat/utils/ConfigEntries.java | 2 +- .../beatrice}/hubthat/utils/Debugger.java | 4 +-- .../hubthat/utils/LocalizedMessages.java | 2 +- .../beatrice}/hubthat/utils/MessageUtils.java | 4 +-- .../hubthat/utils/PermissionUtils.java | 2 +- .../beatrice}/hubthat/utils/Permissions.java | 2 +- .../beatrice}/hubthat/utils/PluginCache.java | 2 +- .../hubthat/utils/TeleportUtils.java | 6 ++-- .../hubthat/utils/files/FileUtils.java | 12 ++++---- .../utils/files/OldConfigConversion.java | 8 ++--- .../hubthat/utils/metrics/Metrics.java | 2 +- .../hubthat/utils/metrics/UpdateChecker.java | 6 ++-- src/main/resources/plugin.yml | 2 +- 32 files changed, 112 insertions(+), 113 deletions(-) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/HubThat.java (89%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/HubCommand.java (97%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/HubThatCommand.java (87%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/SetHubCommand.java (95%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/SetSpawnCommand.java (96%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/SpawnCommand.java (97%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/WorldCreatorCommand.java (93%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/WorldListCommand.java (95%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/WorldTpCommand.java (93%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/hubthatcommands/HelpCommand.java (86%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/commands/hubthatcommands/ReloadCommand.java (86%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/completers/InfoCompleter.java (94%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/completers/SpawnCompleter.java (92%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/listeners/PlayerChatListener.java (88%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/listeners/PlayerJoinListener.java (89%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/listeners/PlayerMoveListener.java (82%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/listeners/PlayerRespawnListener.java (90%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/ConfigEntries.java (95%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/Debugger.java (97%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/LocalizedMessages.java (96%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/MessageUtils.java (97%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/PermissionUtils.java (90%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/Permissions.java (94%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/PluginCache.java (94%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/TeleportUtils.java (98%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/files/FileUtils.java (97%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/files/OldConfigConversion.java (95%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/metrics/Metrics.java (99%) rename src/main/java/{net/mindoverflow => wtf/beatrice}/hubthat/utils/metrics/UpdateChecker.java (98%) diff --git a/buildNumber.properties b/buildNumber.properties index 2aa34c5..bab8034 100644 --- a/buildNumber.properties +++ b/buildNumber.properties @@ -1,3 +1,3 @@ #maven.buildNumber.plugin properties file -#Thu Jun 25 22:07:48 CEST 2020 -buildNumber=184 +#Tue May 31 20:08:48 CEST 2022 +buildNumber=186 diff --git a/pom.xml b/pom.xml index a6a14c5..6f965dc 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - net.mindoverflow.hubthat + wtf.beatrice.hubthat HubThat 10.1 diff --git a/src/main/java/net/mindoverflow/hubthat/HubThat.java b/src/main/java/wtf/beatrice/hubthat/HubThat.java similarity index 89% rename from src/main/java/net/mindoverflow/hubthat/HubThat.java rename to src/main/java/wtf/beatrice/hubthat/HubThat.java index 5912e23..fecdb01 100644 --- a/src/main/java/net/mindoverflow/hubthat/HubThat.java +++ b/src/main/java/wtf/beatrice/hubthat/HubThat.java @@ -1,19 +1,19 @@ -package net.mindoverflow.hubthat; +package wtf.beatrice.hubthat; -import net.mindoverflow.hubthat.commands.*; -import net.mindoverflow.hubthat.completers.InfoCompleter; -import net.mindoverflow.hubthat.completers.SpawnCompleter; -import net.mindoverflow.hubthat.listeners.PlayerChatListener; -import net.mindoverflow.hubthat.listeners.PlayerJoinListener; -import net.mindoverflow.hubthat.listeners.PlayerMoveListener; -import net.mindoverflow.hubthat.listeners.PlayerRespawnListener; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.Debugger; -import net.mindoverflow.hubthat.utils.TeleportUtils; -import net.mindoverflow.hubthat.utils.files.FileUtils; -import net.mindoverflow.hubthat.utils.files.OldConfigConversion; -import net.mindoverflow.hubthat.utils.metrics.Metrics; -import net.mindoverflow.hubthat.utils.metrics.UpdateChecker; +import wtf.beatrice.hubthat.commands.*; +import wtf.beatrice.hubthat.completers.InfoCompleter; +import wtf.beatrice.hubthat.completers.SpawnCompleter; +import wtf.beatrice.hubthat.listeners.PlayerChatListener; +import wtf.beatrice.hubthat.listeners.PlayerJoinListener; +import wtf.beatrice.hubthat.listeners.PlayerMoveListener; +import wtf.beatrice.hubthat.listeners.PlayerRespawnListener; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.Debugger; +import wtf.beatrice.hubthat.utils.TeleportUtils; +import wtf.beatrice.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.utils.files.OldConfigConversion; +import wtf.beatrice.hubthat.utils.metrics.Metrics; +import wtf.beatrice.hubthat.utils.metrics.UpdateChecker; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/HubCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/HubCommand.java similarity index 97% rename from src/main/java/net/mindoverflow/hubthat/commands/HubCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/HubCommand.java index 584bcea..d6bdc3f 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/HubCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/HubCommand.java @@ -1,8 +1,8 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.*; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/HubThatCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/HubThatCommand.java similarity index 87% rename from src/main/java/net/mindoverflow/hubthat/commands/HubThatCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/HubThatCommand.java index 12c6d45..ea0851e 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/HubThatCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/HubThatCommand.java @@ -1,11 +1,11 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.commands.hubthatcommands.HelpCommand; -import net.mindoverflow.hubthat.commands.hubthatcommands.ReloadCommand; -import net.mindoverflow.hubthat.utils.Debugger; -import net.mindoverflow.hubthat.utils.MessageUtils; -import net.mindoverflow.hubthat.utils.PluginCache; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.commands.hubthatcommands.HelpCommand; +import wtf.beatrice.hubthat.commands.hubthatcommands.ReloadCommand; +import wtf.beatrice.hubthat.utils.Debugger; +import wtf.beatrice.hubthat.utils.MessageUtils; +import wtf.beatrice.hubthat.utils.PluginCache; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/SetHubCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/SetHubCommand.java similarity index 95% rename from src/main/java/net/mindoverflow/hubthat/commands/SetHubCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/SetHubCommand.java index 1ebc6df..1d91ab6 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/SetHubCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/SetHubCommand.java @@ -1,7 +1,7 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.utils.*; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.utils.*; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.Location; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/SetSpawnCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/SetSpawnCommand.java similarity index 96% rename from src/main/java/net/mindoverflow/hubthat/commands/SetSpawnCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/SetSpawnCommand.java index 3d8f8e9..384a34f 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/SetSpawnCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/SetSpawnCommand.java @@ -1,8 +1,8 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.*; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.command.Command; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/SpawnCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/SpawnCommand.java similarity index 97% rename from src/main/java/net/mindoverflow/hubthat/commands/SpawnCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/SpawnCommand.java index fa6de6c..eacc167 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/SpawnCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/SpawnCommand.java @@ -1,8 +1,8 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.*; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/WorldCreatorCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/WorldCreatorCommand.java similarity index 93% rename from src/main/java/net/mindoverflow/hubthat/commands/WorldCreatorCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/WorldCreatorCommand.java index 07b4503..4fa0b8b 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/WorldCreatorCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/WorldCreatorCommand.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; import org.bukkit.World; import org.bukkit.WorldCreator; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/WorldListCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/WorldListCommand.java similarity index 95% rename from src/main/java/net/mindoverflow/hubthat/commands/WorldListCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/WorldListCommand.java index 345ce46..ebcbb78 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/WorldListCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/WorldListCommand.java @@ -1,13 +1,12 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; +import wtf.beatrice.hubthat.HubThat; import org.bukkit.Difficulty; 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 wtf.beatrice.hubthat.utils.*; import java.util.logging.Level; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/WorldTpCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/WorldTpCommand.java similarity index 93% rename from src/main/java/net/mindoverflow/hubthat/commands/WorldTpCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/WorldTpCommand.java index 672316e..3bcf4f3 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/WorldTpCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/WorldTpCommand.java @@ -1,7 +1,6 @@ -package net.mindoverflow.hubthat.commands; +package wtf.beatrice.hubthat.commands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; +import wtf.beatrice.hubthat.HubThat; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.command.Command; @@ -9,11 +8,12 @@ import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.entity.Player; +import wtf.beatrice.hubthat.utils.*; import java.util.logging.Level; -import static net.mindoverflow.hubthat.utils.TeleportUtils.fixInvisibilityAfter; -import static net.mindoverflow.hubthat.utils.TeleportUtils.fixInvisibilityBefore; +import static wtf.beatrice.hubthat.utils.TeleportUtils.fixInvisibilityAfter; +import static wtf.beatrice.hubthat.utils.TeleportUtils.fixInvisibilityBefore; public class WorldTpCommand implements CommandExecutor { diff --git a/src/main/java/net/mindoverflow/hubthat/commands/hubthatcommands/HelpCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/hubthatcommands/HelpCommand.java similarity index 86% rename from src/main/java/net/mindoverflow/hubthat/commands/hubthatcommands/HelpCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/hubthatcommands/HelpCommand.java index 2a91108..f063c97 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/hubthatcommands/HelpCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/hubthatcommands/HelpCommand.java @@ -1,9 +1,9 @@ -package net.mindoverflow.hubthat.commands.hubthatcommands; +package wtf.beatrice.hubthat.commands.hubthatcommands; -import net.mindoverflow.hubthat.utils.LocalizedMessages; -import net.mindoverflow.hubthat.utils.MessageUtils; -import net.mindoverflow.hubthat.utils.PermissionUtils; -import net.mindoverflow.hubthat.utils.Permissions; +import wtf.beatrice.hubthat.utils.LocalizedMessages; +import wtf.beatrice.hubthat.utils.MessageUtils; +import wtf.beatrice.hubthat.utils.PermissionUtils; +import wtf.beatrice.hubthat.utils.Permissions; import org.bukkit.command.CommandSender; import org.bukkit.plugin.Plugin; diff --git a/src/main/java/net/mindoverflow/hubthat/commands/hubthatcommands/ReloadCommand.java b/src/main/java/wtf/beatrice/hubthat/commands/hubthatcommands/ReloadCommand.java similarity index 86% rename from src/main/java/net/mindoverflow/hubthat/commands/hubthatcommands/ReloadCommand.java rename to src/main/java/wtf/beatrice/hubthat/commands/hubthatcommands/ReloadCommand.java index f7dbf2b..6e077d5 100644 --- a/src/main/java/net/mindoverflow/hubthat/commands/hubthatcommands/ReloadCommand.java +++ b/src/main/java/wtf/beatrice/hubthat/commands/hubthatcommands/ReloadCommand.java @@ -1,8 +1,8 @@ -package net.mindoverflow.hubthat.commands.hubthatcommands; +package wtf.beatrice.hubthat.commands.hubthatcommands; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.*; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.command.CommandSender; import java.util.logging.Level; diff --git a/src/main/java/net/mindoverflow/hubthat/completers/InfoCompleter.java b/src/main/java/wtf/beatrice/hubthat/completers/InfoCompleter.java similarity index 94% rename from src/main/java/net/mindoverflow/hubthat/completers/InfoCompleter.java rename to src/main/java/wtf/beatrice/hubthat/completers/InfoCompleter.java index 75ec8c5..c880782 100644 --- a/src/main/java/net/mindoverflow/hubthat/completers/InfoCompleter.java +++ b/src/main/java/wtf/beatrice/hubthat/completers/InfoCompleter.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.completers; +package wtf.beatrice.hubthat.completers; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; diff --git a/src/main/java/net/mindoverflow/hubthat/completers/SpawnCompleter.java b/src/main/java/wtf/beatrice/hubthat/completers/SpawnCompleter.java similarity index 92% rename from src/main/java/net/mindoverflow/hubthat/completers/SpawnCompleter.java rename to src/main/java/wtf/beatrice/hubthat/completers/SpawnCompleter.java index 920f384..ea99ac4 100644 --- a/src/main/java/net/mindoverflow/hubthat/completers/SpawnCompleter.java +++ b/src/main/java/wtf/beatrice/hubthat/completers/SpawnCompleter.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.completers; +package wtf.beatrice.hubthat.completers; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; diff --git a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerChatListener.java b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerChatListener.java similarity index 88% rename from src/main/java/net/mindoverflow/hubthat/listeners/PlayerChatListener.java rename to src/main/java/wtf/beatrice/hubthat/listeners/PlayerChatListener.java index 88b04f6..8ca2365 100644 --- a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerChatListener.java +++ b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerChatListener.java @@ -1,9 +1,9 @@ -package net.mindoverflow.hubthat.listeners; +package wtf.beatrice.hubthat.listeners; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.Debugger; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.Debugger; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; diff --git a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerJoinListener.java b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerJoinListener.java similarity index 89% rename from src/main/java/net/mindoverflow/hubthat/listeners/PlayerJoinListener.java rename to src/main/java/wtf/beatrice/hubthat/listeners/PlayerJoinListener.java index 110b914..f3a11a7 100644 --- a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerJoinListener.java +++ b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerJoinListener.java @@ -1,12 +1,12 @@ -package net.mindoverflow.hubthat.listeners; +package wtf.beatrice.hubthat.listeners; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.commands.HubCommand; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.Debugger; -import net.mindoverflow.hubthat.utils.MessageUtils; -import net.mindoverflow.hubthat.utils.PluginCache; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.commands.HubCommand; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.Debugger; +import wtf.beatrice.hubthat.utils.MessageUtils; +import wtf.beatrice.hubthat.utils.PluginCache; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.GameMode; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.entity.Player; diff --git a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerMoveListener.java b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerMoveListener.java similarity index 82% rename from src/main/java/net/mindoverflow/hubthat/listeners/PlayerMoveListener.java rename to src/main/java/wtf/beatrice/hubthat/listeners/PlayerMoveListener.java index fd6beb1..de97ccd 100644 --- a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerMoveListener.java +++ b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerMoveListener.java @@ -1,10 +1,10 @@ -package net.mindoverflow.hubthat.listeners; +package wtf.beatrice.hubthat.listeners; -import net.mindoverflow.hubthat.utils.PluginCache; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.LocalizedMessages; -import net.mindoverflow.hubthat.utils.MessageUtils; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.utils.PluginCache; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.LocalizedMessages; +import wtf.beatrice.hubthat.utils.MessageUtils; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerMoveEvent; diff --git a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerRespawnListener.java b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerRespawnListener.java similarity index 90% rename from src/main/java/net/mindoverflow/hubthat/listeners/PlayerRespawnListener.java rename to src/main/java/wtf/beatrice/hubthat/listeners/PlayerRespawnListener.java index 25f0712..2bf031e 100644 --- a/src/main/java/net/mindoverflow/hubthat/listeners/PlayerRespawnListener.java +++ b/src/main/java/wtf/beatrice/hubthat/listeners/PlayerRespawnListener.java @@ -1,10 +1,10 @@ -package net.mindoverflow.hubthat.listeners; +package wtf.beatrice.hubthat.listeners; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.commands.HubCommand; -import net.mindoverflow.hubthat.commands.SpawnCommand; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.commands.HubCommand; +import wtf.beatrice.hubthat.commands.SpawnCommand; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/ConfigEntries.java b/src/main/java/wtf/beatrice/hubthat/utils/ConfigEntries.java similarity index 95% rename from src/main/java/net/mindoverflow/hubthat/utils/ConfigEntries.java rename to src/main/java/wtf/beatrice/hubthat/utils/ConfigEntries.java index ea27a6c..ea52160 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/ConfigEntries.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/ConfigEntries.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; public enum ConfigEntries { diff --git a/src/main/java/net/mindoverflow/hubthat/utils/Debugger.java b/src/main/java/wtf/beatrice/hubthat/utils/Debugger.java similarity index 97% rename from src/main/java/net/mindoverflow/hubthat/utils/Debugger.java rename to src/main/java/wtf/beatrice/hubthat/utils/Debugger.java index 798366a..c9f59ac 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/Debugger.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/Debugger.java @@ -1,6 +1,6 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; -import net.mindoverflow.hubthat.HubThat; +import wtf.beatrice.hubthat.HubThat; import org.bukkit.Bukkit; import org.bukkit.entity.Player; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/LocalizedMessages.java b/src/main/java/wtf/beatrice/hubthat/utils/LocalizedMessages.java similarity index 96% rename from src/main/java/net/mindoverflow/hubthat/utils/LocalizedMessages.java rename to src/main/java/wtf/beatrice/hubthat/utils/LocalizedMessages.java index 8f8c8d0..e9f2e85 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/LocalizedMessages.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/LocalizedMessages.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; public enum LocalizedMessages { diff --git a/src/main/java/net/mindoverflow/hubthat/utils/MessageUtils.java b/src/main/java/wtf/beatrice/hubthat/utils/MessageUtils.java similarity index 97% rename from src/main/java/net/mindoverflow/hubthat/utils/MessageUtils.java rename to src/main/java/wtf/beatrice/hubthat/utils/MessageUtils.java index a11078f..bb17786 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/MessageUtils.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/MessageUtils.java @@ -1,7 +1,7 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.configuration.file.YamlConfiguration; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/PermissionUtils.java b/src/main/java/wtf/beatrice/hubthat/utils/PermissionUtils.java similarity index 90% rename from src/main/java/net/mindoverflow/hubthat/utils/PermissionUtils.java rename to src/main/java/wtf/beatrice/hubthat/utils/PermissionUtils.java index 91ee3dd..212077f 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/PermissionUtils.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/PermissionUtils.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; import org.bukkit.command.CommandSender; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/Permissions.java b/src/main/java/wtf/beatrice/hubthat/utils/Permissions.java similarity index 94% rename from src/main/java/net/mindoverflow/hubthat/utils/Permissions.java rename to src/main/java/wtf/beatrice/hubthat/utils/Permissions.java index 945f911..2f346b8 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/Permissions.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/Permissions.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; public enum Permissions { diff --git a/src/main/java/net/mindoverflow/hubthat/utils/PluginCache.java b/src/main/java/wtf/beatrice/hubthat/utils/PluginCache.java similarity index 94% rename from src/main/java/net/mindoverflow/hubthat/utils/PluginCache.java rename to src/main/java/wtf/beatrice/hubthat/utils/PluginCache.java index da87b52..89d032b 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/PluginCache.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/PluginCache.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; import org.bukkit.Material; import org.bukkit.inventory.ItemStack; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/TeleportUtils.java b/src/main/java/wtf/beatrice/hubthat/utils/TeleportUtils.java similarity index 98% rename from src/main/java/net/mindoverflow/hubthat/utils/TeleportUtils.java rename to src/main/java/wtf/beatrice/hubthat/utils/TeleportUtils.java index da0351b..c2d76d3 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/TeleportUtils.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/TeleportUtils.java @@ -1,7 +1,7 @@ -package net.mindoverflow.hubthat.utils; +package wtf.beatrice.hubthat.utils; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.files.FileUtils; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.files.FileUtils; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.command.CommandSender; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/files/FileUtils.java b/src/main/java/wtf/beatrice/hubthat/utils/files/FileUtils.java similarity index 97% rename from src/main/java/net/mindoverflow/hubthat/utils/files/FileUtils.java rename to src/main/java/wtf/beatrice/hubthat/utils/files/FileUtils.java index 5686829..b3fe0b3 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/files/FileUtils.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/files/FileUtils.java @@ -1,10 +1,10 @@ -package net.mindoverflow.hubthat.utils.files; +package wtf.beatrice.hubthat.utils.files; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.PluginCache; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.Debugger; -import net.mindoverflow.hubthat.utils.metrics.UpdateChecker; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.PluginCache; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.Debugger; +import wtf.beatrice.hubthat.utils.metrics.UpdateChecker; import org.bukkit.configuration.file.YamlConfiguration; import java.io.*; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/files/OldConfigConversion.java b/src/main/java/wtf/beatrice/hubthat/utils/files/OldConfigConversion.java similarity index 95% rename from src/main/java/net/mindoverflow/hubthat/utils/files/OldConfigConversion.java rename to src/main/java/wtf/beatrice/hubthat/utils/files/OldConfigConversion.java index 342ab29..96dc144 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/files/OldConfigConversion.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/files/OldConfigConversion.java @@ -1,8 +1,8 @@ -package net.mindoverflow.hubthat.utils.files; +package wtf.beatrice.hubthat.utils.files; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.ConfigEntries; -import net.mindoverflow.hubthat.utils.LocalizedMessages; +import wtf.beatrice.hubthat.HubThat; +import wtf.beatrice.hubthat.utils.ConfigEntries; +import wtf.beatrice.hubthat.utils.LocalizedMessages; import org.bukkit.configuration.file.YamlConfiguration; import java.io.File; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/metrics/Metrics.java b/src/main/java/wtf/beatrice/hubthat/utils/metrics/Metrics.java similarity index 99% rename from src/main/java/net/mindoverflow/hubthat/utils/metrics/Metrics.java rename to src/main/java/wtf/beatrice/hubthat/utils/metrics/Metrics.java index 82c506d..712202a 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/metrics/Metrics.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/metrics/Metrics.java @@ -1,4 +1,4 @@ -package net.mindoverflow.hubthat.utils.metrics; +package wtf.beatrice.hubthat.utils.metrics; import com.google.gson.JsonArray; import com.google.gson.JsonObject; diff --git a/src/main/java/net/mindoverflow/hubthat/utils/metrics/UpdateChecker.java b/src/main/java/wtf/beatrice/hubthat/utils/metrics/UpdateChecker.java similarity index 98% rename from src/main/java/net/mindoverflow/hubthat/utils/metrics/UpdateChecker.java rename to src/main/java/wtf/beatrice/hubthat/utils/metrics/UpdateChecker.java index f55765f..3d59efb 100644 --- a/src/main/java/net/mindoverflow/hubthat/utils/metrics/UpdateChecker.java +++ b/src/main/java/wtf/beatrice/hubthat/utils/metrics/UpdateChecker.java @@ -1,14 +1,14 @@ -package net.mindoverflow.hubthat.utils.metrics; +package wtf.beatrice.hubthat.utils.metrics; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; -import net.mindoverflow.hubthat.HubThat; -import net.mindoverflow.hubthat.utils.*; +import wtf.beatrice.hubthat.HubThat; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.scheduler.BukkitTask; +import wtf.beatrice.hubthat.utils.*; import javax.net.ssl.HttpsURLConnection; import java.io.IOException; diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 91b4ce8..c1dc63d 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: HubThat version: ${versionName}.${buildNumber} author: mind_overflow -main: net.mindoverflow.hubthat.HubThat +main: wtf.beatrice.hubthat.HubThat api-version: 1.13 commands: hubthat: