From 0f9bea22f5d03cd09489df0a545b2e67513351c2 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Tue, 23 Apr 2024 01:32:42 -0400 Subject: [PATCH] me.braydon -> cc.restfulmc --- API/pom.xml | 2 +- .../mc => cc/restfulmc/api}/RESTfulMC.java | 2 +- .../restfulmc/api}/common/ColorUtils.java | 2 +- .../restfulmc/api}/common/DNSUtils.java | 6 +-- .../restfulmc/api}/common/EnumUtils.java | 2 +- .../api}/common/EnvironmentUtils.java | 2 +- .../restfulmc/api}/common/ExpiringSet.java | 2 +- .../restfulmc/api}/common/IPUtils.java | 2 +- .../restfulmc/api}/common/ImageUtils.java | 2 +- .../api}/common/JavaMinecraftVersion.java | 2 +- .../restfulmc/api}/common/MiscUtils.java | 2 +- .../restfulmc/api}/common/MojangServer.java | 2 +- .../restfulmc/api}/common/UUIDUtils.java | 2 +- .../api}/common/packet/JavaQueryPacket.java | 2 +- .../api}/common/packet/TCPPacket.java | 2 +- .../api}/common/packet/UDPPacket.java | 2 +- .../bedrock/BedrockUnconnectedPingPacket.java | 4 +- .../bedrock/BedrockUnconnectedPongPacket.java | 6 +-- .../JavaHandshakingInSetProtocolPacket.java | 4 +- .../java/tcp/JavaStatusInStartPacket.java | 4 +- .../udp/JavaQueryFullStatRequestPacket.java | 4 +- .../udp/JavaQueryFullStatResponsePacket.java | 4 +- .../udp/JavaQueryHandshakeRequestPacket.java | 4 +- .../udp/JavaQueryHandshakeResponsePacket.java | 4 +- .../renderer/IsometricSkinRenderer.java | 4 +- .../api}/common/renderer/SkinRenderer.java | 8 +-- .../renderer/impl/BodySkinPartRenderer.java | 10 ++-- .../impl/IsometricHeadSkinPartRenderer.java | 8 +-- .../impl/VanillaSkinPartRenderer.java | 8 +-- .../api}/common/web/JsonWebException.java | 2 +- .../api}/common/web/JsonWebRequest.java | 4 +- .../restfulmc/api}/config/AppConfig.java | 2 +- .../restfulmc/api}/config/RedisConfig.java | 2 +- .../api}/controller/MojangController.java | 8 +-- .../api}/controller/PlayerController.java | 14 ++--- .../api}/controller/ServerController.java | 12 ++--- .../exception/ExceptionControllerAdvice.java | 4 +- .../exception/impl/BadRequestException.java | 2 +- .../impl/MojangRateLimitException.java | 2 +- .../impl/ResourceNotFoundException.java | 2 +- .../restfulmc/api}/log/TransactionLogger.java | 4 +- .../mc => cc/restfulmc/api}/model/Cape.java | 2 +- .../restfulmc/api}/model/MinecraftServer.java | 14 ++--- .../mc => cc/restfulmc/api}/model/Player.java | 6 +-- .../restfulmc/api}/model/ProfileAction.java | 2 +- .../model/cache/CachedMinecraftServer.java | 4 +- .../api}/model/cache/CachedPlayer.java | 12 ++--- .../api}/model/cache/CachedPlayerName.java | 2 +- .../model/cache/CachedSkinPartTexture.java | 2 +- .../restfulmc/api}/model/dns/DNSRecord.java | 2 +- .../api}/model/dns/impl/ARecord.java | 4 +- .../api}/model/dns/impl/SRVRecord.java | 4 +- .../api}/model/response/ErrorResponse.java | 2 +- .../model/server/BedrockMinecraftServer.java | 6 +-- .../model/server/JavaMinecraftServer.java | 16 +++--- .../restfulmc/api}/model/skin/ISkinPart.java | 10 ++-- .../restfulmc/api}/model/skin/Skin.java | 8 +-- .../token/JavaServerChallengeStatusToken.java | 4 +- .../model/token/JavaServerStatusToken.java | 4 +- .../api}/model/token/MojangProfileToken.java | 10 ++-- .../token/MojangUsernameToUUIDToken.java | 2 +- .../MinecraftServerCacheRepository.java | 4 +- .../repository/PlayerCacheRepository.java | 4 +- .../repository/PlayerNameCacheRepository.java | 4 +- .../SkinPartTextureCacheRepository.java | 6 +-- .../api}/service/MaxMindService.java | 2 +- .../restfulmc/api}/service/MojangService.java | 52 +++++++++---------- .../service/pinger/MinecraftServerPinger.java | 6 +-- .../impl/BedrockMinecraftServerPinger.java | 16 +++--- .../impl/JavaMinecraftServerPinger.java | 32 ++++++------ .../mc/test/config/TestRedisConfig.java | 2 +- .../controller/MojangControllerTests.java | 6 +-- .../controller/PlayerControllerTests.java | 6 +-- .../controller/ServerControllerTests.java | 6 +-- 74 files changed, 214 insertions(+), 214 deletions(-) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/RESTfulMC.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/ColorUtils.java (99%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/DNSUtils.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/EnumUtils.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/EnvironmentUtils.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/ExpiringSet.java (99%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/IPUtils.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/ImageUtils.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/JavaMinecraftVersion.java (99%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/MiscUtils.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/MojangServer.java (99%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/UUIDUtils.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/JavaQueryPacket.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/TCPPacket.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/UDPPacket.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/java/tcp/JavaStatusInStartPacket.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/renderer/IsometricSkinRenderer.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/renderer/SkinRenderer.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/renderer/impl/BodySkinPartRenderer.java (93%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/renderer/impl/IsometricHeadSkinPartRenderer.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/renderer/impl/VanillaSkinPartRenderer.java (93%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/web/JsonWebException.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/common/web/JsonWebRequest.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/config/AppConfig.java (99%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/config/RedisConfig.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/controller/MojangController.java (94%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/controller/PlayerController.java (93%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/controller/ServerController.java (93%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/exception/ExceptionControllerAdvice.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/exception/impl/BadRequestException.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/exception/impl/MojangRateLimitException.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/exception/impl/ResourceNotFoundException.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/log/TransactionLogger.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/Cape.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/MinecraftServer.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/Player.java (94%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/ProfileAction.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/cache/CachedMinecraftServer.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/cache/CachedPlayer.java (90%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/cache/CachedPlayerName.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/cache/CachedSkinPartTexture.java (98%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/dns/DNSRecord.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/dns/impl/ARecord.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/dns/impl/SRVRecord.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/response/ErrorResponse.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/server/BedrockMinecraftServer.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/server/JavaMinecraftServer.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/skin/ISkinPart.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/skin/Skin.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/token/JavaServerChallengeStatusToken.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/token/JavaServerStatusToken.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/token/MojangProfileToken.java (96%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/model/token/MojangUsernameToUUIDToken.java (97%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/repository/MinecraftServerCacheRepository.java (93%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/repository/PlayerCacheRepository.java (94%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/repository/PlayerNameCacheRepository.java (94%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/repository/SkinPartTextureCacheRepository.java (90%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/service/MaxMindService.java (99%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/service/MojangService.java (95%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/service/pinger/MinecraftServerPinger.java (93%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/service/pinger/impl/BedrockMinecraftServerPinger.java (88%) rename API/src/main/java/{me/braydon/mc => cc/restfulmc/api}/service/pinger/impl/JavaMinecraftServerPinger.java (87%) diff --git a/API/pom.xml b/API/pom.xml index 42d4233..d072e31 100644 --- a/API/pom.xml +++ b/API/pom.xml @@ -11,7 +11,7 @@ - me.braydon + cc.restfulmc RESTfulMC 1.0.0 A simple, yet useful RESTful API for Minecraft utilizing Springboot. diff --git a/API/src/main/java/me/braydon/mc/RESTfulMC.java b/API/src/main/java/cc/restfulmc/api/RESTfulMC.java similarity index 98% rename from API/src/main/java/me/braydon/mc/RESTfulMC.java rename to API/src/main/java/cc/restfulmc/api/RESTfulMC.java index b6c6f61..be47d42 100644 --- a/API/src/main/java/me/braydon/mc/RESTfulMC.java +++ b/API/src/main/java/cc/restfulmc/api/RESTfulMC.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc; +package cc.restfulmc.api; import lombok.NonNull; import lombok.SneakyThrows; diff --git a/API/src/main/java/me/braydon/mc/common/ColorUtils.java b/API/src/main/java/cc/restfulmc/api/common/ColorUtils.java similarity index 99% rename from API/src/main/java/me/braydon/mc/common/ColorUtils.java rename to API/src/main/java/cc/restfulmc/api/common/ColorUtils.java index 8414db1..a7a2087 100644 --- a/API/src/main/java/me/braydon/mc/common/ColorUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/ColorUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import lombok.experimental.UtilityClass; diff --git a/API/src/main/java/me/braydon/mc/common/DNSUtils.java b/API/src/main/java/cc/restfulmc/api/common/DNSUtils.java similarity index 95% rename from API/src/main/java/me/braydon/mc/common/DNSUtils.java rename to API/src/main/java/cc/restfulmc/api/common/DNSUtils.java index 98b87f7..8127dfb 100644 --- a/API/src/main/java/me/braydon/mc/common/DNSUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/DNSUtils.java @@ -21,13 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import lombok.SneakyThrows; import lombok.experimental.UtilityClass; -import me.braydon.mc.model.dns.impl.ARecord; -import me.braydon.mc.model.dns.impl.SRVRecord; +import cc.restfulmc.api.model.dns.impl.ARecord; +import cc.restfulmc.api.model.dns.impl.SRVRecord; import org.xbill.DNS.Lookup; import org.xbill.DNS.Record; import org.xbill.DNS.Type; diff --git a/API/src/main/java/me/braydon/mc/common/EnumUtils.java b/API/src/main/java/cc/restfulmc/api/common/EnumUtils.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/EnumUtils.java rename to API/src/main/java/cc/restfulmc/api/common/EnumUtils.java index cd16f96..70b8dcb 100644 --- a/API/src/main/java/me/braydon/mc/common/EnumUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/EnumUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import lombok.experimental.UtilityClass; diff --git a/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java b/API/src/main/java/cc/restfulmc/api/common/EnvironmentUtils.java similarity index 97% rename from API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java rename to API/src/main/java/cc/restfulmc/api/common/EnvironmentUtils.java index 0f37cfa..f1dbafa 100644 --- a/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/EnvironmentUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.Getter; import lombok.experimental.UtilityClass; diff --git a/API/src/main/java/me/braydon/mc/common/ExpiringSet.java b/API/src/main/java/cc/restfulmc/api/common/ExpiringSet.java similarity index 99% rename from API/src/main/java/me/braydon/mc/common/ExpiringSet.java rename to API/src/main/java/cc/restfulmc/api/common/ExpiringSet.java index 80cbd97..4444cab 100644 --- a/API/src/main/java/me/braydon/mc/common/ExpiringSet.java +++ b/API/src/main/java/cc/restfulmc/api/common/ExpiringSet.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import net.jodah.expiringmap.ExpirationPolicy; diff --git a/API/src/main/java/me/braydon/mc/common/IPUtils.java b/API/src/main/java/cc/restfulmc/api/common/IPUtils.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/IPUtils.java rename to API/src/main/java/cc/restfulmc/api/common/IPUtils.java index ba15853..fcd6580 100644 --- a/API/src/main/java/me/braydon/mc/common/IPUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/IPUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import jakarta.servlet.http.HttpServletRequest; import lombok.NonNull; diff --git a/API/src/main/java/me/braydon/mc/common/ImageUtils.java b/API/src/main/java/cc/restfulmc/api/common/ImageUtils.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/ImageUtils.java rename to API/src/main/java/cc/restfulmc/api/common/ImageUtils.java index a2919bb..74dd656 100644 --- a/API/src/main/java/me/braydon/mc/common/ImageUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/ImageUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import lombok.SneakyThrows; diff --git a/API/src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java b/API/src/main/java/cc/restfulmc/api/common/JavaMinecraftVersion.java similarity index 99% rename from API/src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java rename to API/src/main/java/cc/restfulmc/api/common/JavaMinecraftVersion.java index cbfa908..7164171 100644 --- a/API/src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java +++ b/API/src/main/java/cc/restfulmc/api/common/JavaMinecraftVersion.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.Getter; import lombok.NonNull; diff --git a/API/src/main/java/me/braydon/mc/common/MiscUtils.java b/API/src/main/java/cc/restfulmc/api/common/MiscUtils.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/MiscUtils.java rename to API/src/main/java/cc/restfulmc/api/common/MiscUtils.java index c6553ef..2e3f587 100644 --- a/API/src/main/java/me/braydon/mc/common/MiscUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/MiscUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import lombok.experimental.UtilityClass; diff --git a/API/src/main/java/me/braydon/mc/common/MojangServer.java b/API/src/main/java/cc/restfulmc/api/common/MojangServer.java similarity index 99% rename from API/src/main/java/me/braydon/mc/common/MojangServer.java rename to API/src/main/java/cc/restfulmc/api/common/MojangServer.java index 3e449ef..3b8ca93 100644 --- a/API/src/main/java/me/braydon/mc/common/MojangServer.java +++ b/API/src/main/java/cc/restfulmc/api/common/MojangServer.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/API/src/main/java/me/braydon/mc/common/UUIDUtils.java b/API/src/main/java/cc/restfulmc/api/common/UUIDUtils.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/UUIDUtils.java rename to API/src/main/java/cc/restfulmc/api/common/UUIDUtils.java index 5a8ee95..871ab22 100644 --- a/API/src/main/java/me/braydon/mc/common/UUIDUtils.java +++ b/API/src/main/java/cc/restfulmc/api/common/UUIDUtils.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common; +package cc.restfulmc.api.common; import lombok.NonNull; import lombok.experimental.UtilityClass; diff --git a/API/src/main/java/me/braydon/mc/common/packet/JavaQueryPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/JavaQueryPacket.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/packet/JavaQueryPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/JavaQueryPacket.java index bfb30f9..2d3fb11 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/JavaQueryPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/JavaQueryPacket.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet; +package cc.restfulmc.api.common.packet; import java.util.ArrayList; diff --git a/API/src/main/java/me/braydon/mc/common/packet/TCPPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/TCPPacket.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/packet/TCPPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/TCPPacket.java index 4a00d2f..c2a98b4 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/TCPPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/TCPPacket.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet; +package cc.restfulmc.api.common.packet; import lombok.NonNull; diff --git a/API/src/main/java/me/braydon/mc/common/packet/UDPPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/UDPPacket.java similarity index 97% rename from API/src/main/java/me/braydon/mc/common/packet/UDPPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/UDPPacket.java index a8e54b9..54f1395 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/UDPPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/UDPPacket.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet; +package cc.restfulmc.api.common.packet; import lombok.NonNull; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java index 2bfafd1..e3fc5aa 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/bedrock/BedrockUnconnectedPingPacket.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.bedrock; +package cc.restfulmc.api.common.packet.impl.bedrock; import lombok.NonNull; -import me.braydon.mc.common.packet.UDPPacket; +import cc.restfulmc.api.common.packet.UDPPacket; import java.io.IOException; import java.net.DatagramPacket; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java similarity index 95% rename from API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java index dacb3ad..c3dcbcd 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/bedrock/BedrockUnconnectedPongPacket.java @@ -21,12 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.bedrock; +package cc.restfulmc.api.common.packet.impl.bedrock; import lombok.Getter; import lombok.NonNull; -import me.braydon.mc.common.packet.UDPPacket; -import me.braydon.mc.model.server.BedrockMinecraftServer; +import cc.restfulmc.api.common.packet.UDPPacket; +import cc.restfulmc.api.model.server.BedrockMinecraftServer; import java.io.IOException; import java.net.DatagramPacket; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java index 0eaaa9a..88394bb 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/tcp/JavaHandshakingInSetProtocolPacket.java @@ -21,12 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.java.tcp; +package cc.restfulmc.api.common.packet.impl.java.tcp; import lombok.AllArgsConstructor; import lombok.NonNull; import lombok.ToString; -import me.braydon.mc.common.packet.TCPPacket; +import cc.restfulmc.api.common.packet.TCPPacket; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/java/tcp/JavaStatusInStartPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/tcp/JavaStatusInStartPacket.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/packet/impl/java/tcp/JavaStatusInStartPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/java/tcp/JavaStatusInStartPacket.java index 93197e8..e8943b4 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/java/tcp/JavaStatusInStartPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/tcp/JavaStatusInStartPacket.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.java.tcp; +package cc.restfulmc.api.common.packet.impl.java.tcp; import lombok.Getter; import lombok.NonNull; -import me.braydon.mc.common.packet.TCPPacket; +import cc.restfulmc.api.common.packet.TCPPacket; import java.io.DataInputStream; import java.io.DataOutputStream; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java index 8e5d337..1e6614a 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryFullStatRequestPacket.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.java.udp; +package cc.restfulmc.api.common.packet.impl.java.udp; import lombok.AllArgsConstructor; import lombok.NonNull; -import me.braydon.mc.common.packet.JavaQueryPacket; +import cc.restfulmc.api.common.packet.JavaQueryPacket; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java index 011498b..18725a2 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryFullStatResponsePacket.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.java.udp; +package cc.restfulmc.api.common.packet.impl.java.udp; import lombok.Getter; import lombok.NonNull; -import me.braydon.mc.common.packet.JavaQueryPacket; +import cc.restfulmc.api.common.packet.JavaQueryPacket; import java.io.IOException; import java.net.DatagramPacket; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java index 0929e32..cb89176 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryHandshakeRequestPacket.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.java.udp; +package cc.restfulmc.api.common.packet.impl.java.udp; import lombok.NonNull; -import me.braydon.mc.common.packet.JavaQueryPacket; +import cc.restfulmc.api.common.packet.JavaQueryPacket; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; diff --git a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java similarity index 95% rename from API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java rename to API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java index e0ab5a4..03bd70e 100644 --- a/API/src/main/java/me/braydon/mc/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java +++ b/API/src/main/java/cc/restfulmc/api/common/packet/impl/java/udp/JavaQueryHandshakeResponsePacket.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.packet.impl.java.udp; +package cc.restfulmc.api.common.packet.impl.java.udp; import lombok.Getter; import lombok.NonNull; -import me.braydon.mc.common.packet.JavaQueryPacket; +import cc.restfulmc.api.common.packet.JavaQueryPacket; import java.io.IOException; import java.net.DatagramPacket; diff --git a/API/src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java b/API/src/main/java/cc/restfulmc/api/common/renderer/IsometricSkinRenderer.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java rename to API/src/main/java/cc/restfulmc/api/common/renderer/IsometricSkinRenderer.java index 0e2fcf9..5f02342 100644 --- a/API/src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java +++ b/API/src/main/java/cc/restfulmc/api/common/renderer/IsometricSkinRenderer.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.renderer; +package cc.restfulmc.api.common.renderer; import lombok.NonNull; -import me.braydon.mc.model.skin.ISkinPart; +import cc.restfulmc.api.model.skin.ISkinPart; import java.awt.*; import java.awt.geom.AffineTransform; diff --git a/API/src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java b/API/src/main/java/cc/restfulmc/api/common/renderer/SkinRenderer.java similarity index 96% rename from API/src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java rename to API/src/main/java/cc/restfulmc/api/common/renderer/SkinRenderer.java index e8ba2fb..43cad54 100644 --- a/API/src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java +++ b/API/src/main/java/cc/restfulmc/api/common/renderer/SkinRenderer.java @@ -21,13 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.renderer; +package cc.restfulmc.api.common.renderer; import lombok.NonNull; import lombok.SneakyThrows; -import me.braydon.mc.common.ImageUtils; -import me.braydon.mc.model.skin.ISkinPart; -import me.braydon.mc.model.skin.Skin; +import cc.restfulmc.api.common.ImageUtils; +import cc.restfulmc.api.model.skin.ISkinPart; +import cc.restfulmc.api.model.skin.Skin; import javax.imageio.ImageIO; import java.awt.*; diff --git a/API/src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java b/API/src/main/java/cc/restfulmc/api/common/renderer/impl/BodySkinPartRenderer.java similarity index 93% rename from API/src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java rename to API/src/main/java/cc/restfulmc/api/common/renderer/impl/BodySkinPartRenderer.java index 361508c..8977862 100644 --- a/API/src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java +++ b/API/src/main/java/cc/restfulmc/api/common/renderer/impl/BodySkinPartRenderer.java @@ -21,13 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.renderer.impl; +package cc.restfulmc.api.common.renderer.impl; import lombok.NonNull; -import me.braydon.mc.common.ImageUtils; -import me.braydon.mc.common.renderer.SkinRenderer; -import me.braydon.mc.model.skin.ISkinPart; -import me.braydon.mc.model.skin.Skin; +import cc.restfulmc.api.common.ImageUtils; +import cc.restfulmc.api.common.renderer.SkinRenderer; +import cc.restfulmc.api.model.skin.ISkinPart; +import cc.restfulmc.api.model.skin.Skin; import java.awt.*; import java.awt.image.BufferedImage; diff --git a/API/src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java b/API/src/main/java/cc/restfulmc/api/common/renderer/impl/IsometricHeadSkinPartRenderer.java similarity index 95% rename from API/src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java rename to API/src/main/java/cc/restfulmc/api/common/renderer/impl/IsometricHeadSkinPartRenderer.java index 5705afe..cb33541 100644 --- a/API/src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java +++ b/API/src/main/java/cc/restfulmc/api/common/renderer/impl/IsometricHeadSkinPartRenderer.java @@ -21,12 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.renderer.impl; +package cc.restfulmc.api.common.renderer.impl; import lombok.NonNull; -import me.braydon.mc.common.renderer.IsometricSkinRenderer; -import me.braydon.mc.model.skin.ISkinPart; -import me.braydon.mc.model.skin.Skin; +import cc.restfulmc.api.common.renderer.IsometricSkinRenderer; +import cc.restfulmc.api.model.skin.ISkinPart; +import cc.restfulmc.api.model.skin.Skin; import java.awt.*; import java.awt.geom.AffineTransform; diff --git a/API/src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java b/API/src/main/java/cc/restfulmc/api/common/renderer/impl/VanillaSkinPartRenderer.java similarity index 93% rename from API/src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java rename to API/src/main/java/cc/restfulmc/api/common/renderer/impl/VanillaSkinPartRenderer.java index 62c5b98..f18a70d 100644 --- a/API/src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java +++ b/API/src/main/java/cc/restfulmc/api/common/renderer/impl/VanillaSkinPartRenderer.java @@ -21,12 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.renderer.impl; +package cc.restfulmc.api.common.renderer.impl; import lombok.NonNull; -import me.braydon.mc.common.renderer.SkinRenderer; -import me.braydon.mc.model.skin.ISkinPart; -import me.braydon.mc.model.skin.Skin; +import cc.restfulmc.api.common.renderer.SkinRenderer; +import cc.restfulmc.api.model.skin.ISkinPart; +import cc.restfulmc.api.model.skin.Skin; import java.awt.*; import java.awt.image.BufferedImage; diff --git a/API/src/main/java/me/braydon/mc/common/web/JsonWebException.java b/API/src/main/java/cc/restfulmc/api/common/web/JsonWebException.java similarity index 97% rename from API/src/main/java/me/braydon/mc/common/web/JsonWebException.java rename to API/src/main/java/cc/restfulmc/api/common/web/JsonWebException.java index e7f40f6..5e504bb 100644 --- a/API/src/main/java/me/braydon/mc/common/web/JsonWebException.java +++ b/API/src/main/java/cc/restfulmc/api/common/web/JsonWebException.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.web; +package cc.restfulmc.api.common.web; import lombok.Getter; import lombok.NonNull; diff --git a/API/src/main/java/me/braydon/mc/common/web/JsonWebRequest.java b/API/src/main/java/cc/restfulmc/api/common/web/JsonWebRequest.java similarity index 98% rename from API/src/main/java/me/braydon/mc/common/web/JsonWebRequest.java rename to API/src/main/java/cc/restfulmc/api/common/web/JsonWebRequest.java index df44d41..ed122e9 100644 --- a/API/src/main/java/me/braydon/mc/common/web/JsonWebRequest.java +++ b/API/src/main/java/cc/restfulmc/api/common/web/JsonWebRequest.java @@ -21,13 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.common.web; +package cc.restfulmc.api.common.web; import lombok.AccessLevel; import lombok.Getter; import lombok.NonNull; import lombok.RequiredArgsConstructor; -import me.braydon.mc.config.AppConfig; +import cc.restfulmc.api.config.AppConfig; import org.springframework.http.HttpMethod; import org.springframework.http.HttpStatus; diff --git a/API/src/main/java/me/braydon/mc/config/AppConfig.java b/API/src/main/java/cc/restfulmc/api/config/AppConfig.java similarity index 99% rename from API/src/main/java/me/braydon/mc/config/AppConfig.java rename to API/src/main/java/cc/restfulmc/api/config/AppConfig.java index df353e5..fea2a56 100644 --- a/API/src/main/java/me/braydon/mc/config/AppConfig.java +++ b/API/src/main/java/cc/restfulmc/api/config/AppConfig.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.config; +package cc.restfulmc.api.config; import com.google.gson.Gson; import com.google.gson.GsonBuilder; diff --git a/API/src/main/java/me/braydon/mc/config/RedisConfig.java b/API/src/main/java/cc/restfulmc/api/config/RedisConfig.java similarity index 98% rename from API/src/main/java/me/braydon/mc/config/RedisConfig.java rename to API/src/main/java/cc/restfulmc/api/config/RedisConfig.java index d14f68f..5d752a0 100644 --- a/API/src/main/java/me/braydon/mc/config/RedisConfig.java +++ b/API/src/main/java/cc/restfulmc/api/config/RedisConfig.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.config; +package cc.restfulmc.api.config; import lombok.NonNull; import lombok.extern.log4j.Log4j2; diff --git a/API/src/main/java/me/braydon/mc/controller/MojangController.java b/API/src/main/java/cc/restfulmc/api/controller/MojangController.java similarity index 94% rename from API/src/main/java/me/braydon/mc/controller/MojangController.java rename to API/src/main/java/cc/restfulmc/api/controller/MojangController.java index 219900b..c4c295a 100644 --- a/API/src/main/java/me/braydon/mc/controller/MojangController.java +++ b/API/src/main/java/cc/restfulmc/api/controller/MojangController.java @@ -21,14 +21,14 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.controller; +package cc.restfulmc.api.controller; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.NonNull; import lombok.extern.log4j.Log4j2; -import me.braydon.mc.common.MojangServer; -import me.braydon.mc.exception.impl.BadRequestException; -import me.braydon.mc.service.MojangService; +import cc.restfulmc.api.common.MojangServer; +import cc.restfulmc.api.exception.impl.BadRequestException; +import cc.restfulmc.api.service.MojangService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; diff --git a/API/src/main/java/me/braydon/mc/controller/PlayerController.java b/API/src/main/java/cc/restfulmc/api/controller/PlayerController.java similarity index 93% rename from API/src/main/java/me/braydon/mc/controller/PlayerController.java rename to API/src/main/java/cc/restfulmc/api/controller/PlayerController.java index 1a6561b..b332a2f 100644 --- a/API/src/main/java/me/braydon/mc/controller/PlayerController.java +++ b/API/src/main/java/cc/restfulmc/api/controller/PlayerController.java @@ -21,18 +21,18 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.controller; +package cc.restfulmc.api.controller; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.NonNull; import lombok.extern.log4j.Log4j2; -import me.braydon.mc.exception.impl.BadRequestException; -import me.braydon.mc.exception.impl.MojangRateLimitException; -import me.braydon.mc.exception.impl.ResourceNotFoundException; -import me.braydon.mc.model.Player; -import me.braydon.mc.model.cache.CachedPlayer; -import me.braydon.mc.service.MojangService; +import cc.restfulmc.api.exception.impl.BadRequestException; +import cc.restfulmc.api.exception.impl.MojangRateLimitException; +import cc.restfulmc.api.exception.impl.ResourceNotFoundException; +import cc.restfulmc.api.model.Player; +import cc.restfulmc.api.model.cache.CachedPlayer; +import cc.restfulmc.api.service.MojangService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; diff --git a/API/src/main/java/me/braydon/mc/controller/ServerController.java b/API/src/main/java/cc/restfulmc/api/controller/ServerController.java similarity index 93% rename from API/src/main/java/me/braydon/mc/controller/ServerController.java rename to API/src/main/java/cc/restfulmc/api/controller/ServerController.java index 46217a0..d0a9641 100644 --- a/API/src/main/java/me/braydon/mc/controller/ServerController.java +++ b/API/src/main/java/cc/restfulmc/api/controller/ServerController.java @@ -21,17 +21,17 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.controller; +package cc.restfulmc.api.controller; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.NonNull; import lombok.extern.log4j.Log4j2; -import me.braydon.mc.exception.impl.BadRequestException; -import me.braydon.mc.exception.impl.ResourceNotFoundException; -import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.cache.CachedMinecraftServer; -import me.braydon.mc.service.MojangService; +import cc.restfulmc.api.exception.impl.BadRequestException; +import cc.restfulmc.api.exception.impl.ResourceNotFoundException; +import cc.restfulmc.api.model.MinecraftServer; +import cc.restfulmc.api.model.cache.CachedMinecraftServer; +import cc.restfulmc.api.service.MojangService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; diff --git a/API/src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java b/API/src/main/java/cc/restfulmc/api/exception/ExceptionControllerAdvice.java similarity index 97% rename from API/src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java rename to API/src/main/java/cc/restfulmc/api/exception/ExceptionControllerAdvice.java index 691d1ce..835dcdc 100644 --- a/API/src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java +++ b/API/src/main/java/cc/restfulmc/api/exception/ExceptionControllerAdvice.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.exception; +package cc.restfulmc.api.exception; import lombok.NonNull; -import me.braydon.mc.model.response.ErrorResponse; +import cc.restfulmc.api.model.response.ErrorResponse; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; diff --git a/API/src/main/java/me/braydon/mc/exception/impl/BadRequestException.java b/API/src/main/java/cc/restfulmc/api/exception/impl/BadRequestException.java similarity index 97% rename from API/src/main/java/me/braydon/mc/exception/impl/BadRequestException.java rename to API/src/main/java/cc/restfulmc/api/exception/impl/BadRequestException.java index 371e06f..d261627 100644 --- a/API/src/main/java/me/braydon/mc/exception/impl/BadRequestException.java +++ b/API/src/main/java/cc/restfulmc/api/exception/impl/BadRequestException.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.exception.impl; +package cc.restfulmc.api.exception.impl; import lombok.experimental.StandardException; import org.springframework.http.HttpStatus; diff --git a/API/src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java b/API/src/main/java/cc/restfulmc/api/exception/impl/MojangRateLimitException.java similarity index 97% rename from API/src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java rename to API/src/main/java/cc/restfulmc/api/exception/impl/MojangRateLimitException.java index fe60421..0563111 100644 --- a/API/src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java +++ b/API/src/main/java/cc/restfulmc/api/exception/impl/MojangRateLimitException.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.exception.impl; +package cc.restfulmc.api.exception.impl; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; diff --git a/API/src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java b/API/src/main/java/cc/restfulmc/api/exception/impl/ResourceNotFoundException.java similarity index 97% rename from API/src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java rename to API/src/main/java/cc/restfulmc/api/exception/impl/ResourceNotFoundException.java index b7fd8e6..99696b6 100644 --- a/API/src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java +++ b/API/src/main/java/cc/restfulmc/api/exception/impl/ResourceNotFoundException.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.exception.impl; +package cc.restfulmc.api.exception.impl; import lombok.experimental.StandardException; import org.springframework.http.HttpStatus; diff --git a/API/src/main/java/me/braydon/mc/log/TransactionLogger.java b/API/src/main/java/cc/restfulmc/api/log/TransactionLogger.java similarity index 98% rename from API/src/main/java/me/braydon/mc/log/TransactionLogger.java rename to API/src/main/java/cc/restfulmc/api/log/TransactionLogger.java index 701350f..9fa18a0 100644 --- a/API/src/main/java/me/braydon/mc/log/TransactionLogger.java +++ b/API/src/main/java/cc/restfulmc/api/log/TransactionLogger.java @@ -21,13 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.log; +package cc.restfulmc.api.log; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; -import me.braydon.mc.common.IPUtils; +import cc.restfulmc.api.common.IPUtils; import org.springframework.core.MethodParameter; import org.springframework.http.MediaType; import org.springframework.http.converter.HttpMessageConverter; diff --git a/API/src/main/java/me/braydon/mc/model/Cape.java b/API/src/main/java/cc/restfulmc/api/model/Cape.java similarity index 98% rename from API/src/main/java/me/braydon/mc/model/Cape.java rename to API/src/main/java/cc/restfulmc/api/model/Cape.java index 422d87e..6ad5363 100644 --- a/API/src/main/java/me/braydon/mc/model/Cape.java +++ b/API/src/main/java/cc/restfulmc/api/model/Cape.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model; +package cc.restfulmc.api.model; import com.google.gson.JsonObject; import lombok.*; diff --git a/API/src/main/java/me/braydon/mc/model/MinecraftServer.java b/API/src/main/java/cc/restfulmc/api/model/MinecraftServer.java similarity index 95% rename from API/src/main/java/me/braydon/mc/model/MinecraftServer.java rename to API/src/main/java/cc/restfulmc/api/model/MinecraftServer.java index b3a1027..7489ae0 100644 --- a/API/src/main/java/me/braydon/mc/model/MinecraftServer.java +++ b/API/src/main/java/cc/restfulmc/api/model/MinecraftServer.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model; +package cc.restfulmc.api.model; import com.maxmind.geoip2.model.CityResponse; import com.maxmind.geoip2.record.City; @@ -29,12 +29,12 @@ import com.maxmind.geoip2.record.Continent; import com.maxmind.geoip2.record.Country; import com.maxmind.geoip2.record.Location; import lombok.*; -import me.braydon.mc.common.ColorUtils; -import me.braydon.mc.model.dns.DNSRecord; -import me.braydon.mc.model.token.JavaServerStatusToken; -import me.braydon.mc.service.pinger.MinecraftServerPinger; -import me.braydon.mc.service.pinger.impl.BedrockMinecraftServerPinger; -import me.braydon.mc.service.pinger.impl.JavaMinecraftServerPinger; +import cc.restfulmc.api.common.ColorUtils; +import cc.restfulmc.api.model.dns.DNSRecord; +import cc.restfulmc.api.model.token.JavaServerStatusToken; +import cc.restfulmc.api.service.pinger.MinecraftServerPinger; +import cc.restfulmc.api.service.pinger.impl.BedrockMinecraftServerPinger; +import cc.restfulmc.api.service.pinger.impl.JavaMinecraftServerPinger; import java.util.ArrayList; import java.util.Arrays; diff --git a/API/src/main/java/me/braydon/mc/model/Player.java b/API/src/main/java/cc/restfulmc/api/model/Player.java similarity index 94% rename from API/src/main/java/me/braydon/mc/model/Player.java rename to API/src/main/java/cc/restfulmc/api/model/Player.java index 7a744da..292d55c 100644 --- a/API/src/main/java/me/braydon/mc/model/Player.java +++ b/API/src/main/java/cc/restfulmc/api/model/Player.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model; +package cc.restfulmc.api.model; import lombok.*; -import me.braydon.mc.model.skin.Skin; -import me.braydon.mc.model.token.MojangProfileToken; +import cc.restfulmc.api.model.skin.Skin; +import cc.restfulmc.api.model.token.MojangProfileToken; import java.util.UUID; diff --git a/API/src/main/java/me/braydon/mc/model/ProfileAction.java b/API/src/main/java/cc/restfulmc/api/model/ProfileAction.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/ProfileAction.java rename to API/src/main/java/cc/restfulmc/api/model/ProfileAction.java index 0f64265..9cd3a6e 100644 --- a/API/src/main/java/me/braydon/mc/model/ProfileAction.java +++ b/API/src/main/java/cc/restfulmc/api/model/ProfileAction.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model; +package cc.restfulmc.api.model; /** * Profile actions that can diff --git a/API/src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java b/API/src/main/java/cc/restfulmc/api/model/cache/CachedMinecraftServer.java similarity index 95% rename from API/src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java rename to API/src/main/java/cc/restfulmc/api/model/cache/CachedMinecraftServer.java index 58b68ff..ca8a810 100644 --- a/API/src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java +++ b/API/src/main/java/cc/restfulmc/api/model/cache/CachedMinecraftServer.java @@ -21,12 +21,12 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.cache; +package cc.restfulmc.api.model.cache; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonUnwrapped; import lombok.*; -import me.braydon.mc.model.MinecraftServer; +import cc.restfulmc.api.model.MinecraftServer; import org.springframework.data.annotation.Id; import org.springframework.data.redis.core.RedisHash; diff --git a/API/src/main/java/me/braydon/mc/model/cache/CachedPlayer.java b/API/src/main/java/cc/restfulmc/api/model/cache/CachedPlayer.java similarity index 90% rename from API/src/main/java/me/braydon/mc/model/cache/CachedPlayer.java rename to API/src/main/java/cc/restfulmc/api/model/cache/CachedPlayer.java index 0f57640..fafbb92 100644 --- a/API/src/main/java/me/braydon/mc/model/cache/CachedPlayer.java +++ b/API/src/main/java/cc/restfulmc/api/model/cache/CachedPlayer.java @@ -21,18 +21,18 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.cache; +package cc.restfulmc.api.model.cache; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Getter; import lombok.NonNull; import lombok.Setter; import lombok.ToString; -import me.braydon.mc.model.Cape; -import me.braydon.mc.model.Player; -import me.braydon.mc.model.ProfileAction; -import me.braydon.mc.model.skin.Skin; -import me.braydon.mc.model.token.MojangProfileToken; +import cc.restfulmc.api.model.Cape; +import cc.restfulmc.api.model.Player; +import cc.restfulmc.api.model.ProfileAction; +import cc.restfulmc.api.model.skin.Skin; +import cc.restfulmc.api.model.token.MojangProfileToken; import org.springframework.data.annotation.Id; import org.springframework.data.redis.core.RedisHash; diff --git a/API/src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java b/API/src/main/java/cc/restfulmc/api/model/cache/CachedPlayerName.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java rename to API/src/main/java/cc/restfulmc/api/model/cache/CachedPlayerName.java index 5f2acae..c0836df 100644 --- a/API/src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java +++ b/API/src/main/java/cc/restfulmc/api/model/cache/CachedPlayerName.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.cache; +package cc.restfulmc.api.model.cache; import lombok.*; import org.springframework.data.annotation.Id; diff --git a/API/src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java b/API/src/main/java/cc/restfulmc/api/model/cache/CachedSkinPartTexture.java similarity index 98% rename from API/src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java rename to API/src/main/java/cc/restfulmc/api/model/cache/CachedSkinPartTexture.java index c90b8d7..2652332 100644 --- a/API/src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java +++ b/API/src/main/java/cc/restfulmc/api/model/cache/CachedSkinPartTexture.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.cache; +package cc.restfulmc.api.model.cache; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/API/src/main/java/me/braydon/mc/model/dns/DNSRecord.java b/API/src/main/java/cc/restfulmc/api/model/dns/DNSRecord.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/dns/DNSRecord.java rename to API/src/main/java/cc/restfulmc/api/model/dns/DNSRecord.java index c6fc98a..36276ab 100644 --- a/API/src/main/java/me/braydon/mc/model/dns/DNSRecord.java +++ b/API/src/main/java/cc/restfulmc/api/model/dns/DNSRecord.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.dns; +package cc.restfulmc.api.model.dns; import lombok.*; diff --git a/API/src/main/java/me/braydon/mc/model/dns/impl/ARecord.java b/API/src/main/java/cc/restfulmc/api/model/dns/impl/ARecord.java similarity index 95% rename from API/src/main/java/me/braydon/mc/model/dns/impl/ARecord.java rename to API/src/main/java/cc/restfulmc/api/model/dns/impl/ARecord.java index 63c67f4..e58ec17 100644 --- a/API/src/main/java/me/braydon/mc/model/dns/impl/ARecord.java +++ b/API/src/main/java/cc/restfulmc/api/model/dns/impl/ARecord.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.dns.impl; +package cc.restfulmc.api.model.dns.impl; import lombok.*; -import me.braydon.mc.model.dns.DNSRecord; +import cc.restfulmc.api.model.dns.DNSRecord; import java.net.InetAddress; diff --git a/API/src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java b/API/src/main/java/cc/restfulmc/api/model/dns/impl/SRVRecord.java similarity index 96% rename from API/src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java rename to API/src/main/java/cc/restfulmc/api/model/dns/impl/SRVRecord.java index ec6f2e7..e17573d 100644 --- a/API/src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java +++ b/API/src/main/java/cc/restfulmc/api/model/dns/impl/SRVRecord.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.dns.impl; +package cc.restfulmc.api.model.dns.impl; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.*; -import me.braydon.mc.model.dns.DNSRecord; +import cc.restfulmc.api.model.dns.DNSRecord; import java.net.InetSocketAddress; diff --git a/API/src/main/java/me/braydon/mc/model/response/ErrorResponse.java b/API/src/main/java/cc/restfulmc/api/model/response/ErrorResponse.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/response/ErrorResponse.java rename to API/src/main/java/cc/restfulmc/api/model/response/ErrorResponse.java index 59bcc89..f1c44ae 100644 --- a/API/src/main/java/me/braydon/mc/model/response/ErrorResponse.java +++ b/API/src/main/java/cc/restfulmc/api/model/response/ErrorResponse.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.response; +package cc.restfulmc.api.model.response; import lombok.Getter; import lombok.NonNull; diff --git a/API/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java b/API/src/main/java/cc/restfulmc/api/model/server/BedrockMinecraftServer.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java rename to API/src/main/java/cc/restfulmc/api/model/server/BedrockMinecraftServer.java index d5c52d9..f3f113d 100644 --- a/API/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java +++ b/API/src/main/java/cc/restfulmc/api/model/server/BedrockMinecraftServer.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.server; +package cc.restfulmc.api.model.server; import lombok.*; -import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.dns.DNSRecord; +import cc.restfulmc.api.model.MinecraftServer; +import cc.restfulmc.api.model.dns.DNSRecord; /** * A Bedrock edition {@link MinecraftServer}. diff --git a/API/src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java b/API/src/main/java/cc/restfulmc/api/model/server/JavaMinecraftServer.java similarity index 96% rename from API/src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java rename to API/src/main/java/cc/restfulmc/api/model/server/JavaMinecraftServer.java index e87ec67..008cadb 100644 --- a/API/src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java +++ b/API/src/main/java/cc/restfulmc/api/model/server/JavaMinecraftServer.java @@ -21,17 +21,17 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.server; +package cc.restfulmc.api.model.server; import com.google.gson.annotations.SerializedName; import lombok.*; -import me.braydon.mc.common.JavaMinecraftVersion; -import me.braydon.mc.config.AppConfig; -import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.dns.DNSRecord; -import me.braydon.mc.model.token.JavaServerChallengeStatusToken; -import me.braydon.mc.model.token.JavaServerStatusToken; -import me.braydon.mc.service.MojangService; +import cc.restfulmc.api.common.JavaMinecraftVersion; +import cc.restfulmc.api.config.AppConfig; +import cc.restfulmc.api.model.MinecraftServer; +import cc.restfulmc.api.model.dns.DNSRecord; +import cc.restfulmc.api.model.token.JavaServerChallengeStatusToken; +import cc.restfulmc.api.model.token.JavaServerStatusToken; +import cc.restfulmc.api.service.MojangService; import net.md_5.bungee.api.chat.TextComponent; import net.md_5.bungee.chat.ComponentSerializer; diff --git a/API/src/main/java/me/braydon/mc/model/skin/ISkinPart.java b/API/src/main/java/cc/restfulmc/api/model/skin/ISkinPart.java similarity index 96% rename from API/src/main/java/me/braydon/mc/model/skin/ISkinPart.java rename to API/src/main/java/cc/restfulmc/api/model/skin/ISkinPart.java index 050af43..6d4a117 100644 --- a/API/src/main/java/me/braydon/mc/model/skin/ISkinPart.java +++ b/API/src/main/java/cc/restfulmc/api/model/skin/ISkinPart.java @@ -21,13 +21,13 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.skin; +package cc.restfulmc.api.model.skin; import lombok.*; -import me.braydon.mc.common.renderer.SkinRenderer; -import me.braydon.mc.common.renderer.impl.BodySkinPartRenderer; -import me.braydon.mc.common.renderer.impl.IsometricHeadSkinPartRenderer; -import me.braydon.mc.common.renderer.impl.VanillaSkinPartRenderer; +import cc.restfulmc.api.common.renderer.SkinRenderer; +import cc.restfulmc.api.common.renderer.impl.BodySkinPartRenderer; +import cc.restfulmc.api.common.renderer.impl.IsometricHeadSkinPartRenderer; +import cc.restfulmc.api.common.renderer.impl.VanillaSkinPartRenderer; import java.awt.image.BufferedImage; diff --git a/API/src/main/java/me/braydon/mc/model/skin/Skin.java b/API/src/main/java/cc/restfulmc/api/model/skin/Skin.java similarity index 96% rename from API/src/main/java/me/braydon/mc/model/skin/Skin.java rename to API/src/main/java/cc/restfulmc/api/model/skin/Skin.java index 6281ce8..52efe91 100644 --- a/API/src/main/java/me/braydon/mc/model/skin/Skin.java +++ b/API/src/main/java/cc/restfulmc/api/model/skin/Skin.java @@ -21,15 +21,15 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.skin; +package cc.restfulmc.api.model.skin; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.gson.JsonObject; import lombok.*; -import me.braydon.mc.common.ImageUtils; -import me.braydon.mc.config.AppConfig; -import me.braydon.mc.model.Player; +import cc.restfulmc.api.common.ImageUtils; +import cc.restfulmc.api.config.AppConfig; +import cc.restfulmc.api.model.Player; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; diff --git a/API/src/main/java/me/braydon/mc/model/token/JavaServerChallengeStatusToken.java b/API/src/main/java/cc/restfulmc/api/model/token/JavaServerChallengeStatusToken.java similarity index 96% rename from API/src/main/java/me/braydon/mc/model/token/JavaServerChallengeStatusToken.java rename to API/src/main/java/cc/restfulmc/api/model/token/JavaServerChallengeStatusToken.java index a138ae7..ca015e2 100644 --- a/API/src/main/java/me/braydon/mc/model/token/JavaServerChallengeStatusToken.java +++ b/API/src/main/java/cc/restfulmc/api/model/token/JavaServerChallengeStatusToken.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.token; +package cc.restfulmc.api.model.token; import lombok.*; -import me.braydon.mc.model.server.JavaMinecraftServer; +import cc.restfulmc.api.model.server.JavaMinecraftServer; import java.util.HashMap; import java.util.Map; diff --git a/API/src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java b/API/src/main/java/cc/restfulmc/api/model/token/JavaServerStatusToken.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java rename to API/src/main/java/cc/restfulmc/api/model/token/JavaServerStatusToken.java index 95c050d..018e201 100644 --- a/API/src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java +++ b/API/src/main/java/cc/restfulmc/api/model/token/JavaServerStatusToken.java @@ -21,14 +21,14 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.token; +package cc.restfulmc.api.model.token; import com.google.gson.annotations.SerializedName; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NonNull; import lombok.ToString; -import me.braydon.mc.model.server.JavaMinecraftServer; +import cc.restfulmc.api.model.server.JavaMinecraftServer; import java.util.UUID; diff --git a/API/src/main/java/me/braydon/mc/model/token/MojangProfileToken.java b/API/src/main/java/cc/restfulmc/api/model/token/MojangProfileToken.java similarity index 96% rename from API/src/main/java/me/braydon/mc/model/token/MojangProfileToken.java rename to API/src/main/java/cc/restfulmc/api/model/token/MojangProfileToken.java index ed9068d..1eae0d6 100644 --- a/API/src/main/java/me/braydon/mc/model/token/MojangProfileToken.java +++ b/API/src/main/java/cc/restfulmc/api/model/token/MojangProfileToken.java @@ -21,15 +21,15 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.token; +package cc.restfulmc.api.model.token; import com.fasterxml.jackson.annotation.JsonIgnore; import com.google.gson.JsonObject; import lombok.*; -import me.braydon.mc.config.AppConfig; -import me.braydon.mc.model.Cape; -import me.braydon.mc.model.ProfileAction; -import me.braydon.mc.model.skin.Skin; +import cc.restfulmc.api.config.AppConfig; +import cc.restfulmc.api.model.Cape; +import cc.restfulmc.api.model.ProfileAction; +import cc.restfulmc.api.model.skin.Skin; import java.util.Base64; diff --git a/API/src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java b/API/src/main/java/cc/restfulmc/api/model/token/MojangUsernameToUUIDToken.java similarity index 97% rename from API/src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java rename to API/src/main/java/cc/restfulmc/api/model/token/MojangUsernameToUUIDToken.java index 9be0328..700c9fa 100644 --- a/API/src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java +++ b/API/src/main/java/cc/restfulmc/api/model/token/MojangUsernameToUUIDToken.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.model.token; +package cc.restfulmc.api.model.token; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/API/src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java b/API/src/main/java/cc/restfulmc/api/repository/MinecraftServerCacheRepository.java similarity index 93% rename from API/src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java rename to API/src/main/java/cc/restfulmc/api/repository/MinecraftServerCacheRepository.java index 596a5f6..b2a2985 100644 --- a/API/src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java +++ b/API/src/main/java/cc/restfulmc/api/repository/MinecraftServerCacheRepository.java @@ -21,9 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.repository; +package cc.restfulmc.api.repository; -import me.braydon.mc.model.cache.CachedMinecraftServer; +import cc.restfulmc.api.model.cache.CachedMinecraftServer; import org.springframework.data.repository.CrudRepository; /** diff --git a/API/src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java b/API/src/main/java/cc/restfulmc/api/repository/PlayerCacheRepository.java similarity index 94% rename from API/src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java rename to API/src/main/java/cc/restfulmc/api/repository/PlayerCacheRepository.java index 4903c2a..d700120 100644 --- a/API/src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java +++ b/API/src/main/java/cc/restfulmc/api/repository/PlayerCacheRepository.java @@ -21,9 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.repository; +package cc.restfulmc.api.repository; -import me.braydon.mc.model.cache.CachedPlayer; +import cc.restfulmc.api.model.cache.CachedPlayer; import org.springframework.data.repository.CrudRepository; /** diff --git a/API/src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java b/API/src/main/java/cc/restfulmc/api/repository/PlayerNameCacheRepository.java similarity index 94% rename from API/src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java rename to API/src/main/java/cc/restfulmc/api/repository/PlayerNameCacheRepository.java index 476b4da..0ebe836 100644 --- a/API/src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java +++ b/API/src/main/java/cc/restfulmc/api/repository/PlayerNameCacheRepository.java @@ -21,9 +21,9 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.repository; +package cc.restfulmc.api.repository; -import me.braydon.mc.model.cache.CachedPlayerName; +import cc.restfulmc.api.model.cache.CachedPlayerName; import org.springframework.data.repository.CrudRepository; /** diff --git a/API/src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java b/API/src/main/java/cc/restfulmc/api/repository/SkinPartTextureCacheRepository.java similarity index 90% rename from API/src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java rename to API/src/main/java/cc/restfulmc/api/repository/SkinPartTextureCacheRepository.java index 504b2d3..8d31464 100644 --- a/API/src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java +++ b/API/src/main/java/cc/restfulmc/api/repository/SkinPartTextureCacheRepository.java @@ -21,10 +21,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.repository; +package cc.restfulmc.api.repository; -import me.braydon.mc.model.cache.CachedSkinPartTexture; -import me.braydon.mc.model.skin.ISkinPart; +import cc.restfulmc.api.model.cache.CachedSkinPartTexture; +import cc.restfulmc.api.model.skin.ISkinPart; import org.springframework.data.repository.CrudRepository; /** diff --git a/API/src/main/java/me/braydon/mc/service/MaxMindService.java b/API/src/main/java/cc/restfulmc/api/service/MaxMindService.java similarity index 99% rename from API/src/main/java/me/braydon/mc/service/MaxMindService.java rename to API/src/main/java/cc/restfulmc/api/service/MaxMindService.java index 4367e24..2de722c 100644 --- a/API/src/main/java/me/braydon/mc/service/MaxMindService.java +++ b/API/src/main/java/cc/restfulmc/api/service/MaxMindService.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.service; +package cc.restfulmc.api.service; import com.maxmind.db.CHMCache; import com.maxmind.geoip2.DatabaseReader; diff --git a/API/src/main/java/me/braydon/mc/service/MojangService.java b/API/src/main/java/cc/restfulmc/api/service/MojangService.java similarity index 95% rename from API/src/main/java/me/braydon/mc/service/MojangService.java rename to API/src/main/java/cc/restfulmc/api/service/MojangService.java index 7d0f5b8..76e6e8d 100644 --- a/API/src/main/java/me/braydon/mc/service/MojangService.java +++ b/API/src/main/java/cc/restfulmc/api/service/MojangService.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.service; +package cc.restfulmc.api.service; import com.google.common.base.Joiner; import com.google.common.base.Splitter; @@ -34,31 +34,31 @@ import lombok.Getter; import lombok.NonNull; import lombok.SneakyThrows; import lombok.extern.log4j.Log4j2; -import me.braydon.mc.common.*; -import me.braydon.mc.common.web.JsonWebException; -import me.braydon.mc.common.web.JsonWebRequest; -import me.braydon.mc.exception.impl.BadRequestException; -import me.braydon.mc.exception.impl.MojangRateLimitException; -import me.braydon.mc.exception.impl.ResourceNotFoundException; -import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.Player; -import me.braydon.mc.model.ProfileAction; -import me.braydon.mc.model.cache.CachedMinecraftServer; -import me.braydon.mc.model.cache.CachedPlayer; -import me.braydon.mc.model.cache.CachedPlayerName; -import me.braydon.mc.model.cache.CachedSkinPartTexture; -import me.braydon.mc.model.dns.DNSRecord; -import me.braydon.mc.model.dns.impl.ARecord; -import me.braydon.mc.model.dns.impl.SRVRecord; -import me.braydon.mc.model.server.JavaMinecraftServer; -import me.braydon.mc.model.skin.ISkinPart; -import me.braydon.mc.model.skin.Skin; -import me.braydon.mc.model.token.MojangProfileToken; -import me.braydon.mc.model.token.MojangUsernameToUUIDToken; -import me.braydon.mc.repository.MinecraftServerCacheRepository; -import me.braydon.mc.repository.PlayerCacheRepository; -import me.braydon.mc.repository.PlayerNameCacheRepository; -import me.braydon.mc.repository.SkinPartTextureCacheRepository; +import cc.restfulmc.api.common.*; +import cc.restfulmc.api.common.web.JsonWebException; +import cc.restfulmc.api.common.web.JsonWebRequest; +import cc.restfulmc.api.exception.impl.BadRequestException; +import cc.restfulmc.api.exception.impl.MojangRateLimitException; +import cc.restfulmc.api.exception.impl.ResourceNotFoundException; +import cc.restfulmc.api.model.MinecraftServer; +import cc.restfulmc.api.model.Player; +import cc.restfulmc.api.model.ProfileAction; +import cc.restfulmc.api.model.cache.CachedMinecraftServer; +import cc.restfulmc.api.model.cache.CachedPlayer; +import cc.restfulmc.api.model.cache.CachedPlayerName; +import cc.restfulmc.api.model.cache.CachedSkinPartTexture; +import cc.restfulmc.api.model.dns.DNSRecord; +import cc.restfulmc.api.model.dns.impl.ARecord; +import cc.restfulmc.api.model.dns.impl.SRVRecord; +import cc.restfulmc.api.model.server.JavaMinecraftServer; +import cc.restfulmc.api.model.skin.ISkinPart; +import cc.restfulmc.api.model.skin.Skin; +import cc.restfulmc.api.model.token.MojangProfileToken; +import cc.restfulmc.api.model.token.MojangUsernameToUUIDToken; +import cc.restfulmc.api.repository.MinecraftServerCacheRepository; +import cc.restfulmc.api.repository.PlayerCacheRepository; +import cc.restfulmc.api.repository.PlayerNameCacheRepository; +import cc.restfulmc.api.repository.SkinPartTextureCacheRepository; import net.jodah.expiringmap.ExpirationPolicy; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpMethod; diff --git a/API/src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java b/API/src/main/java/cc/restfulmc/api/service/pinger/MinecraftServerPinger.java similarity index 93% rename from API/src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java rename to API/src/main/java/cc/restfulmc/api/service/pinger/MinecraftServerPinger.java index d75bb91..705d89e 100644 --- a/API/src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java +++ b/API/src/main/java/cc/restfulmc/api/service/pinger/MinecraftServerPinger.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.service.pinger; +package cc.restfulmc.api.service.pinger; import lombok.NonNull; -import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.dns.DNSRecord; +import cc.restfulmc.api.model.MinecraftServer; +import cc.restfulmc.api.model.dns.DNSRecord; /** * A {@link MinecraftServerPinger} is diff --git a/API/src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java b/API/src/main/java/cc/restfulmc/api/service/pinger/impl/BedrockMinecraftServerPinger.java similarity index 88% rename from API/src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java rename to API/src/main/java/cc/restfulmc/api/service/pinger/impl/BedrockMinecraftServerPinger.java index 60a97b7..196449c 100644 --- a/API/src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java +++ b/API/src/main/java/cc/restfulmc/api/service/pinger/impl/BedrockMinecraftServerPinger.java @@ -21,17 +21,17 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.service.pinger.impl; +package cc.restfulmc.api.service.pinger.impl; import lombok.NonNull; import lombok.extern.log4j.Log4j2; -import me.braydon.mc.common.packet.impl.bedrock.BedrockUnconnectedPingPacket; -import me.braydon.mc.common.packet.impl.bedrock.BedrockUnconnectedPongPacket; -import me.braydon.mc.exception.impl.BadRequestException; -import me.braydon.mc.exception.impl.ResourceNotFoundException; -import me.braydon.mc.model.dns.DNSRecord; -import me.braydon.mc.model.server.BedrockMinecraftServer; -import me.braydon.mc.service.pinger.MinecraftServerPinger; +import cc.restfulmc.api.common.packet.impl.bedrock.BedrockUnconnectedPingPacket; +import cc.restfulmc.api.common.packet.impl.bedrock.BedrockUnconnectedPongPacket; +import cc.restfulmc.api.exception.impl.BadRequestException; +import cc.restfulmc.api.exception.impl.ResourceNotFoundException; +import cc.restfulmc.api.model.dns.DNSRecord; +import cc.restfulmc.api.model.server.BedrockMinecraftServer; +import cc.restfulmc.api.service.pinger.MinecraftServerPinger; import java.io.IOException; import java.net.DatagramSocket; diff --git a/API/src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java b/API/src/main/java/cc/restfulmc/api/service/pinger/impl/JavaMinecraftServerPinger.java similarity index 87% rename from API/src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java rename to API/src/main/java/cc/restfulmc/api/service/pinger/impl/JavaMinecraftServerPinger.java index 99a52e4..5ca0746 100644 --- a/API/src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java +++ b/API/src/main/java/cc/restfulmc/api/service/pinger/impl/JavaMinecraftServerPinger.java @@ -21,25 +21,25 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.service.pinger.impl; +package cc.restfulmc.api.service.pinger.impl; import lombok.NonNull; import lombok.extern.log4j.Log4j2; -import me.braydon.mc.common.JavaMinecraftVersion; -import me.braydon.mc.common.packet.impl.java.tcp.JavaHandshakingInSetProtocolPacket; -import me.braydon.mc.common.packet.impl.java.tcp.JavaStatusInStartPacket; -import me.braydon.mc.common.packet.impl.java.udp.JavaQueryFullStatRequestPacket; -import me.braydon.mc.common.packet.impl.java.udp.JavaQueryFullStatResponsePacket; -import me.braydon.mc.common.packet.impl.java.udp.JavaQueryHandshakeRequestPacket; -import me.braydon.mc.common.packet.impl.java.udp.JavaQueryHandshakeResponsePacket; -import me.braydon.mc.config.AppConfig; -import me.braydon.mc.exception.impl.BadRequestException; -import me.braydon.mc.exception.impl.ResourceNotFoundException; -import me.braydon.mc.model.dns.DNSRecord; -import me.braydon.mc.model.server.JavaMinecraftServer; -import me.braydon.mc.model.token.JavaServerChallengeStatusToken; -import me.braydon.mc.model.token.JavaServerStatusToken; -import me.braydon.mc.service.pinger.MinecraftServerPinger; +import cc.restfulmc.api.common.JavaMinecraftVersion; +import cc.restfulmc.api.common.packet.impl.java.tcp.JavaHandshakingInSetProtocolPacket; +import cc.restfulmc.api.common.packet.impl.java.tcp.JavaStatusInStartPacket; +import cc.restfulmc.api.common.packet.impl.java.udp.JavaQueryFullStatRequestPacket; +import cc.restfulmc.api.common.packet.impl.java.udp.JavaQueryFullStatResponsePacket; +import cc.restfulmc.api.common.packet.impl.java.udp.JavaQueryHandshakeRequestPacket; +import cc.restfulmc.api.common.packet.impl.java.udp.JavaQueryHandshakeResponsePacket; +import cc.restfulmc.api.config.AppConfig; +import cc.restfulmc.api.exception.impl.BadRequestException; +import cc.restfulmc.api.exception.impl.ResourceNotFoundException; +import cc.restfulmc.api.model.dns.DNSRecord; +import cc.restfulmc.api.model.server.JavaMinecraftServer; +import cc.restfulmc.api.model.token.JavaServerChallengeStatusToken; +import cc.restfulmc.api.model.token.JavaServerStatusToken; +import cc.restfulmc.api.service.pinger.MinecraftServerPinger; import java.io.DataInputStream; import java.io.DataOutputStream; diff --git a/API/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java b/API/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java index 89c8828..8badf66 100644 --- a/API/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java +++ b/API/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java @@ -21,7 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.test.config; +package cc.restfulmc.api.test.config; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; diff --git a/API/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java b/API/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java index a13af89..4c6328b 100644 --- a/API/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java +++ b/API/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.test.controller; +package cc.restfulmc.api.test.controller; import lombok.NonNull; -import me.braydon.mc.controller.MojangController; -import me.braydon.mc.test.config.TestRedisConfig; +import cc.restfulmc.api.controller.MojangController; +import cc.restfulmc.api.test.config.TestRedisConfig; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; diff --git a/API/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java b/API/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java index abe755a..3e42b6a 100644 --- a/API/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java +++ b/API/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.test.controller; +package cc.restfulmc.api.test.controller; import lombok.NonNull; -import me.braydon.mc.controller.PlayerController; -import me.braydon.mc.test.config.TestRedisConfig; +import cc.restfulmc.api.controller.PlayerController; +import cc.restfulmc.api.test.config.TestRedisConfig; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; diff --git a/API/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java b/API/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java index 690e082..8c97107 100644 --- a/API/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java +++ b/API/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java @@ -21,11 +21,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -package me.braydon.mc.test.controller; +package cc.restfulmc.api.test.controller; import lombok.NonNull; -import me.braydon.mc.controller.ServerController; -import me.braydon.mc.test.config.TestRedisConfig; +import cc.restfulmc.api.controller.ServerController; +import cc.restfulmc.api.test.config.TestRedisConfig; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;