Rename main package

This commit is contained in:
Bea 2022-05-31 20:09:36 +02:00
parent ff8f52720d
commit 96f8ef153f
32 changed files with 112 additions and 113 deletions

View File

@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file #maven.buildNumber.plugin properties file
#Thu Jun 25 22:07:48 CEST 2020 #Tue May 31 20:08:48 CEST 2022
buildNumber=184 buildNumber=186

View File

@ -4,7 +4,7 @@
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>net.mindoverflow.hubthat</groupId> <groupId>wtf.beatrice.hubthat</groupId>
<artifactId>HubThat</artifactId> <artifactId>HubThat</artifactId>
<version>10.1</version> <version>10.1</version>
<scm> <scm>

View File

@ -1,19 +1,19 @@
package net.mindoverflow.hubthat; package wtf.beatrice.hubthat;
import net.mindoverflow.hubthat.commands.*; import wtf.beatrice.hubthat.commands.*;
import net.mindoverflow.hubthat.completers.InfoCompleter; import wtf.beatrice.hubthat.completers.InfoCompleter;
import net.mindoverflow.hubthat.completers.SpawnCompleter; import wtf.beatrice.hubthat.completers.SpawnCompleter;
import net.mindoverflow.hubthat.listeners.PlayerChatListener; import wtf.beatrice.hubthat.listeners.PlayerChatListener;
import net.mindoverflow.hubthat.listeners.PlayerJoinListener; import wtf.beatrice.hubthat.listeners.PlayerJoinListener;
import net.mindoverflow.hubthat.listeners.PlayerMoveListener; import wtf.beatrice.hubthat.listeners.PlayerMoveListener;
import net.mindoverflow.hubthat.listeners.PlayerRespawnListener; import wtf.beatrice.hubthat.listeners.PlayerRespawnListener;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.Debugger; import wtf.beatrice.hubthat.utils.Debugger;
import net.mindoverflow.hubthat.utils.TeleportUtils; import wtf.beatrice.hubthat.utils.TeleportUtils;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import net.mindoverflow.hubthat.utils.files.OldConfigConversion; import wtf.beatrice.hubthat.utils.files.OldConfigConversion;
import net.mindoverflow.hubthat.utils.metrics.Metrics; import wtf.beatrice.hubthat.utils.metrics.Metrics;
import net.mindoverflow.hubthat.utils.metrics.UpdateChecker; import wtf.beatrice.hubthat.utils.metrics.UpdateChecker;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;

View File

@ -1,8 +1,8 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*; import wtf.beatrice.hubthat.utils.*;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;

View File

@ -1,11 +1,11 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.commands.hubthatcommands.HelpCommand; import wtf.beatrice.hubthat.commands.hubthatcommands.HelpCommand;
import net.mindoverflow.hubthat.commands.hubthatcommands.ReloadCommand; import wtf.beatrice.hubthat.commands.hubthatcommands.ReloadCommand;
import net.mindoverflow.hubthat.utils.Debugger; import wtf.beatrice.hubthat.utils.Debugger;
import net.mindoverflow.hubthat.utils.MessageUtils; import wtf.beatrice.hubthat.utils.MessageUtils;
import net.mindoverflow.hubthat.utils.PluginCache; import wtf.beatrice.hubthat.utils.PluginCache;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,7 +1,7 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.utils.*; import wtf.beatrice.hubthat.utils.*;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;

View File

@ -1,8 +1,8 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*; import wtf.beatrice.hubthat.utils.*;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.command.Command; import org.bukkit.command.Command;

View File

@ -1,8 +1,8 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*; import wtf.beatrice.hubthat.utils.*;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.WorldCreator; import org.bukkit.WorldCreator;

View File

@ -1,13 +1,12 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*;
import org.bukkit.Difficulty; import org.bukkit.Difficulty;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import wtf.beatrice.hubthat.utils.*;
import java.util.logging.Level; import java.util.logging.Level;

View File

@ -1,7 +1,6 @@
package net.mindoverflow.hubthat.commands; package wtf.beatrice.hubthat.commands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.command.Command; import org.bukkit.command.Command;
@ -9,11 +8,12 @@ import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.command.ConsoleCommandSender; import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import wtf.beatrice.hubthat.utils.*;
import java.util.logging.Level; import java.util.logging.Level;
import static net.mindoverflow.hubthat.utils.TeleportUtils.fixInvisibilityAfter; import static wtf.beatrice.hubthat.utils.TeleportUtils.fixInvisibilityAfter;
import static net.mindoverflow.hubthat.utils.TeleportUtils.fixInvisibilityBefore; import static wtf.beatrice.hubthat.utils.TeleportUtils.fixInvisibilityBefore;
public class WorldTpCommand implements CommandExecutor public class WorldTpCommand implements CommandExecutor
{ {

View File

@ -1,9 +1,9 @@
package net.mindoverflow.hubthat.commands.hubthatcommands; package wtf.beatrice.hubthat.commands.hubthatcommands;
import net.mindoverflow.hubthat.utils.LocalizedMessages; import wtf.beatrice.hubthat.utils.LocalizedMessages;
import net.mindoverflow.hubthat.utils.MessageUtils; import wtf.beatrice.hubthat.utils.MessageUtils;
import net.mindoverflow.hubthat.utils.PermissionUtils; import wtf.beatrice.hubthat.utils.PermissionUtils;
import net.mindoverflow.hubthat.utils.Permissions; import wtf.beatrice.hubthat.utils.Permissions;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;

View File

@ -1,8 +1,8 @@
package net.mindoverflow.hubthat.commands.hubthatcommands; package wtf.beatrice.hubthat.commands.hubthatcommands;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*; import wtf.beatrice.hubthat.utils.*;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import java.util.logging.Level; import java.util.logging.Level;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.completers; package wtf.beatrice.hubthat.completers;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.completers; package wtf.beatrice.hubthat.completers;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,9 +1,9 @@
package net.mindoverflow.hubthat.listeners; package wtf.beatrice.hubthat.listeners;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.Debugger; import wtf.beatrice.hubthat.utils.Debugger;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;

View File

@ -1,12 +1,12 @@
package net.mindoverflow.hubthat.listeners; package wtf.beatrice.hubthat.listeners;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.commands.HubCommand; import wtf.beatrice.hubthat.commands.HubCommand;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.Debugger; import wtf.beatrice.hubthat.utils.Debugger;
import net.mindoverflow.hubthat.utils.MessageUtils; import wtf.beatrice.hubthat.utils.MessageUtils;
import net.mindoverflow.hubthat.utils.PluginCache; import wtf.beatrice.hubthat.utils.PluginCache;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.GameMode; import org.bukkit.GameMode;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,10 +1,10 @@
package net.mindoverflow.hubthat.listeners; package wtf.beatrice.hubthat.listeners;
import net.mindoverflow.hubthat.utils.PluginCache; import wtf.beatrice.hubthat.utils.PluginCache;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.LocalizedMessages; import wtf.beatrice.hubthat.utils.LocalizedMessages;
import net.mindoverflow.hubthat.utils.MessageUtils; import wtf.beatrice.hubthat.utils.MessageUtils;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerMoveEvent; import org.bukkit.event.player.PlayerMoveEvent;

View File

@ -1,10 +1,10 @@
package net.mindoverflow.hubthat.listeners; package wtf.beatrice.hubthat.listeners;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.commands.HubCommand; import wtf.beatrice.hubthat.commands.HubCommand;
import net.mindoverflow.hubthat.commands.SpawnCommand; import wtf.beatrice.hubthat.commands.SpawnCommand;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.utils; package wtf.beatrice.hubthat.utils;
public enum ConfigEntries public enum ConfigEntries
{ {

View File

@ -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.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.utils; package wtf.beatrice.hubthat.utils;
public enum LocalizedMessages public enum LocalizedMessages
{ {

View File

@ -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.ChatColor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.utils; package wtf.beatrice.hubthat.utils;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.utils; package wtf.beatrice.hubthat.utils;
public enum Permissions public enum Permissions
{ {

View File

@ -1,4 +1,4 @@
package net.mindoverflow.hubthat.utils; package wtf.beatrice.hubthat.utils;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;

View File

@ -1,7 +1,7 @@
package net.mindoverflow.hubthat.utils; package wtf.beatrice.hubthat.utils;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.files.FileUtils; import wtf.beatrice.hubthat.utils.files.FileUtils;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,10 +1,10 @@
package net.mindoverflow.hubthat.utils.files; package wtf.beatrice.hubthat.utils.files;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.PluginCache; import wtf.beatrice.hubthat.utils.PluginCache;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.Debugger; import wtf.beatrice.hubthat.utils.Debugger;
import net.mindoverflow.hubthat.utils.metrics.UpdateChecker; import wtf.beatrice.hubthat.utils.metrics.UpdateChecker;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import java.io.*; import java.io.*;

View File

@ -1,8 +1,8 @@
package net.mindoverflow.hubthat.utils.files; package wtf.beatrice.hubthat.utils.files;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.ConfigEntries; import wtf.beatrice.hubthat.utils.ConfigEntries;
import net.mindoverflow.hubthat.utils.LocalizedMessages; import wtf.beatrice.hubthat.utils.LocalizedMessages;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import java.io.File; import java.io.File;

View File

@ -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.JsonArray;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;

View File

@ -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.JsonArray;
import com.google.gson.JsonElement; import com.google.gson.JsonElement;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;
import com.google.gson.JsonParser; import com.google.gson.JsonParser;
import net.mindoverflow.hubthat.HubThat; import wtf.beatrice.hubthat.HubThat;
import net.mindoverflow.hubthat.utils.*;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitTask; import org.bukkit.scheduler.BukkitTask;
import wtf.beatrice.hubthat.utils.*;
import javax.net.ssl.HttpsURLConnection; import javax.net.ssl.HttpsURLConnection;
import java.io.IOException; import java.io.IOException;

View File

@ -1,7 +1,7 @@
name: HubThat name: HubThat
version: ${versionName}.${buildNumber} version: ${versionName}.${buildNumber}
author: mind_overflow author: mind_overflow
main: net.mindoverflow.hubthat.HubThat main: wtf.beatrice.hubthat.HubThat
api-version: 1.13 api-version: 1.13
commands: commands:
hubthat: hubthat: