From 7ab210edb7738a0e02fc23617b8668101e8f702e Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sun, 14 Apr 2024 11:26:54 -0400 Subject: [PATCH] Move to monorepo layout --- .gitea/workflows/{deploy.yml => deploy-api.yml} | 14 ++++++-------- .gitignore => API/.gitignore | 0 Dockerfile => API/Dockerfile | 0 pom.xml => API/pom.xml | 0 .../src}/main/java/me/braydon/mc/RESTfulMC.java | 0 .../java/me/braydon/mc/common/ColorUtils.java | 0 .../main/java/me/braydon/mc/common/DNSUtils.java | 0 .../main/java/me/braydon/mc/common/EnumUtils.java | 0 .../me/braydon/mc/common/EnvironmentUtils.java | 0 .../java/me/braydon/mc/common/ExpiringSet.java | 0 .../main/java/me/braydon/mc/common/IPUtils.java | 0 .../java/me/braydon/mc/common/ImageUtils.java | 0 .../braydon/mc/common/JavaMinecraftVersion.java | 0 .../main/java/me/braydon/mc/common/MiscUtils.java | 0 .../java/me/braydon/mc/common/MojangServer.java | 0 .../main/java/me/braydon/mc/common/UUIDUtils.java | 0 .../mc/common/packet/MinecraftBedrockPacket.java | 0 .../mc/common/packet/MinecraftJavaPacket.java | 0 .../bedrock/BedrockPacketUnconnectedPing.java | 0 .../bedrock/BedrockPacketUnconnectedPong.java | 0 .../java/JavaPacketHandshakingInSetProtocol.java | 0 .../packet/impl/java/JavaPacketStatusInStart.java | 0 .../mc/common/renderer/IsometricSkinRenderer.java | 0 .../braydon/mc/common/renderer/SkinRenderer.java | 0 .../renderer/impl/BodySkinPartRenderer.java | 0 .../impl/IsometricHeadSkinPartRenderer.java | 0 .../renderer/impl/VanillaSkinPartRenderer.java | 0 .../braydon/mc/common/web/JsonWebException.java | 0 .../me/braydon/mc/common/web/JsonWebRequest.java | 0 .../main/java/me/braydon/mc/config/AppConfig.java | 0 .../java/me/braydon/mc/config/RedisConfig.java | 0 .../braydon/mc/controller/MojangController.java | 0 .../braydon/mc/controller/PlayerController.java | 0 .../braydon/mc/controller/ServerController.java | 0 .../mc/exception/ExceptionControllerAdvice.java | 0 .../mc/exception/impl/BadRequestException.java | 0 .../exception/impl/MojangRateLimitException.java | 0 .../exception/impl/ResourceNotFoundException.java | 0 .../java/me/braydon/mc/log/TransactionLogger.java | 0 .../src}/main/java/me/braydon/mc/model/Cape.java | 0 .../java/me/braydon/mc/model/MinecraftServer.java | 0 .../main/java/me/braydon/mc/model/Player.java | 0 .../java/me/braydon/mc/model/ProfileAction.java | 0 .../mc/model/cache/CachedMinecraftServer.java | 0 .../me/braydon/mc/model/cache/CachedPlayer.java | 0 .../braydon/mc/model/cache/CachedPlayerName.java | 0 .../mc/model/cache/CachedSkinPartTexture.java | 0 .../java/me/braydon/mc/model/dns/DNSRecord.java | 0 .../me/braydon/mc/model/dns/impl/ARecord.java | 0 .../me/braydon/mc/model/dns/impl/SRVRecord.java | 0 .../braydon/mc/model/response/ErrorResponse.java | 0 .../mc/model/server/BedrockMinecraftServer.java | 0 .../mc/model/server/JavaMinecraftServer.java | 0 .../java/me/braydon/mc/model/skin/ISkinPart.java | 0 .../main/java/me/braydon/mc/model/skin/Skin.java | 0 .../mc/model/token/JavaServerStatusToken.java | 0 .../mc/model/token/MojangProfileToken.java | 0 .../mc/model/token/MojangUsernameToUUIDToken.java | 0 .../MinecraftServerCacheRepository.java | 0 .../mc/repository/PlayerCacheRepository.java | 0 .../mc/repository/PlayerNameCacheRepository.java | 0 .../SkinPartTextureCacheRepository.java | 0 .../java/me/braydon/mc/service/MojangService.java | 0 .../mc/service/pinger/MinecraftServerPinger.java | 0 .../pinger/impl/BedrockMinecraftServerPinger.java | 0 .../pinger/impl/JavaMinecraftServerPinger.java | 0 {src => API/src}/main/resources/application.yml | 0 {src => API/src}/main/resources/banner.txt | 0 .../src}/main/resources/public/favicon.ico | Bin {src => API/src}/main/resources/public/index.html | 0 .../braydon/mc/test/config/TestRedisConfig.java | 0 .../mc/test/controller/MojangControllerTests.java | 0 .../mc/test/controller/PlayerControllerTests.java | 0 .../mc/test/controller/ServerControllerTests.java | 0 74 files changed, 6 insertions(+), 8 deletions(-) rename .gitea/workflows/{deploy.yml => deploy-api.yml} (83%) rename .gitignore => API/.gitignore (100%) rename Dockerfile => API/Dockerfile (100%) rename pom.xml => API/pom.xml (100%) rename {src => API/src}/main/java/me/braydon/mc/RESTfulMC.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/ColorUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/DNSUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/EnumUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/EnvironmentUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/ExpiringSet.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/IPUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/ImageUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/JavaMinecraftVersion.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/MiscUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/MojangServer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/UUIDUtils.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/packet/MinecraftBedrockPacket.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/packet/MinecraftJavaPacket.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPing.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPong.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketHandshakingInSetProtocol.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketStatusInStart.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/renderer/SkinRenderer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/web/JsonWebException.java (100%) rename {src => API/src}/main/java/me/braydon/mc/common/web/JsonWebRequest.java (100%) rename {src => API/src}/main/java/me/braydon/mc/config/AppConfig.java (100%) rename {src => API/src}/main/java/me/braydon/mc/config/RedisConfig.java (100%) rename {src => API/src}/main/java/me/braydon/mc/controller/MojangController.java (100%) rename {src => API/src}/main/java/me/braydon/mc/controller/PlayerController.java (100%) rename {src => API/src}/main/java/me/braydon/mc/controller/ServerController.java (100%) rename {src => API/src}/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java (100%) rename {src => API/src}/main/java/me/braydon/mc/exception/impl/BadRequestException.java (100%) rename {src => API/src}/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java (100%) rename {src => API/src}/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java (100%) rename {src => API/src}/main/java/me/braydon/mc/log/TransactionLogger.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/Cape.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/MinecraftServer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/Player.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/ProfileAction.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/cache/CachedPlayer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/cache/CachedPlayerName.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/dns/DNSRecord.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/dns/impl/ARecord.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/response/ErrorResponse.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/skin/ISkinPart.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/skin/Skin.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/token/MojangProfileToken.java (100%) rename {src => API/src}/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java (100%) rename {src => API/src}/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java (100%) rename {src => API/src}/main/java/me/braydon/mc/repository/PlayerCacheRepository.java (100%) rename {src => API/src}/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java (100%) rename {src => API/src}/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java (100%) rename {src => API/src}/main/java/me/braydon/mc/service/MojangService.java (100%) rename {src => API/src}/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java (100%) rename {src => API/src}/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java (100%) rename {src => API/src}/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java (100%) rename {src => API/src}/main/resources/application.yml (100%) rename {src => API/src}/main/resources/banner.txt (100%) rename {src => API/src}/main/resources/public/favicon.ico (100%) rename {src => API/src}/main/resources/public/index.html (100%) rename {src => API/src}/test/java/me/braydon/mc/test/config/TestRedisConfig.java (100%) rename {src => API/src}/test/java/me/braydon/mc/test/controller/MojangControllerTests.java (100%) rename {src => API/src}/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java (100%) rename {src => API/src}/test/java/me/braydon/mc/test/controller/ServerControllerTests.java (100%) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy-api.yml similarity index 83% rename from .gitea/workflows/deploy.yml rename to .gitea/workflows/deploy-api.yml index 3555574..a64293f 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy-api.yml @@ -1,14 +1,9 @@ -name: Deploy App +name: Deploy API on: push: branches: ["master"] - paths-ignore: - - .gitignore - - README.md - - LICENSE - - docker-compose.yml - - postman_collection.json + paths: ["API/**"] jobs: docker: @@ -19,6 +14,9 @@ jobs: java-version: ["17"] maven-version: ["3.8.5"] runs-on: ${{ matrix.arch }} + defaults: + run: + working-directory: ./API # Steps to run steps: @@ -49,4 +47,4 @@ jobs: uses: dokku/github-action@master with: git_remote_url: "ssh://dokku@10.10.3.28:22/restfulmc" - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} \ No newline at end of file + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/.gitignore b/API/.gitignore similarity index 100% rename from .gitignore rename to API/.gitignore diff --git a/Dockerfile b/API/Dockerfile similarity index 100% rename from Dockerfile rename to API/Dockerfile diff --git a/pom.xml b/API/pom.xml similarity index 100% rename from pom.xml rename to API/pom.xml diff --git a/src/main/java/me/braydon/mc/RESTfulMC.java b/API/src/main/java/me/braydon/mc/RESTfulMC.java similarity index 100% rename from src/main/java/me/braydon/mc/RESTfulMC.java rename to API/src/main/java/me/braydon/mc/RESTfulMC.java diff --git a/src/main/java/me/braydon/mc/common/ColorUtils.java b/API/src/main/java/me/braydon/mc/common/ColorUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/ColorUtils.java rename to API/src/main/java/me/braydon/mc/common/ColorUtils.java diff --git a/src/main/java/me/braydon/mc/common/DNSUtils.java b/API/src/main/java/me/braydon/mc/common/DNSUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/DNSUtils.java rename to API/src/main/java/me/braydon/mc/common/DNSUtils.java diff --git a/src/main/java/me/braydon/mc/common/EnumUtils.java b/API/src/main/java/me/braydon/mc/common/EnumUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/EnumUtils.java rename to API/src/main/java/me/braydon/mc/common/EnumUtils.java diff --git a/src/main/java/me/braydon/mc/common/EnvironmentUtils.java b/API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/EnvironmentUtils.java rename to API/src/main/java/me/braydon/mc/common/EnvironmentUtils.java diff --git a/src/main/java/me/braydon/mc/common/ExpiringSet.java b/API/src/main/java/me/braydon/mc/common/ExpiringSet.java similarity index 100% rename from src/main/java/me/braydon/mc/common/ExpiringSet.java rename to API/src/main/java/me/braydon/mc/common/ExpiringSet.java diff --git a/src/main/java/me/braydon/mc/common/IPUtils.java b/API/src/main/java/me/braydon/mc/common/IPUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/IPUtils.java rename to API/src/main/java/me/braydon/mc/common/IPUtils.java diff --git a/src/main/java/me/braydon/mc/common/ImageUtils.java b/API/src/main/java/me/braydon/mc/common/ImageUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/ImageUtils.java rename to API/src/main/java/me/braydon/mc/common/ImageUtils.java diff --git a/src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java b/API/src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java similarity index 100% rename from src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java rename to API/src/main/java/me/braydon/mc/common/JavaMinecraftVersion.java diff --git a/src/main/java/me/braydon/mc/common/MiscUtils.java b/API/src/main/java/me/braydon/mc/common/MiscUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/MiscUtils.java rename to API/src/main/java/me/braydon/mc/common/MiscUtils.java diff --git a/src/main/java/me/braydon/mc/common/MojangServer.java b/API/src/main/java/me/braydon/mc/common/MojangServer.java similarity index 100% rename from src/main/java/me/braydon/mc/common/MojangServer.java rename to API/src/main/java/me/braydon/mc/common/MojangServer.java diff --git a/src/main/java/me/braydon/mc/common/UUIDUtils.java b/API/src/main/java/me/braydon/mc/common/UUIDUtils.java similarity index 100% rename from src/main/java/me/braydon/mc/common/UUIDUtils.java rename to API/src/main/java/me/braydon/mc/common/UUIDUtils.java diff --git a/src/main/java/me/braydon/mc/common/packet/MinecraftBedrockPacket.java b/API/src/main/java/me/braydon/mc/common/packet/MinecraftBedrockPacket.java similarity index 100% rename from src/main/java/me/braydon/mc/common/packet/MinecraftBedrockPacket.java rename to API/src/main/java/me/braydon/mc/common/packet/MinecraftBedrockPacket.java diff --git a/src/main/java/me/braydon/mc/common/packet/MinecraftJavaPacket.java b/API/src/main/java/me/braydon/mc/common/packet/MinecraftJavaPacket.java similarity index 100% rename from src/main/java/me/braydon/mc/common/packet/MinecraftJavaPacket.java rename to API/src/main/java/me/braydon/mc/common/packet/MinecraftJavaPacket.java diff --git a/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPing.java b/API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPing.java similarity index 100% rename from src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPing.java rename to API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPing.java diff --git a/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPong.java b/API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPong.java similarity index 100% rename from src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPong.java rename to API/src/main/java/me/braydon/mc/common/packet/impl/bedrock/BedrockPacketUnconnectedPong.java diff --git a/src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketHandshakingInSetProtocol.java b/API/src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketHandshakingInSetProtocol.java similarity index 100% rename from src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketHandshakingInSetProtocol.java rename to API/src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketHandshakingInSetProtocol.java diff --git a/src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketStatusInStart.java b/API/src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketStatusInStart.java similarity index 100% rename from src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketStatusInStart.java rename to API/src/main/java/me/braydon/mc/common/packet/impl/java/JavaPacketStatusInStart.java diff --git a/src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java b/API/src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java similarity index 100% rename from src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java rename to API/src/main/java/me/braydon/mc/common/renderer/IsometricSkinRenderer.java diff --git a/src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java b/API/src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java similarity index 100% rename from src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java rename to API/src/main/java/me/braydon/mc/common/renderer/SkinRenderer.java diff --git a/src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java b/API/src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java similarity index 100% rename from src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java rename to API/src/main/java/me/braydon/mc/common/renderer/impl/BodySkinPartRenderer.java diff --git a/src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java b/API/src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java similarity index 100% rename from src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java rename to API/src/main/java/me/braydon/mc/common/renderer/impl/IsometricHeadSkinPartRenderer.java diff --git a/src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java b/API/src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java similarity index 100% rename from src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java rename to API/src/main/java/me/braydon/mc/common/renderer/impl/VanillaSkinPartRenderer.java diff --git a/src/main/java/me/braydon/mc/common/web/JsonWebException.java b/API/src/main/java/me/braydon/mc/common/web/JsonWebException.java similarity index 100% rename from src/main/java/me/braydon/mc/common/web/JsonWebException.java rename to API/src/main/java/me/braydon/mc/common/web/JsonWebException.java diff --git a/src/main/java/me/braydon/mc/common/web/JsonWebRequest.java b/API/src/main/java/me/braydon/mc/common/web/JsonWebRequest.java similarity index 100% rename from src/main/java/me/braydon/mc/common/web/JsonWebRequest.java rename to API/src/main/java/me/braydon/mc/common/web/JsonWebRequest.java diff --git a/src/main/java/me/braydon/mc/config/AppConfig.java b/API/src/main/java/me/braydon/mc/config/AppConfig.java similarity index 100% rename from src/main/java/me/braydon/mc/config/AppConfig.java rename to API/src/main/java/me/braydon/mc/config/AppConfig.java diff --git a/src/main/java/me/braydon/mc/config/RedisConfig.java b/API/src/main/java/me/braydon/mc/config/RedisConfig.java similarity index 100% rename from src/main/java/me/braydon/mc/config/RedisConfig.java rename to API/src/main/java/me/braydon/mc/config/RedisConfig.java diff --git a/src/main/java/me/braydon/mc/controller/MojangController.java b/API/src/main/java/me/braydon/mc/controller/MojangController.java similarity index 100% rename from src/main/java/me/braydon/mc/controller/MojangController.java rename to API/src/main/java/me/braydon/mc/controller/MojangController.java diff --git a/src/main/java/me/braydon/mc/controller/PlayerController.java b/API/src/main/java/me/braydon/mc/controller/PlayerController.java similarity index 100% rename from src/main/java/me/braydon/mc/controller/PlayerController.java rename to API/src/main/java/me/braydon/mc/controller/PlayerController.java diff --git a/src/main/java/me/braydon/mc/controller/ServerController.java b/API/src/main/java/me/braydon/mc/controller/ServerController.java similarity index 100% rename from src/main/java/me/braydon/mc/controller/ServerController.java rename to API/src/main/java/me/braydon/mc/controller/ServerController.java diff --git a/src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java b/API/src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java similarity index 100% rename from src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java rename to API/src/main/java/me/braydon/mc/exception/ExceptionControllerAdvice.java diff --git a/src/main/java/me/braydon/mc/exception/impl/BadRequestException.java b/API/src/main/java/me/braydon/mc/exception/impl/BadRequestException.java similarity index 100% rename from src/main/java/me/braydon/mc/exception/impl/BadRequestException.java rename to API/src/main/java/me/braydon/mc/exception/impl/BadRequestException.java diff --git a/src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java b/API/src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java similarity index 100% rename from src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java rename to API/src/main/java/me/braydon/mc/exception/impl/MojangRateLimitException.java diff --git a/src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java b/API/src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java similarity index 100% rename from src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java rename to API/src/main/java/me/braydon/mc/exception/impl/ResourceNotFoundException.java diff --git a/src/main/java/me/braydon/mc/log/TransactionLogger.java b/API/src/main/java/me/braydon/mc/log/TransactionLogger.java similarity index 100% rename from src/main/java/me/braydon/mc/log/TransactionLogger.java rename to API/src/main/java/me/braydon/mc/log/TransactionLogger.java diff --git a/src/main/java/me/braydon/mc/model/Cape.java b/API/src/main/java/me/braydon/mc/model/Cape.java similarity index 100% rename from src/main/java/me/braydon/mc/model/Cape.java rename to API/src/main/java/me/braydon/mc/model/Cape.java diff --git a/src/main/java/me/braydon/mc/model/MinecraftServer.java b/API/src/main/java/me/braydon/mc/model/MinecraftServer.java similarity index 100% rename from src/main/java/me/braydon/mc/model/MinecraftServer.java rename to API/src/main/java/me/braydon/mc/model/MinecraftServer.java diff --git a/src/main/java/me/braydon/mc/model/Player.java b/API/src/main/java/me/braydon/mc/model/Player.java similarity index 100% rename from src/main/java/me/braydon/mc/model/Player.java rename to API/src/main/java/me/braydon/mc/model/Player.java diff --git a/src/main/java/me/braydon/mc/model/ProfileAction.java b/API/src/main/java/me/braydon/mc/model/ProfileAction.java similarity index 100% rename from src/main/java/me/braydon/mc/model/ProfileAction.java rename to API/src/main/java/me/braydon/mc/model/ProfileAction.java diff --git a/src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java b/API/src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java similarity index 100% rename from src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java rename to API/src/main/java/me/braydon/mc/model/cache/CachedMinecraftServer.java diff --git a/src/main/java/me/braydon/mc/model/cache/CachedPlayer.java b/API/src/main/java/me/braydon/mc/model/cache/CachedPlayer.java similarity index 100% rename from src/main/java/me/braydon/mc/model/cache/CachedPlayer.java rename to API/src/main/java/me/braydon/mc/model/cache/CachedPlayer.java diff --git a/src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java b/API/src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java similarity index 100% rename from src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java rename to API/src/main/java/me/braydon/mc/model/cache/CachedPlayerName.java diff --git a/src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java b/API/src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java similarity index 100% rename from src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java rename to API/src/main/java/me/braydon/mc/model/cache/CachedSkinPartTexture.java diff --git a/src/main/java/me/braydon/mc/model/dns/DNSRecord.java b/API/src/main/java/me/braydon/mc/model/dns/DNSRecord.java similarity index 100% rename from src/main/java/me/braydon/mc/model/dns/DNSRecord.java rename to API/src/main/java/me/braydon/mc/model/dns/DNSRecord.java diff --git a/src/main/java/me/braydon/mc/model/dns/impl/ARecord.java b/API/src/main/java/me/braydon/mc/model/dns/impl/ARecord.java similarity index 100% rename from src/main/java/me/braydon/mc/model/dns/impl/ARecord.java rename to API/src/main/java/me/braydon/mc/model/dns/impl/ARecord.java diff --git a/src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java b/API/src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java similarity index 100% rename from src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java rename to API/src/main/java/me/braydon/mc/model/dns/impl/SRVRecord.java diff --git a/src/main/java/me/braydon/mc/model/response/ErrorResponse.java b/API/src/main/java/me/braydon/mc/model/response/ErrorResponse.java similarity index 100% rename from src/main/java/me/braydon/mc/model/response/ErrorResponse.java rename to API/src/main/java/me/braydon/mc/model/response/ErrorResponse.java diff --git a/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java b/API/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java similarity index 100% rename from src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java rename to API/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java diff --git a/src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java b/API/src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java similarity index 100% rename from src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java rename to API/src/main/java/me/braydon/mc/model/server/JavaMinecraftServer.java diff --git a/src/main/java/me/braydon/mc/model/skin/ISkinPart.java b/API/src/main/java/me/braydon/mc/model/skin/ISkinPart.java similarity index 100% rename from src/main/java/me/braydon/mc/model/skin/ISkinPart.java rename to API/src/main/java/me/braydon/mc/model/skin/ISkinPart.java diff --git a/src/main/java/me/braydon/mc/model/skin/Skin.java b/API/src/main/java/me/braydon/mc/model/skin/Skin.java similarity index 100% rename from src/main/java/me/braydon/mc/model/skin/Skin.java rename to API/src/main/java/me/braydon/mc/model/skin/Skin.java diff --git a/src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java b/API/src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java similarity index 100% rename from src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java rename to API/src/main/java/me/braydon/mc/model/token/JavaServerStatusToken.java diff --git a/src/main/java/me/braydon/mc/model/token/MojangProfileToken.java b/API/src/main/java/me/braydon/mc/model/token/MojangProfileToken.java similarity index 100% rename from src/main/java/me/braydon/mc/model/token/MojangProfileToken.java rename to API/src/main/java/me/braydon/mc/model/token/MojangProfileToken.java diff --git a/src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java b/API/src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java similarity index 100% rename from src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java rename to API/src/main/java/me/braydon/mc/model/token/MojangUsernameToUUIDToken.java diff --git a/src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java b/API/src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java similarity index 100% rename from src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java rename to API/src/main/java/me/braydon/mc/repository/MinecraftServerCacheRepository.java diff --git a/src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java b/API/src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java similarity index 100% rename from src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java rename to API/src/main/java/me/braydon/mc/repository/PlayerCacheRepository.java diff --git a/src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java b/API/src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java similarity index 100% rename from src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java rename to API/src/main/java/me/braydon/mc/repository/PlayerNameCacheRepository.java diff --git a/src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java b/API/src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java similarity index 100% rename from src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java rename to API/src/main/java/me/braydon/mc/repository/SkinPartTextureCacheRepository.java diff --git a/src/main/java/me/braydon/mc/service/MojangService.java b/API/src/main/java/me/braydon/mc/service/MojangService.java similarity index 100% rename from src/main/java/me/braydon/mc/service/MojangService.java rename to API/src/main/java/me/braydon/mc/service/MojangService.java diff --git a/src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java b/API/src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java similarity index 100% rename from src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java rename to API/src/main/java/me/braydon/mc/service/pinger/MinecraftServerPinger.java diff --git a/src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java b/API/src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java similarity index 100% rename from src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java rename to API/src/main/java/me/braydon/mc/service/pinger/impl/BedrockMinecraftServerPinger.java diff --git a/src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java b/API/src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java similarity index 100% rename from src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java rename to API/src/main/java/me/braydon/mc/service/pinger/impl/JavaMinecraftServerPinger.java diff --git a/src/main/resources/application.yml b/API/src/main/resources/application.yml similarity index 100% rename from src/main/resources/application.yml rename to API/src/main/resources/application.yml diff --git a/src/main/resources/banner.txt b/API/src/main/resources/banner.txt similarity index 100% rename from src/main/resources/banner.txt rename to API/src/main/resources/banner.txt diff --git a/src/main/resources/public/favicon.ico b/API/src/main/resources/public/favicon.ico similarity index 100% rename from src/main/resources/public/favicon.ico rename to API/src/main/resources/public/favicon.ico diff --git a/src/main/resources/public/index.html b/API/src/main/resources/public/index.html similarity index 100% rename from src/main/resources/public/index.html rename to API/src/main/resources/public/index.html diff --git a/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java b/API/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java similarity index 100% rename from src/test/java/me/braydon/mc/test/config/TestRedisConfig.java rename to API/src/test/java/me/braydon/mc/test/config/TestRedisConfig.java diff --git a/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java b/API/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java similarity index 100% rename from src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java rename to API/src/test/java/me/braydon/mc/test/controller/MojangControllerTests.java diff --git a/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java b/API/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java similarity index 100% rename from src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java rename to API/src/test/java/me/braydon/mc/test/controller/PlayerControllerTests.java diff --git a/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java b/API/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java similarity index 100% rename from src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java rename to API/src/test/java/me/braydon/mc/test/controller/ServerControllerTests.java